blazor-devexpress-dot-blazor-dot-richedit-dot-richeditbaritemnames-45de532a.md
Gets the Font Bold item’s name.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static string FontBold { get; }
| Type | Description |
|---|---|
| String |
The “FontBold” string.
|
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 following code snippet 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