Back to Devexpress

ISpreadsheetComponent.CustomAssemblyLoading Event

officefileapi-devexpress-dot-spreadsheet-dot-ispreadsheetcomponent-c67125b3.md

latest2.3 KB
Original Source

ISpreadsheetComponent.CustomAssemblyLoading Event

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

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
event SpreadsheetCustomAssemblyLoadingEventHandler CustomAssemblyLoading
vb
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.

See Also

ISpreadsheetComponent Interface

ISpreadsheetComponent Members

DevExpress.Spreadsheet Namespace