blazor-devexpress-dot-blazor-dot-richedit-dot-richeditbaritemnames-aecbb18e.md
Gets the Table Cell No Border item’s name.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static string TableCellNoBorder { get; }
| Type | Description |
|---|---|
| String |
The “TableCellNoBorder” string.
|
Use this property to perform the following operations with the Table Cell No Border item:
The Table Cell No Border item is a button in the Table Borders Menu. This button hides all the borders of the selected cells.
The following code snippet removes the Table Cell No Border item from the Table Borders Menu:
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
@code {
void onCustomizeRibbon(IRibbon ribbon) {
IBarItem tableBordersMenu = ribbon.Tabs[RichEditRibbonTabNames.TableDesign].Groups[RichEditRibbonGroupNames.DesignBordersAndShadings].Items[RichEditBarItemNames.TableBordersMenu];
if (tableBordersMenu.Type == BarItemTypes.DropDown) {
IBarDropDown tableBordersDropDown = (IBarDropDown)tableBordersMenu;
tableBordersDropDown.Items.Remove(RichEditBarItemNames.ShowTableGridlines);
tableBordersDropDown.Items.Remove(RichEditBarItemNames.TableCellAllBorders);
tableBordersDropDown.Items.Remove(RichEditBarItemNames.TableCellBottomBorder);
tableBordersDropDown.Items.Remove(RichEditBarItemNames.TableCellInsideBorders);
tableBordersDropDown.Items.Remove(RichEditBarItemNames.TableCellInsideHorizontalBorders);
tableBordersDropDown.Items.Remove(RichEditBarItemNames.TableCellInsideVerticalBorders);
tableBordersDropDown.Items.Remove(RichEditBarItemNames.TableCellLeftBorder);
tableBordersDropDown.Items.Remove(RichEditBarItemNames.TableCellNoBorder);
tableBordersDropDown.Items.Remove(RichEditBarItemNames.TableCellOutsideBorders);
tableBordersDropDown.Items.Remove(RichEditBarItemNames.TableCellRightBorder);
tableBordersDropDown.Items.Remove(RichEditBarItemNames.TableCellTopBorder);
}
}
}
See Also