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

RichEditMailMergeOptions.DataMember Property

Specifies the member of a mail-merge document‘s data source.

Namespace: DevExpress.XtraRichEdit

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

Declaration

[DefaultValue("")]
public virtual string DataMember { get; set; }

Property Value

Type Default Description
String String.Empty

A String value, specifying the data member name.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to DataMember
WinForms Controls SnapControlOptions
.MailMerge.DataMember
RichEditControlOptions
.MailMerge.DataMember
WPF Controls RichEditControlOptions
.MailMerge.DataMember
Office File API RichEditControlOptionsBase
.MailMerge.DataMember

Remarks

Specify the DataMember property after assigning a dataset that contains multiple data tables to the RichEditMailMergeOptions.DataSource property.

The DataMember is irrelevant when the document data source is a data table, data view or custom object.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DataMember 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