Moves to the next comment, prompting to continue from the document's beginning when no later comment is found.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
C#
public class GoToNextCommentCommand : CommentCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseCommentCommandBaseGoToNextCommentCommand
Implements:
Inherited Members
Constructors
Creates the command and tracks selection and caret changes to update its availability.
C#
public GoToNextCommentCommand(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 next comment or prompts before wrapping to the first comment.