HtmlEditorToolbarItemNames.DeleteTableColumn Property
In This Article
Gets the Delete Table Column item’s name.
Namespace: DevExpress.Blazor
Assembly: DevExpress.Blazor.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
C#
public static string DeleteTableColumn { get; }
#Property Value
Type | Description |
---|---|
String | The “Delete |
#Remarks
Use this property to perform the following operations with the Delete Table Column item:
- Access item properties
- Add/remove the item to/from a toolbar group
- Remove the item from the Table group
The Delete Table Column item is a button in the toolbar’s Table group. This button deletes the selected table column.
The following code snippet removes the Delete Table Column 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.DeleteTableColumn);
}
}
See Also