Hide overflow in Silverlight TextBox

Posted by chrisbz on Stack Overflow See other posts from Stack Overflow or by chrisbz
Published on 2010-05-06T21:50:38Z Indexed on 2010/05/06 22:28 UTC
Read the original article Hit count: 508

Filed under:
|
|

I have a Silverlight TextBox control that is inside of a Grid column with the width set to 'Auto', so the TexBox's width expands/contracts with the browser window is resized. Unfortunately, when the number of characters entered into the textbox exceeds the textbox's width, the textbox grows to accommodate it.

Are there any properties that can be applied to the textbox that will force it to not expand with the number of characters inside of it?

Thanks.

© Stack Overflow or respective owner

Related posts about xaml

Related posts about textbox