Skip to main content
All docs
V25.1
  • RichEditBarItemNames.FloatingObjectFillColor Property

    Gets the Floating Object Fill Color item’s name.

    Namespace: DevExpress.Blazor.RichEdit

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

    NuGet Package: DevExpress.Blazor.RichEdit

    Declaration

    public static string FloatingObjectFillColor { get; }

    Property Value

    Type Description
    String

    The “FloatingObjectFillColor” string.

    Remarks

    Use this property to perform the following operations:

    The Floating Object Fill Color item is a color edit in the Shape Styles group. This color edit changes the fill color of the selected floating image or text box.

    The following code snippet removes the Floating Object Fill Color item from the ribbon:

    <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