New to Telerik UI for WinForms? Start a free 30-day trial

Opens the bookmark manager for the document body when the selection is empty or contains one range.

Definition

Constructors

Creates a command that opens the bookmark manager for the specified editor.

C#
public ShowManageBookmarksDialogCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The editor whose document bookmarks are managed.

Properties

Prevents the command base from moving focus back to the document after opening the dialog.

C#
protected override bool ShouldFocusCaretAfterExecute { get; }

Overrides: RichTextBoxCommandBase.ShouldFocusCaretAfterExecute

Limits the command to the document body rather than headers, footers, comments, or notes.

C#
protected override CommandTargets SupportedTargets { get; }

Overrides: RichTextBoxCommandBase.SupportedTargets

Methods

Enables the command when the current selection is empty or contains one range.

C#
protected override bool CanExecuteOverride(object parameter)
Parameters:parameterobject

Not used; availability is determined by the current selection.

Returns:

bool

true when the selection contains at most one range.

Overrides: RichTextBoxCommandBase.CanExecuteOverride(object)

Opens the associated editor's bookmark manager.

C#
protected override void ExecuteOverride(object parameter)
Parameters:parameterobject

Not used by this command.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)