RichEditBarItemNames.ShowHorizontalRuler Property
In This Article
Gets the Show Horizontal Ruler item’s name.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.2.dll
NuGet Package: DevExpress.Blazor.RichEdit
#Declaration
C#
public static string ShowHorizontalRuler { get; }
#Property Value
Type | Description |
---|---|
String | The “Show |
#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:
Razor
<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