Skip to main content

RichEditBarItemNames.FontBold Property

Gets the Font Bold item’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string FontBold { get; }

Property Value

Type Description
String

The “FontBold” string.

Remarks

The Font Bold item is a checkable button in the ribbon’s Font group and the toolbar’s Font group. This button allows users to make the selected text bold.

Use the FontBold property to perform the following operations:

The code below removes the Font Bold item from the ribbon.

<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

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