Skip to main content

RichEditRibbonGroupNames.MailMergeInsertFields Property

Gets the name of the Mail Merge tab’s Insert Fields group.

Namespace: DevExpress.Blazor.RichEdit

Assembly: DevExpress.Blazor.RichEdit.v24.2.dll

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string MailMergeInsertFields { get; }

Property Value

Type Description
String

The “MailMergeInsertFields” string.

Remarks

The Insert Fields group is in the Mail Merge tab and includes the following items:

Insert Field Menu
The drop-down allows users to insert fields at the caret position.
Show Insert Merge Field Dialog
The button invokes the Insert Merge Field dialog and allows users to insert MERGEFIELD fields.

Insert Fields Group

Use the MailMergeInsertFields property to perform the following operations:

The following code snippet removes an item from this group.

<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

@code {
    void onCustomizeRibbon(IRibbon ribbon) {
        string tabName = RichEditRibbonTabNames.MailMerge;
        string groupName = RichEditRibbonGroupNames.MailMergeInsertField;
        string itemName = RichEditBarItemNames.ShowInsertMergeFieldDialog;
        ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
    }
}
See Also