Class
ToggleNumberedCommand

Toggles the numbered list format for the currently selected text in the RichTextBox.

Definition

Namespace:Telerik.Windows.Documents.RichTextBoxCommands

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class ToggleNumberedCommand : ToggleCommandBase, ICommand

Inheritance: objectRichTextBoxCommandBaseToggleCommandBaseToggleNumberedCommand

Implements: ICommand

Inherited Members ToggleCommandBase.UpdateSpanStyle()ToggleCommandBase.OnToggleStateChanged(StylePropertyChangedEventArgs<bool>)ToggleCommandBase.ToggleStateChangedRichTextBoxCommandBase.CanExecute(object)RichTextBoxCommandBase.CanExecuteOverride(object)RichTextBoxCommandBase.Execute()RichTextBoxCommandBase.Execute(object)RichTextBoxCommandBase.GetSelectedInlineOrSelectCurrent()RichTextBoxCommandBase.Execute(object, bool)RichTextBoxCommandBase.UpdateSectionStyle()RichTextBoxCommandBase.GetCurrentParagraphStyle()RichTextBoxCommandBase.GetCurrentSpanStyle()RichTextBoxCommandBase.GetCurrentSectionStyle()RichTextBoxCommandBase.OnCanExecuteChanged()RichTextBoxCommandBase.AssociatedRichTextBoxRichTextBoxCommandBase.CanExecuteInReadOnlyModeRichTextBoxCommandBase.CanExecuteInReadOnlyRangeRichTextBoxCommandBase.IsDeletingCommandRichTextBoxCommandBase.CanExecuteBehaviorInProtectedDocumentRichTextBoxCommandBase.ShouldFocusCaretAfterExecuteRichTextBoxCommandBase.SupportedTargetsRichTextBoxCommandBase.EnabledRichTextBoxCommandBase.CanExecuteChanged

Constructors

ToggleNumberedCommand(RadRichTextBox)

Declaration

cs-api-definition
public ToggleNumberedCommand(RadRichTextBox radRichTextBox)

Parameters

radRichTextBox

RadRichTextBox

Methods

ExecuteOverride(object)

Performs the execute action specific to the command.

Declaration

cs-api-definition
protected override void ExecuteOverride(object parameter)

Parameters

parameter

object

The command parameter.

Overrides RichTextBoxCommandBase.ExecuteOverride(object)

GetToggleState()

Declaration

cs-api-definition
protected override bool GetToggleState()

Returns

bool

Overrides ToggleCommandBase.GetToggleState()