RichEditRibbonGroupNames.FormatShapeStyles Property
Gets the name of the Format tab’s Shape Styles group.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.1.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public static string FormatShapeStyles { get; }
Property Value
Type | Description |
---|---|
String | The “FormatShapeStyles” string. |
Remarks
The Shape Styles group is in the Format tab and includes the following items:
- Floating Object Fill Color
- A color edit that changes the fill color of the selected floating image or text box.
- Floating Object Outline Color
- A color edit that changes the outline color of the selected floating image or text box.
- Floating Object Outline Width
- A combo box that changes the outline width of the selected floating image or text box.
Use the FormatShapeStyles
property to perform the following operations:
- Access the Shape Styles 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.FloatingObjectFormat;
string groupName = RichEditRibbonGroupNames.FormatShapeStyles;
string itemName = RichEditBarItemNames.FloatingObjectFillColor;
ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
}
}
See Also