Back to Devexpress

RichEditRibbonGroupNames.ViewZoom Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbongroupnames-87ffae05.md

latest2.2 KB
Original Source

RichEditRibbonGroupNames.ViewZoom Property

Gets the name of the View tab’s Zoom group.

Namespace : DevExpress.Blazor.RichEdit

Assembly : DevExpress.Blazor.RichEdit.v25.2.dll

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string ViewZoom { get; }

Property Value

TypeDescription
String

The “ViewZoom” string.

|

Remarks

The Zoom group is in the View tab. This group includes the Zoom Level item that allows users to change the document’s zoom level.

Use the ViewZoom property to perform the following operations:

The following code snippet removes this group from the View tab:

razor
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

@code {
    void onCustomizeRibbon(IRibbon ribbon) {
        string tabName = RichEditRibbonTabNames.View;
        string groupName = RichEditRibbonGroupNames.ViewZoom;
        ribbon.Tabs[tabName].Groups.Remove(groupName);
    }
}

See Also

RichEditRibbonGroupNames Class

RichEditRibbonGroupNames Members

DevExpress.Blazor.RichEdit Namespace