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