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

Decreases the left indent of selected paragraphs by the editor's default indentation step.

Definition

Constructors

Initializes the command for the specified editor.

C#
public DecrementParagraphLeftIndentCommand(RadRichTextBox radRichTextBox)
Parameters:radRichTextBoxRadRichTextBox

The rich text box whose paragraph indentation this command changes.

Methods

Optionally checks the paragraph-start and tab-stop conditions used when indent commands handle Tab navigation.

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

Set to true to require AcceptsTab and a paragraph-start position; when there is no selection, the current paragraph must also have no custom tab stops.

Returns:

bool

true when the additional constraints are disabled or all required conditions are met.

Overrides: RichTextBoxCommandBase.CanExecuteOverride(object)

Decreases the selected paragraphs' left indent; the command parameter is not used.

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

Unused.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)