TextBoxBase::IsUndoEnabled Property
.NET Framework (current version)
Gets or sets a value that indicates whether undo support is enabled for the text-editing control.
Assembly: PresentationFramework (in PresentationFramework.dll)
Property Value
Type: System::Booleantrue if undo support is enabled; otherwise, false. The default value is true.
The following example demonstrates how to use the IsUndoEnabled property in Extensible Application Markup Language (XAML).
<TextBox TextWrapping="Wrap" Name="myTextBox" Width="500" Height="200" AcceptsReturn="True" IsUndoEnabled="True" VerticalScrollBarVisibility="Visible" HorizontalScrollBarVisibility="Auto" Margin="25">
.NET Framework
Available since 3.0
Available since 3.0
Show: