Is it possible to Justify (not center) text in TextBox? I am aware of
txt.TextAlign = HorizontalAlignment.Left;
for example, but is it possible to justify it left AND right?
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.
I think what the OP is going for is this http://en.wikipedia.org/wiki/Justification_(typesetting) then look under this heading
I am afraid there is no easy way to do this. You would need to do as Damith suggested and create a custom control for it, and even that wont be easy, because every time you enter a letter, your text spacing will shrink and it will look funny. If you are wanting to do a read-only textbox, that could be done, but if you want the user to add text to it… I think you would need a real good reason to take the time to implement this.