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

Opens the configured borders dialog for tables represented by the selection or containing the caret.

Definition

Constructors

Initializes the command for the specified editor.

C#
public ShowTableBordersDialogCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The rich text box whose table borders are displayed.

Properties

Returns true for table-cell selection handling; availability is checked by CanExecuteOverride().

C#
protected override bool IsTableSelectionEnabledCommand { get; }

Overrides: TableContextCommandBase.IsTableSelectionEnabledCommand

Prevents the command from restoring caret focus to the editor after the dialog is shown.

C#
protected override bool ShouldFocusCaretAfterExecute { get; }

Overrides: RichTextBoxCommandBase.ShouldFocusCaretAfterExecute

Methods

Determines whether the selection or caret identifies at least one table.

C#
protected override bool CanExecuteOverride()
Returns:

bool

true when a table is selected or contains the caret; otherwise, false.

Overrides: TableContextCommandBase.CanExecuteOverride()

Opens the editor's table-borders dialog when it is available.

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

Not used.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)