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

Opens the context menu for the next spelling error when spell checking is enabled.

Definition

Constructors

Creates a command that opens the next spelling-error context menu in the specified editor.

C#
public OpenContextMenuOnNextSpellingErrorCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The associated RadRichTextBox.

Properties

Allows locating a spelling error while the current editing range is read-only.

C#
protected override bool CanExecuteInReadOnlyRange { get; }

Overrides: RichTextBoxCommandBase.CanExecuteInReadOnlyRange

Methods

Allows execution only while spell checking is enabled in the associated editor.

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

Not used by this command.

Returns:

bool

true when spell checking is enabled; otherwise, false.

Overrides: RichTextBoxCommandBase.CanExecuteOverride(object)

Opens the context menu for the next spelling error.

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

Not used by this command.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)