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

Selects the cell containing the caret, including when a table-cell selection is active.

Definition

Constructors

Initializes the command for the specified editor.

C#
public SelectTableCellCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The rich text box containing the table.

Properties

Allows this selection-only command to run when the editor is read-only.

C#
protected override bool CanExecuteInReadOnlyMode { get; }

Overrides: RichTextBoxCommandBase.CanExecuteInReadOnlyMode

Allows the command to remain enabled when the selection contains only table cells.

C#
protected override bool IsTableSelectionEnabledCommand { get; }

Overrides: TableContextCommandBase.IsTableSelectionEnabledCommand

Methods

Replaces the current selection with the cell containing the caret.

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

Not used.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)