Quantcast
Channel: Michael Gaigg: Über UI/UX Design » silverlight
Viewing all articles
Browse latest Browse all 7

Multiline TextBox control (TextArea) in Silverlight

$
0
0
This is one of those things that can drive you crazy. There is no 'TEXTAREA' equivalent in Silverlight. One needs to use the TextBox control with some tweaks instead. I'm terrible in remembering details like these, so here for my records:

Some remarks:
  • TextWrapping=True will make sure that any text entered will actually wrap to the next line
  • Height is important
  • AcceptsReturn is useful to avoid accidental submission of the form
  • Horizontal and Vertical scrollbars are set to "auto", but feel free to set to "Visible" if that's your preference
Enjoy!

Viewing all articles
Browse latest Browse all 7

Latest Images

Trending Articles



Latest Images