Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IDataSourceContainerOptions.DataSource Property

Gets or sets the data source object used to connect to data.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v19.1.Core.dll


object DataSource { get; set; }

Property Value

Type Description

An object that is the data source from which data is retrieved.


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.


Mail merge data source can also be set with the IDataDispatcherOptions.DataSourceName property if data sources have been added to the SnapControl.DataSources collection.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DataSource property.


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.

See Also