blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbongroupnames-1dd5fd6a.md
Gets the name of the View tab’s Document Views group.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static string ViewDocumentViews { get; }
| Type | Description |
|---|---|
| String |
The “ViewDocumentViews” string.
|
The Document Views group is in the View tab and includes the following items:
Switch to Print LayoutThe checkable button sets the Rich Text Editor’s view mode to Print Layout and displays document pages with applied format settings.Switch to Simple ViewThe checkable button sets the Rich Text Editor’s view mode to Simple View and displays the document as a website, ignoring the page layout.
Use the ViewDocumentViews property to perform the following operations:
The following code snippet removes an item from this 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
RichEditRibbonGroupNames Class