Decreases the left indent of selected paragraphs by the editor's default indentation step.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class DecrementParagraphLeftIndentCommand : RichTextBoxCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseDecrementParagraphLeftIndentCommand
Implements:
Inherited Members
Constructors
Initializes the command for the specified editor.
public DecrementParagraphLeftIndentCommand(RadRichTextBox radRichTextBox)
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.
protected override bool CanExecuteOverride(object parameter)
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:true when the additional constraints are disabled or all required conditions are met.
Overrides:
Decreases the selected paragraphs' left indent; the command parameter is not used.
protected override void ExecuteOverride(object parameter)
Unused.
Overrides: