blazor-devexpress-dot-blazor-dot-htmleditortoolbargroupnames-36a77d2c.md
Gets the name of the Paragraph group.
Namespace : DevExpress.Blazor
Assembly : DevExpress.Blazor.v25.2.dll
NuGet Package : DevExpress.Blazor
public static string Paragraph { get; }
| Type | Description |
|---|---|
| String |
The “Paragraph” string.
|
The Paragraph group in the HtmlEditor‘s toolbar includes the following items:
Paragraph Alignment LeftThe checkable button allows users to align selected paragraphs with the left margin.Paragraph Alignment CenterThe checkable button allows users to center selected paragraphs on the page.Paragraph Alignment RightThe checkable button allows users to align selected paragraphs with the right margin.Paragraph Alignment JustifyThe checkable button allows users to align selected paragraphs with left and right margins.Bullet ListThe checkable button allows users to start a bullet list.Numbered ListThe checkable button allows users to start a numbered list.Increase IndentThe button allows users to increase the indent of selected paragraphs.Decrease IndentThe button allows users to decrease the indent of selected paragraphs.Paragraph StylesThe combo box allows users to change the style of selected paragraphs.
Use the Paragraph property to perform the following operations:
The following code snippet removes all items from the toolbar’s Paragraph group:
<DxHtmlEditor Width="100%"
Height="200px"
CustomizeToolbar="@OnCustomizeToolbar"/>
@code {
void OnCustomizeToolbar(IToolbar toolbar) {
IBarGroup paragraphGroup = toolbar.Groups[HtmlEditorToolbarGroupNames.Paragraph];
paragraphGroup.Items.Clear();
}
}
See Also
HtmlEditorToolbarGroupNames Class