SnapControl.BeforeDataSourceExport Event

Occurs before exporting a data source.

Namespace: DevExpress.Snap

Assembly: DevExpress.Snap.v21.2.dll


public event BeforeDataSourceExportEventHandler BeforeDataSourceExport

Event Data

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

Property Description
Data Returns the data stored in the connected data source.
DataSource Provides access to the connected data source.
DataSourceName Returns the data source name.


Handle the BeforeDataSourceExport event to provide a custom mechanism for saving a data source along with the document, by assigning a Byte array to the BeforeDataSourceExportEventArgs.Data property.

See Also