We would like to disable the Undo feature of the TextBoxes that are auto-created for string properties.
It interferes with our global Ctrl+Z undo command when the TextBox in the PropertyGrid are keyboard focused.
Thanks.
1 Answer, 1 is accepted
0
Martin
Telerik team
answered on 07 Oct 2016, 12:52 PM
Hi Paul,
To achieve the desired behavior you can capture the FieldLoaded event and in the handler to check if the content of the current field is TextBox. Then you can set the IsUndoEnabled property of TextBox to false. In that way, you can disable the Undo feature of the TextBoxes that are auto created for string properties in RadPropertyGrid.
I hope that this helps.
Regards,
Martin Vatev
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.