In WP7 I am trying to limit the Textboxtext size.
Please guide me in this with sample.
In WP7 I am trying to limit the Textboxtext size. Please guide me in
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can limit it by
WidthorHeightproperty. In this caseTextBoxwill be only with provided sizes.Otherwise, you can set
MaxWidthandMaxHeight. In this case Width and Height will automatically adjust by situation but not great than you specify.MaxLengthproperty can be used also. It limits the number of characters that can be displayed.TextTrimminghandles how to trim text when it out of screen, i.e. add...in the end, for example.