Back to Devexpress

MergeFieldName Class

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-09f4dcb5.md

latest1.9 KB
Original Source

MergeFieldName Class

Maps a data source field name and its display name for use in a bar or Ribbon editor UI.

Namespace : DevExpress.XtraRichEdit.API.Native

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
[ComVisible(true)]
public class MergeFieldName :
    IComparable<MergeFieldName>
vb
<ComVisible(True)>
Public Class MergeFieldName
    Implements IComparable(Of MergeFieldName)

Remarks

The MergeFieldName objects are items of the collection accessible within the RichEditControl.CustomizeMergeFields event handler via the CustomizeMergeFieldsEventArgs.MergeFieldsNames property.

The InsertMergeFieldCommand uses the MergeFieldName objects to construct a drop-down list of fields. Review the Simple Data Merge demo of the Rich Editor to learn more.

Implements

IComparable<MergeFieldName>

Inheritance

Object MergeFieldName

See Also

MergeFieldName Members

MergeFieldsNames

DevExpress.XtraRichEdit.API.Native Namespace