Skip to main content
All docs
V24.1

HtmlEditorToolbarItemNames.DeleteTable Property

Gets the Delete Table item’s name.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public static string DeleteTable { get; }

Property Value

Type Description
String

The “DeleteTable” string.

Remarks

Use this property to perform the following operations with the Delete Table item:

The Delete Table item is a button in the toolbar’s Table group. This button deletes the selected table.

The following code snippet removes the Delete Table item from the toolbar:

<DxHtmlEditor Width="700px"
              Height="500px"
              CustomizeToolbar="@OnCustomizeToolbar"/>

@code {
    void OnCustomizeToolbar(IToolbar toolbar) {
        IBarGroup tableGroup = toolbar.Groups[HtmlEditorToolbarGroupNames.Table];
        tableGroup.Items.Remove(HtmlEditorToolbarItemNames.DeleteTable);
    }
}
See Also