Back to Devexpress

HtmlEditorToolbarItemNames.DeleteTable Property

blazor-devexpress-dot-blazor-dot-htmleditortoolbaritemnames-0605f8ea.md

latest2.0 KB
Original Source

HtmlEditorToolbarItemNames.DeleteTable Property

Gets the Delete Table item’s name.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public static string DeleteTable { get; }

Property Value

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

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

HtmlEditorToolbarItemNames Class

HtmlEditorToolbarItemNames Members

DevExpress.Blazor Namespace