tags:

views:

50

answers:

1

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

+2  A: 

create a control template for the TextBox and change the appearance of the TextBox as you like when the control is focused or it has content inside.

Kishore Kumar
Simple and efficient!Thank you, exactly what I was searching for!
fra