Moves to the previous comment, prompting to continue from the document's end when no earlier comment is found.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class GoToPreviousCommentCommand : CommentCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseCommentCommandBaseGoToPreviousCommentCommand
Implements:
Inherited Members
Constructors
Creates the command and tracks selection and caret changes to update its availability.
C#
public GoToPreviousCommentCommand(RadRichTextBox editor)
The editor whose comments can be navigated.
Properties
Allows command availability checks in read-only ranges.
C#
protected override bool CanExecuteInReadOnlyRange { get; }
Overrides:
Prevents the command base from explicitly refocusing the editor after navigation.
C#
protected override bool ShouldFocusCaretAfterExecute { get; }
Overrides:
Methods
Moves to the previous comment or prompts before wrapping to the last comment.