blazor-devexpress-dot-blazor-dot-richedit-dot-richeditbaritemnames-7f284ad4.md
Gets the Table Cell Shading item’s name.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static string TableCellShading { get; }
| Type | Description |
|---|---|
| String |
The “TableCellShading” string.
|
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