Skip to main content

RichEditRibbonTabNames.View Property

Gets the View tab’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string View { get; }

Property Value

Type Description
String

The “View” string.

Remarks

The View tab includes the following groups:

Document Views
Allows users to switch between Simple and Print Layout view modes.
Full Screen
Allows users to display the Rich Text Editor in full screen mode.
Show
Allows users to show and hide the horizontal ruler.

View Tab

Use this property to perform the following operations with the View tab:

The following code snippet removes an item from this tab’s 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