I want to disable undo redo feature of textbox and richtextbox. Please tell how to do this.
You can use the IsUndoEnabled property:
<TextBox Name="yourTextBox" IsUndoEnabled="False" />
Set the UndoLimit property of your Textbox to 0. Should work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With