RichEditContextMenuItemNames.RestartNumbering Field
In This Article
Gets the Restart Numbering item’s name.
Namespace: DevExpress.Blazor.RichEdit
Assembly: DevExpress.Blazor.RichEdit.v24.2.dll
NuGet Package: DevExpress.Blazor.RichEdit
#Declaration
C#
public const string RestartNumbering = "RestartNumbering"
#Field Value
Type | Description |
---|---|
String | The “Restart |
#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:
Razor
<DxRichEdit CustomizeContextMenu="OnCustomizeContextMenu" />
@code {
void OnCustomizeContextMenu(IContextMenuItemCollection items) {
items.Remove(RichEditContextMenuItemNames.ContinueNumbering);
items.Remove(RichEditContextMenuItemNames.RestartNumbering);
}
}
See Also