Skip to main content

RichEditRibbonGroupNames.ViewDocumentViews Property

Gets the name of the View tab’s Document Views group.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string ViewDocumentViews { get; }

Property Value

Type Description
String

The “ViewDocumentViews” string.

Remarks

The Document Views group is in the View tab and includes the following items:

Switch to Print Layout
The checkable button sets the Rich Text Editor’s view mode to Print Layout and displays document pages with applied format settings.
Switch to Simple View
The checkable button sets the Rich Text Editor’s view mode to Simple View and displays the document as a website, ignoring the page layout.

Document Views Group

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