Back to Devexpress

RichEditCommands.decreaseIndent Property

aspnet-js-richeditcommands-8d045861.md

latest1.4 KB
Original Source

RichEditCommands.decreaseIndent Property

Gets a command to decrease the indent level of paragraphs in a selected range.

Declaration

ts
get decreaseIndent(): DecreaseIndentCommand

Property Value

TypeDescription
DecreaseIndentCommand

An object that provides methods that execute the command and check its state.

|

Remarks

Call the execute method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

javascript
richEdit.commands.decreaseIndent.execute();

The command decreases the indent level of paragraphs in the selected range by the defaultTabStop value. You can get this value using the following code snippet:

javascript
richEdit.commands.changeTabs.getState().value.defaultTabStop;

To modify this value, use the RichEditCommands.changeTabs command.

Refer to the following section for more information: Client Commands.

See Also

RichEditCommands Class

RichEditCommands Members