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

Performs the configured backward Tab action: table navigation, list-level decrease, or paragraph-indent decrease.

Definition

Constructors

Initializes the command for the specified editor.

C#
public TabBackwardCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The rich text box that handles backward 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; a table-boundary check 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 first table cell, a flagged table-navigation check can return false before later list-level or indent flags are checked.

Overrides: RichTextBoxCommandBase.CanExecuteOverride(object)

Executes the first applicable configured action, in table-navigation, list-level, then paragraph-indent 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)