Setting AcceptsReturn to true allows users to press the
Enter key to create a new line of text. Note that TextBox always supports multiple lines of text
programmatically. If its Text is set to a string containing NewLine characters, it displays the multiple lines
regardless of the value of AcceptsReturn. Also, the multiline support is completely independent
from text wrapping. Text wrapping only applies to individual lines of text that are wider
than the TextBox.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Setting AcceptsReturn to true allows users to press the Enter key to create a new line of
text. Note that TextBox always supports multiple lines of text programmatically. If its Text is
set to a string containing NewLine characters, it displays the multiple lines regardless of the
value of AcceptsReturn. Also, the multiline support is completely independent from text
wrapping. Text wrapping only applies to individual lines of text that are wider than the
TextBox.