IDataSourceContainerOptions.DataSource Property
Gets or sets the data source object used to connect to data.
Namespace: DevExpress.XtraRichEdit
Assembly: DevExpress.RichEdit.v21.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
Declaration
Property Value
Type | Description |
---|---|
Object | An object that is the data source from which data is retrieved. |
Remarks
To specify a data source for Snap Mail Merge, you can use the DataSource property (accessible with the SnapControl.Options.SnapMailMergeVisualOptions.DataSource notation) along with the IDataSourceContainerOptions.DataMember property if the data source has multiple data tables.
Tip
Mail merge data source can also be set with the IDataDispatcherOptions.DataSourceName property if data sources have been added to the SnapControl.DataSources collection.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DataSource property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.