Skip to main content

RichEditBarItemNames.ParagraphStyles Property

Gets the Paragraph Styles item’s name.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string ParagraphStyles { get; }

Property Value

Type Description
String

The “ParagraphStyles” string.

Remarks

Use this property to perform the following operations:

The Paragraph Styles item is a combo box in the Paragraph group. This combo box allows users to change the style of the selected paragraphs.

The following code snippet removes the Paragraph Styles item from the ribbon:

<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />

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