Skip to main content

RichEditRibbonGroupNames.MailMergeView Property

Gets the name of the Mail Merge tab’s View group.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string MailMergeView { get; }

Property Value

Type Description
String

The “MailMergeView” string.

Remarks

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

Show All Field Codes
The [button] displays every field as the field code.
Show All Field Results
The [button] displays every field as the field result.
Update All Fields
The button updates every field in an open document.
View Merged Data
The checkable button allows users to show or hide the merged data.

View Group

Use the MailMergeView 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.MailMergeView;
        string itemName = RichEditBarItemNames.ViewMergedData;
        ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
    }
}
See Also