Back to Devexpress

RichEditRibbonTabNames.View Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbontabnames.md

latest2.5 KB
Original Source

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

csharp
public static string View { get; }

Property Value

TypeDescription
String

The “View” string.

|

Remarks

The View tab includes the following groups:

Document ViewsAllows users to switch between Simple and Print Layout view modes.Full ScreenAllows users to display the Rich Text Editor in full screen mode.ShowAllows users to show and hide the horizontal ruler.ZoomAllows users to change the document’s zoom level.

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

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

RichEditRibbonTabNames Class

RichEditRibbonTabNames Members

DevExpress.Blazor.RichEdit Namespace