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

Performs the configured forward Tab action: table-row insertion or navigation, list/paragraph indentation, or tab insertion.

Definition

Constructors

Initializes the command for the specified editor.

C#
public TabForwardCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The rich text box that handles forward Tab actions.

Properties

Gets Always so this command can be evaluated in protected documents; individual editing actions retain their own checks.

C#
protected override CanExecuteBehaviorInProtectedDocument CanExecuteBehaviorInProtectedDocument { get; }

Overrides: RichTextBoxCommandBase.CanExecuteBehaviorInProtectedDocument

Gets true so Tab navigation can be evaluated when the editor is read-only.

C#
protected override bool CanExecuteInReadOnlyMode { get; }

Overrides: RichTextBoxCommandBase.CanExecuteInReadOnlyMode

Gets true so the command can evaluate Tab navigation in read-only ranges; editing actions still use their own eligibility checks.

C#
protected override bool CanExecuteInReadOnlyRange { get; }

Overrides: RichTextBoxCommandBase.CanExecuteInReadOnlyRange

Methods

Checks Tab acceptance and configured actions in order; table-boundary checks can determine the result before later flags are evaluated.

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

A TabCommandBehaviors value, a case-insensitive enum string, or null for the default behavior.

Returns:

bool

true when a checked action is available. At the last table cell, a flagged append-row or table-navigation check can return false before later list, indent, or tab-symbol flags are checked.

Overrides: RichTextBoxCommandBase.CanExecuteOverride(object)

Executes the first applicable configured action, in table-row, table-navigation, list-level, paragraph-indent, then tab-symbol order.

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

A TabCommandBehaviors value, a case-insensitive enum string, or null for the default behavior.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)