Skip to main content
All docs
V25.2
  • RichEditRibbonTabNames.View Property

    Gets the View tab’s name.

    Namespace: DevExpress.Blazor.RichEdit

    Assembly: DevExpress.Blazor.RichEdit.v25.2.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.
    Zoom
    Allows users to change the document’s zoom level.

    blazor-rich-ribbon-tabs-view

    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