RichEditBarItemNames.ZoomLevel Property
Gets the Zoom Level item’s name.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v25.1.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public static string ZoomLevel { get; }
Property Value
Type | Description |
---|---|
String | The “ZoomLevel” string. |
Remarks
The Zoom Level item is a combo box in the ribbon’s Zoom group. This combo box allows users to change the document’s zoom level.
Use the ZoomLevel
property to perform the following operations:
The following code snippet removes the Zoom Level item from the ribbon:
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
@code {
void onCustomizeRibbon(IRibbon ribbon) {
string tabName = RichEditRibbonTabNames.View;
string groupName = RichEditRibbonGroupNames.ViewZoom;
string itemName = RichEditBarItemNames.ZoomLevel;
ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
}
}
See Also