Skip to main content

RichEditBarItemNames.ViewMergedData Property

Gets the View Merged Data item’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string ViewMergedData { get; }

Property Value

Type Description
String

The “ViewMergedData” string.’

Remarks

Use this property to perform the following operations:

The View Merged Data item is a checkable button in the View group. This button allows users to show or hide the merged data.

The View Merged Data button is disabled if you do not specify a data source. Use the checkable button‘s GetEnabled property to change this behavior.

The following code snippet removes the View Merged Data item from the ribbon:

<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