Back to Devexpress

RichEditRibbonGroupNames.FormatShapeStyles Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbongroupnames-6d3fc9d1.md

latest3.0 KB
Original Source

RichEditRibbonGroupNames.FormatShapeStyles Property

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

Namespace : DevExpress.Blazor.RichEdit

Assembly : DevExpress.Blazor.RichEdit.v25.2.dll

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string FormatShapeStyles { get; }

Property Value

TypeDescription
String

The “FormatShapeStyles” string.

|

Remarks

The Shape Styles group is in the Format tab and includes the following items:

Floating Object Fill ColorA color edit that changes the fill color of the selected floating image or text box.Floating Object Outline ColorA color edit that changes the outline color of the selected floating image or text box.Floating Object Outline WidthA combo box that changes the outline width of the selected floating image or text box.

Use the FormatShapeStyles property to perform the following operations:

The following code snippet removes an item from this group.

razor
<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

RichEditRibbonGroupNames Class

RichEditRibbonGroupNames Members

DevExpress.Blazor.RichEdit Namespace