WPF: Label to TextBox when selected
- by Francesco
Hi!,
I would like to create a simple designer which looks like visual studio.
Specifically, I would like my items to have the same behavior as in VS: when they're not selected, a simple label/textblock is shown, when they're selected a textbox lets me edit the value.
Which is the best way to achieve this?
Thank you