blazor-devexpress-dot-blazor-dot-richedit-dot-richeditbaritemnames-d8daa2a9.md
Gets the Select Table item’s name.
Namespace : DevExpress.Blazor.RichEdit
Assembly : DevExpress.Blazor.RichEdit.v25.2.dll
NuGet Package : DevExpress.Blazor.RichEdit
public static string SelectTable { get; }
| Type | Description |
|---|---|
| String |
The “SelectTable” string.
|
Use this property to perform the following operations with the Select Table item:
The Select Table item is a button in the Select Table Elements Menu. This button selects the entire table that contains the caret.
The following code snippet removes the Select Table item from the Select Table Elements Menu:
<DxRichEdit CustomizeRibbon="onCustomizeRibbon" />
@code {
void onCustomizeRibbon(IRibbon ribbon) {
IBarItem selectTableElementsMenu = ribbon.Tabs[RichEditRibbonTabNames.TableLayout]
.Groups[RichEditRibbonGroupNames.LayoutTable]
.Items[RichEditBarItemNames.SelectTableElementsMenu];
if (selectTableElementsMenu.Type == BarItemTypes.DropDown) {
IBarDropDown selectTableElementsDropDown = (IBarDropDown)selectTableElementsMenu;
selectTableElementsDropDown.Items.Remove(RichEditBarItemNames.SelectTable);
selectTableElementsDropDown.Items.Remove(RichEditBarItemNames.SelectTableCell);
selectTableElementsDropDown.Items.Remove(RichEditBarItemNames.SelectTableColumn);
selectTableElementsDropDown.Items.Remove(RichEditBarItemNames.SelectTableRow);
}
}
}
See Also