Share via


TextBox.CanUndo Property

Definition

Gets a value that indicates whether the undo buffer contains an action that can be undone.

public:
 property bool CanUndo { bool get(); };
bool CanUndo();
public bool CanUndo { get; }
var boolean = textBox.canUndo;
Public ReadOnly Property CanUndo As Boolean

Property Value

Boolean

bool

true if the undo buffer contains an action that can be undone; otherwise, false.

Applies to