blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbontabnames.md
Gets the View tab’s name.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static string View { get; }
| Type | Description |
|---|---|
| String |
The “View” string.
|
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:
<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