Back to Devexpress

RichEditRibbonTabNames.FloatingObjectFormat Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbontabnames-45059b0b.md

latest2.4 KB
Original Source

RichEditRibbonTabNames.FloatingObjectFormat Property

Gets the Format tab’s name.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string FloatingObjectFormat { get; }

Property Value

TypeDescription
String

The “FloatingObjectFormat” string.

|

Remarks

The Format tab is a contextual tab that appears when a user selects an image or text box. This tab includes the following groups:

ArrangeAllows users to change the position of an image or text box.Shape StylesAllows users to customize the outline and change the fill color of a floating image or text box.

Use this property to perform the following operations with the Format tab:

The following code snippet removes an item from this tab’s 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

RichEditRibbonTabNames Class

RichEditRibbonTabNames Members

DevExpress.Blazor.RichEdit Namespace