In This Article

RemoveTabStopOrOutdentAction Class

Represents an IEditAction that removes whitespace to bring the caret to the previous tab stop if there is no selection, or alternatively outdents the currently selected lines.

public class RemoveTabStopOrOutdentAction : OutdentAction, IEditAction, IKeyedObject
Inheritance:
object RoutedCommand RoutedUICommand EditActionBase OutdentAction object
Implements:
IEditAction IKeyedObject

Constructors

RemoveTabStopOrOutdentAction()

Initializes an instance of the RemoveTabStopOrOutdentAction class.

public RemoveTabStopOrOutdentAction()

Methods

CanExecute(IEditorView)

Returns whether the edit action can execute in the specified IEditorView.

public override bool CanExecute(IEditorView view)
Parameter Type Description
view IEditorView

The IEditorView to examine.

Returns

bool:

true if the edit action can execute in the specified IEditorView; otherwise, false.

Execute(IEditorView)

Executes the edit action in the specified IEditorView.

public override void Execute(IEditorView view)
Parameter Type Description
view IEditorView

The IEditorView in which to execute the edit action.

Inherited Members