Skip to main content

RichEditMailMergeOptions.DataMember Property

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

Namespace: DevExpress.XtraRichEdit

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

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

Property Value

Type Default Description
String String.Empty

The data member name.

Property Paths

You can access this nested property as listed below:

Object Type Path to DataMember
RichEditControlOptionsBase
.MailMerge .DataMember

Remarks

Specify the DataMember property if a dataset used in a mail merge data source (set as the RichEditMailMergeOptions.DataSource property value) contains multiple data tables.

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

The following code snippets (auto-collected from DevExpress Examples) contain references 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