Back to Devexpress

RichEditRibbonTabNames.MailMerge Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbontabnames-db577337.md

latest2.6 KB
Original Source

RichEditRibbonTabNames.MailMerge Property

Gets the Mail Merge tab’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string MailMerge { get; }

Property Value

TypeDescription
String

The “Mail Merge” string.

|

Remarks

The Mail Merge tab includes the following groups:

Current RecordAllows users to navigate through data records.FinishAllows users to merge records of the bound data to the document.Insert FieldsAllows users to insert fields in an open document.ViewAllows users to switch between field view modes.

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

The following code snippet removes an item from this tab’s group:

razor
<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

RichEditRibbonTabNames Class

RichEditRibbonTabNames Members

DevExpress.Blazor.RichEdit Namespace