RichEditToolbarGroupNames.Table Property
Gets the name of the toolbar’s Table group.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.1.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public static string Table { get; }
Property Value
Type | Description |
---|---|
String | The “Table” string. |
Remarks
The Rich Text Editor’s toolbar consists of multiple groups. The Table group includes the Show Insert Table Dialog button that invokes the Insert Table dialog. This dialog allows users to insert a table in a document.
Use the Table
property to perform the following operations:
The following code snippet removes the Show Insert Table Dialog item from the toolbar.
<DxRichEdit CustomizeToolbar="onCustomizeToolbar"
BarMode=BarMode.Toolbar/>
@code {
void onCustomizeToolbar(IToolbar toolbar) {
string groupName = RichEditToolbarGroupNames.Table;
string itemName = RichEditBarItemNames.ShowInsertTableDialog;
toolbar.Groups[groupName].Items.Remove(itemName);
}
}
See Also