Skip to main content

RichEditRibbonTabNames.MailMerge Property

Gets the Mail Merge tab’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string MailMerge { get; }

Property Value

Type Description
String

The “Mail Merge” string.

Remarks

The Mail Merge tab includes the following groups:

Current Record
Allows users to navigate through data records.
Finish
Allows users to merge records of the bound data to the document.
Insert Fields
Allows users to insert fields in an open document.
View
Allows users to switch between field view modes.

MailMerge Tab

Use this property to perform the following operations with the Mail Merge tab:

The example below demonstrates how to remove an item from this tab’s group:

<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

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