Back to Devexpress

RichEditBarItemNames.ViewMergedData Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditbaritemnames-f9cd0503.md

latest2.4 KB
Original Source

RichEditBarItemNames.ViewMergedData Property

Gets the View Merged Data item’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string ViewMergedData { get; }

Property Value

TypeDescription
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:

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

RichEditBarItemNames Class

RichEditBarItemNames Members

DevExpress.Blazor.RichEdit Namespace