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

    Gets the Table Cell Shading item’s name.

    Namespace: DevExpress.Blazor.RichEdit

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

    NuGet Package: DevExpress.Blazor.RichEdit

    Declaration

    public static string TableCellShading { get; }

    Property Value

    Type Description
    String

    The “TableCellShading” string.

    Remarks

    Use this property to perform the following operations:

    The Table Cell Shading item is a color edit in the Borders and Shadings group. This color edit changes the background color of the selected table cells.

    The following code snippet removes the Table Cell Shading item from the ribbon:

    <DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
    
    @code {
        void onCustomizeRibbon(IRibbon ribbon) {
            string tabName = RichEditRibbonTabNames.TableDesign;
            string groupName = RichEditRibbonGroupNames.DesignBordersAndShadings;
            string itemName = RichEditBarItemNames.TableCellShading;
            ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
        }
    }
    
    See Also