RichEditRibbonGroupNames.HomeFont Property
Gets the name of the Home tab’s Font group.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.1.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public static string HomeFont { get; }
Property Value
Type | Description |
---|---|
String | The “HomeFont” string. |
Remarks
The Font group is in the Home tab and includes the following items:
- Change Case Menu
- A drop-down menu that allows users to change the case of the selected text.
- Clear Formatting
- A button that allows users to clear the formatting of the selected text.
- Font Bold
- A checkable button that allows users to make the selected text bold.
- Font Color
- A color edit that allows users to change the font color.
- Font Italic
- A checkable button that allows users to italicize the selected text.
- Font Name
- A combo box that allows users to change the font name.
- Font Underline
- A checkable button that allows users to underline the selected text.
- Font Script Menu
- A drop-down menu that allows users to format the selected text as superscript or subscript.
- Font Size
- A combo box that allows users to change the font size.
- Font Strikeout
- A checkable button that allows users to cross out the selected text.
- Highlight Text
- A 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