Back to Devexpress

RichEditControl.CustomizeMergeFields Event

wpf-devexpress-dot-xpf-dot-richedit-dot-richeditcontrol-97e70b07.md

latest1.7 KB
Original Source

RichEditControl.CustomizeMergeFields Event

Fires when the ‘Insert Merge Field’ command button is clicked, and enables you to customize a drop-down field list.

Namespace : DevExpress.Xpf.RichEdit

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

NuGet Package : DevExpress.Wpf.RichEdit

Declaration

csharp
public event CustomizeMergeFieldsEventHandler CustomizeMergeFields
vb
Public Event CustomizeMergeFields As CustomizeMergeFieldsEventHandler

Event Data

The CustomizeMergeFields event's data class is CustomizeMergeFieldsEventArgs. The following properties provide information specific to this event:

PropertyDescription
MergeFieldsNamesGets or sets a list of fields shown by the InsertMergeField command with their display names.

Remarks

Use the CustomizeMergeFieldsEventArgs.MergeFieldsNames property, to specify fields and field names to show in the drop-down list.

See the Simple Data Merge Demo for an example of use.

See Also

RichEditControl Class

RichEditControl Members

DevExpress.Xpf.RichEdit Namespace