blazor-devexpress-dot-blazor-dot-richedit-dot-richedittoolbargroupnames-a6d6ea02.md
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
public static string Paragraph { get; }
| Type | Description |
|---|---|
| String |
The “Paragraph” string.
|
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.
<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