Applies the default numbered list style to the current paragraphs or removes list formatting when all are already numbered.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class ToggleNumberedCommand : ToggleCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseToggleCommandBaseToggleNumberedCommand
Implements:
Inherited Members
Constructors
Initializes the command for the specified editor.
C#
public ToggleNumberedCommand(RadRichTextBox radRichTextBox)
The rich text box whose paragraphs this command formats.
Methods
Adds the default numbered style, or removes list formatting if the current paragraphs are already numbered.
C#
protected override void ExecuteOverride(object parameter)
Unused.
Overrides:
Gets whether all nonempty selected paragraphs, or the current paragraph when there is no selection, are numbered.