Class
ChangeListStyleCommand

Represents a command that changes the list style in a RichTextBox.

Definition

Namespace:Telerik.Windows.Documents.RichTextBoxCommands

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class ChangeListStyleCommand : RichTextBoxCommandBase, ICommand

Inheritance: objectRichTextBoxCommandBaseChangeListStyleCommand

Implements: ICommand

Inherited Members RichTextBoxCommandBase.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

ChangeListStyleCommand(RadRichTextBox)

Declaration

cs-api-definition
public ChangeListStyleCommand(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)

OnListStyleChangedChanged(StylePropertyChangedEventArgs<ListStyle>)

Declaration

cs-api-definition
protected virtual void OnListStyleChangedChanged(StylePropertyChangedEventArgs<ListStyle> e)

Parameters

e

StylePropertyChangedEventArgs<ListStyle>

UpdateSpanStyle()

Declaration

cs-api-definition
protected override void UpdateSpanStyle()

Overrides RichTextBoxCommandBase.UpdateSpanStyle()

Events

ListStyleChangedChanged

Declaration

cs-api-definition
public event EventHandler<StylePropertyChangedEventArgs<ListStyle>> ListStyleChangedChanged

Event Value

EventHandler<StylePropertyChangedEventArgs<ListStyle>>