RichEditRibbonGroupNames.HomeParagraph Property
Gets the name of the Home tab’s Paragraph group.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.1.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public static string HomeParagraph { get; }
Property Value
Type | Description |
---|---|
String | The “HomeParagraph” string. |
Remarks
The Paragraph group is in the Home tab and includes the following items:
- Indent Menu
- A drop-down menu that allows users to increase and decrease the indent of the selected paragraphs.
- Line Spacing Menu
- A drop-down menu that allows users to change spacing between the selected lines.
- Numbering Menu
- A drop-down menu that allows users to start a bullet, numbered, or multilevel list.
- Paragraph Alignment Menu
- A drop-down menu that allows users to align paragraphs.
- Paragraph Shading
- A color edit that allows users to change the background behind the selected text.
- Paragraph Styles
- A combo box that allows users to change the style of the selected paragraphs.
- Show Hidden Symbols
- A checkable button that allows users to show or hide formatting symbols.
Use the HomeParagraph
property to perform the following operations:
- Access the Paragraph group’s properties.
- Add/remove the group to/from the toolbar or the ribbon’s tab.
The following code snippet removes an item from this group.
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
@code {
void onCustomizeRibbon(IRibbon ribbon) {
string tabName = RichEditRibbonTabNames.Home;
string groupName = RichEditRibbonGroupNames.HomeParagraph;
string itemName = RichEditBarItemNames.ShowHiddenSymbols;
ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
}
}
See Also