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.

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Applies to