Skip to main content
All docs
V25.1
  • RichEditRibbonGroupNames.FormatShapeStyles Property

    Gets the name of the Format tab’s Shape Styles group.

    Namespace: DevExpress.Blazor.RichEdit

    Assembly: DevExpress.Blazor.RichEdit.v25.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.

    Shape Styles Group

    Use the FormatShapeStyles property to perform the following operations:

    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