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

Declaration

[DefaultValue(null)]
public virtual object DataSource { get; set; }

Property Value

Type Default Description
Object

null

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
.MailMerge.DataSource
RichEditControlOptions
.MailMerge.DataSource
WPF Controls RichEditControlOptions
.MailMerge.DataSource
Office File API RichEditControlOptionsBase
.MailMerge.DataSource

Remarks

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.

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.

See Also