I am bit confused between the below three ways to clear the contents of a textbox. I am working with WPF and found All are working, but I am unable to find the difference.
If you are behind some performance differences or memory leaks, there are not much (just some additional calls to events when setting text instead of using .Clear() )
However, you dont have access to control itself when using MVVM, so only way to clear the text is by setting text to binded property with TextBox.
In standard application, you can do whatever you want (I will prefer using .Clear() method which is designed for this purpose).