Skip to main content
A newer version of this page is available. .

DXRichEditMailMergeOptions.DataSource Property

Gets or sets the data source of a mail-merge document. This is a dependency property.

Namespace: DevExpress.Xpf.RichEdit

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

Declaration

public object DataSource { get; set; }

Property Value

Type Description
Object

A Object value, specifying the document data source.

Property Paths

You can access this nested property as listed below:

Object Type Path to DataSource
RichEditControl
.MailMergeOptions.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 DXRichEditMailMergeOptions.DataMember property.

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.

See Also