RichEditContextMenuItemNames.RestartNumbering Field
Gets the Restart Numbering item’s name.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.2.dll
NuGet Package: DevExpress.Blazor.RichEdit
Declaration
public const string RestartNumbering = "RestartNumbering"
Field Value
Type | Description |
---|---|
String | The “RestartNumbering” string. |
Remarks
Use this property to perform the following operations with the Restart Numbering item:
The Restart Numbering item is a context menu item that allows users to start a new numbered list from the selected paragraph of the current list.
The following code snippet removes the Restart Numbering item from the context menu:
<DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu" />
@code {
void OnCustomizeContextMenu(IContextMenuItemCollection items) {
items.Remove(RichEditContextMenuItemNames.ContinueNumbering);
items.Remove(RichEditContextMenuItemNames.RestartNumbering);
}
}
See Also