Back to Devexpress

RichEditRibbonGroupNames.DesignBordersAndShadings Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richeditribbongroupnames-d1ffe866.md

latest3.3 KB
Original Source

RichEditRibbonGroupNames.DesignBordersAndShadings Property

Gets the name of the Design tab’s Borders and Shadings group.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string DesignBordersAndShadings { get; }

Property Value

TypeDescription
String

The “DesignBordersAndShadings” string.

|

Remarks

The Borders and Shadings group is in the Design tab and includes the following items:

Table Border ColorA color edit that allows users to change the color of cell borders.Table Borders MenuA drop-down menu that allows users to customize borders of table cells.Table Border StyleA combo box that allows users to change the style of cell borders.Table Border WidthA combo box that allows users to change the width of cell borders.Table Cell ShadingA color edit that allows users to change the background color of table cells.

Use the DesignBordersAndShadings 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.TableDesign;
        string groupName = RichEditRibbonGroupNames.DesignBordersAndShadings;
        string itemName = RichEditBarItemNames.TableCellShading;
        ribbon.Tabs[tabName].Groups[groupName].Items.Remove(itemName);
    }
}

See Also

RichEditRibbonGroupNames Class

RichEditRibbonGroupNames Members

DevExpress.Blazor.RichEdit Namespace