Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RichEditRibbonGroupNames.HomeFont Property

Gets the name of the Home tab’s Font group.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

#Declaration

C#
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.

Home Font Group

Use the HomeFont property to perform the following operations:

The following code snippet removes an item from this group.

Razor
<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