Back to Devexpress

Workbook.CustomAssemblyLoading Event

officefileapi-devexpress-dot-spreadsheet-dot-workbook-3bf8c231.md

latest2.6 KB
Original Source

Workbook.CustomAssemblyLoading Event

Occurs before a custom assembly is loaded for use as the Entity Framework data source during mail merge. Allows you to cancel loading.

You need a license for the DevExpress Office File API Subscription or DevExpress Universal Subscription to use this event in production code.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Docs.v25.2.dll

NuGet Package : DevExpress.Document.Processor

Declaration

csharp
public event SpreadsheetCustomAssemblyLoadingEventHandler CustomAssemblyLoading
vb
Public Event CustomAssemblyLoading As SpreadsheetCustomAssemblyLoadingEventHandler

Event Data

The CustomAssemblyLoading event's data class is SpreadsheetCustomAssemblyLoadingEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelGets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
ContextNameGets the name of the Entity Framework context.
HandledGets or sets whether the e.Cancel setting in the event handler makes the final decision on loading the assembly.
PathGets the path to the external assembly containing the Entity Framework model.

Implements

CustomAssemblyLoading

See Also

Workbook Class

Workbook Members

DevExpress.Spreadsheet Namespace