Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditRibbonGroupNames.ViewDocumentViews Property

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

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

#Declaration

C#
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.

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