Back to Devexpress

RichEditToolbarGroupNames.Table Property

blazor-devexpress-dot-blazor-dot-richedit-dot-richedittoolbargroupnames-50109fb4.md

latest2.4 KB
Original Source

RichEditToolbarGroupNames.Table Property

Gets the name of the toolbar’s Table group.

Namespace : DevExpress.Blazor.RichEdit

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

NuGet Package : DevExpress.Blazor.RichEdit

Declaration

csharp
public static string Table { get; }

Property Value

TypeDescription
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.

razor
<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

RichEditToolbarGroupNames Class

RichEditToolbarGroupNames Members

DevExpress.Blazor.RichEdit Namespace