Back to Devexpress

HtmlEditorToolbarItemNames.InsertTableHeaderRow Property

blazor-devexpress-dot-blazor-dot-htmleditortoolbaritemnames-a14df510.md

latest2.1 KB
Original Source

HtmlEditorToolbarItemNames.InsertTableHeaderRow Property

Gets the Insert Table Header Row item’s name.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
public static string InsertTableHeaderRow { get; }

Property Value

TypeDescription
String

The “InsertTableHeaderRow” string.

|

Remarks

Use this property to perform the following operations with the Insert Table Header Row item:

The Insert Table Header Row item is a button in the toolbar’s Table group. This button inserts a header row to the table.

The following code snippet removes the Insert Table Header Row 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.InsertTableHeaderRow);
    }
}

See Also

HtmlEditorToolbarItemNames Class

HtmlEditorToolbarItemNames Members

DevExpress.Blazor Namespace