SnapControl.BeforeDataSourceExport Event
Occurs before exporting a data source.
Namespace: DevExpress.Snap
Assembly: DevExpress.Snap.v21.2.dll
NuGet Package: DevExpress.Win.Snap
Declaration
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. |
Remarks
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