ITextUndoHistory.CanUndo Property

Definition

Determines whether a single undo is possible.

public:
 property bool CanUndo { bool get(); };
public:
 property bool CanUndo { bool get(); };
public bool CanUndo { get; }
member this.CanUndo : bool
Public ReadOnly Property CanUndo As Boolean

Property Value

true if a single undo is possible, otherwise false.

Remarks

This property corresponds to CanUndo for the most recent visible undo ITextUndoTransaction. If there are hidden transactions on top of the visible transaction, this property returns true only if they are undoable as well.

Applies to