Back to Devexpress

RichEditToolbarGroupNames.Paragraph Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richedittoolbargroupnames-a6d6ea02.md

latest2.5 KB
Original Source

RichEditToolbarGroupNames.Paragraph Property

Gets the name of the toolbar’s Paragraph group.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string Paragraph { get; }

Property Value

TypeDescription
String

The “Paragraph” string.

|

Remarks

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

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

Use the Paragraph property to perform the following operations:

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

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

RichEditToolbarGroupNames Class

RichEditToolbarGroupNames Members

DevExpress.Blazor.RichEdit Namespace