DashboardViewer.CustomAssemblyLoading Event

Occurs before a custom assembly is loaded for use as DashboardEFDataSource.

Namespace: DevExpress.DashboardWin

Assembly: DevExpress.Dashboard.v18.1.Win.dll


public event DashboardCustomAssemblyLoadingEventHandler CustomAssemblyLoading
Public Event CustomAssemblyLoading As DashboardCustomAssemblyLoadingEventHandler

The event handler receives an argument of the DashboardCustomAssemblyLoadingEventHandler type.

If data for the DashboardEFDataSource is provided using the external assembly containing the Entity Framework model (the EFDataSource.CustomAssemblyPath), the DashboardViewer throws CustomAssemblyLoadingProhibitedException. You can use the CustomAssemblyLoading event to allow loading a custom assembly. To do this, set the DashboardCustomAssemblyLoadingEventArgs.AllowLoading event parameter to true.

See Also