Class
GoToPreviousCommentCommand

Represents the command to navigate to the previous comment in the rich text box.

Definition

Namespace:Telerik.Windows.Documents.RichTextBoxCommands

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class GoToPreviousCommentCommand : CommentCommandBase, ICommand

Inheritance: objectRichTextBoxCommandBaseCommentCommandBaseGoToPreviousCommentCommand

Implements: ICommand

Inherited Members CommentCommandBase.SupportedTargetsRichTextBoxCommandBase.CanExecute(object)RichTextBoxCommandBase.Execute()RichTextBoxCommandBase.Execute(object)RichTextBoxCommandBase.GetSelectedInlineOrSelectCurrent()RichTextBoxCommandBase.Execute(object, bool)RichTextBoxCommandBase.UpdateSpanStyle()RichTextBoxCommandBase.UpdateSectionStyle()RichTextBoxCommandBase.GetCurrentParagraphStyle()RichTextBoxCommandBase.GetCurrentSpanStyle()RichTextBoxCommandBase.GetCurrentSectionStyle()RichTextBoxCommandBase.OnCanExecuteChanged()RichTextBoxCommandBase.AssociatedRichTextBoxRichTextBoxCommandBase.CanExecuteInReadOnlyModeRichTextBoxCommandBase.IsDeletingCommandRichTextBoxCommandBase.CanExecuteBehaviorInProtectedDocumentRichTextBoxCommandBase.EnabledRichTextBoxCommandBase.CanExecuteChanged

Constructors

GoToPreviousCommentCommand(RadRichTextBox)

Declaration

cs-api-definition
public GoToPreviousCommentCommand(RadRichTextBox editor)

Parameters

editor

RadRichTextBox

Properties

CanExecuteInReadOnlyRange

Gets a value indicating whether this command can be executed when editing context is read-only. The default implementation returns false.

Declaration

cs-api-definition
protected override bool CanExecuteInReadOnlyRange { get; }

Property Value

bool

Overrides RichTextBoxCommandBase.CanExecuteInReadOnlyRange

ShouldFocusCaretAfterExecute

Declaration

cs-api-definition
protected override bool ShouldFocusCaretAfterExecute { get; }

Property Value

bool

Overrides RichTextBoxCommandBase.ShouldFocusCaretAfterExecute

Methods

CanExecuteOverride(object)

Performs a check whether the command can be executed specific to the command.

Declaration

cs-api-definition
protected override bool CanExecuteOverride(object parameter)

Parameters

parameter

object

The command parameter.

Returns

bool

Overrides RichTextBoxCommandBase.CanExecuteOverride(object)

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)