.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

IDataSourceContainerOptions.DataSource Property

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

Namespace: DevExpress.XtraRichEdit

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

Declaration

object DataSource { get; set; }

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.

See Also