Skip to main content
.NET Framework 4.5.2+

RichEditMailMergeOptions.DataSource Property

Specifies the data source of a mail-merge document.

Namespace: DevExpress.XtraRichEdit

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


public virtual object DataSource { get; set; }

Property Value

Type Default Description


A Object value, specifying the document data source.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to DataSource
WinForms Controls SnapControlOptions
WPF Controls RichEditControlOptions
Office File API RichEditControlOptionsBase


A mail-merge data source can be any object implementing the IList interface.

When connecting to a data source that contains multiple data tables, specify the required data member by using the RichEditMailMergeOptions.DataMember property.

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