Skip to main content

RichEditBarItemNames.ShowHorizontalRuler Property

Gets the Show Horizontal Ruler item’s name.

Namespace: DevExpress.Blazor.RichEdit

Assembly: DevExpress.Blazor.RichEdit.v24.1.dll

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string ShowHorizontalRuler { get; }

Property Value

Type Description
String

The “ShowHorizontalRuler” string.

Remarks

Use this property to perform the following operations:

The Show Horizontal Ruler item is a checkable button in the Show group. This button toggles the visibility of the horizontal ruler.

The following code snippet removes the Show Horizontal Ruler item from the ribbon:

<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

@code {
    void onCustomizeRibbon(IRibbon ribbon) {
        string tabName = RichEditRibbonTabNames.View;
        string groupName = RichEditRibbonGroupNames.ViewShow;
        string itemName = RichEditBarItemNames.ShowHorizontalRuler;
        ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
    }
}
See Also