Skip to main content

RichEditToolbarGroupNames.Paragraph Property

Gets the name of the toolbar’s Paragraph group.

Namespace: DevExpress.Blazor.RichEdit

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

NuGet Package: DevExpress.Blazor.RichEdit

Declaration

public static string Paragraph { get; }

Property Value

Type Description
String

The “Paragraph” string.

Remarks

The Rich Text Editor’s toolbar consists of multiple groups. The Paragraph group includes the following items:

Paragraph Alignment Menu
The drop-down menu allows users to align paragraphs.
Numbering Menu
The drop-down menu allows users to start a bullet, numbered, or multilevel list.

Paragraph Group

Use the Paragraph property to perform the following operations:

The following code snippet removes the Numbering Menu item from the toolbar.

<DxRichEdit CustomizeToolbar="onCustomizeToolbar"
            BarMode=BarMode.Toolbar/>

@code {
    void onCustomizeToolbar(IToolbar toolbar) {
        string groupName = RichEditToolbarGroupNames.Paragraph;
        string itemName = RichEditBarItemNames.NumberingMenu;
        toolbar.Groups[groupName].Items.Remove(itemName);
    }
}
See Also