blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbongroupnames-0a867658.md
Gets the name of the Home tab’s Font group.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static string HomeFont { get; }
| Type | Description |
|---|---|
| String |
The “HomeFont” string.
|
The Font group is in the Home tab and includes the following items:
Change Case MenuA drop-down menu that allows users to change the case of the selected text.Clear FormattingA button that allows users to clear the formatting of the selected text.Font BoldA checkable button that allows users to make the selected text bold.Font ColorA color edit that allows users to change the font color.Font ItalicA checkable button that allows users to italicize the selected text.Font NameA combo box that allows users to change the font name.Font UnderlineA checkable button that allows users to underline the selected text.Font Script MenuA drop-down menu that allows users to format the selected text as superscript or subscript.Font SizeA combo box that allows users to change the font size.Font StrikeoutA checkable button that allows users to cross out the selected text.Highlight TextA color edit that allows users to highlight the selected text.
Use the HomeFont property to perform the following operations:
The following code snippet removes an item from this group.
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
@code {
void onCustomizeRibbon(IRibbon ribbon) {
string tabName = RichEditRibbonTabNames.Home;
string groupName = RichEditRibbonGroupNames.HomeFont;
string itemName = RichEditBarItemNames.FontScriptMenu;
ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
}
}
See Also
RichEditRibbonGroupNames Class