Silverlight TextBoxes & Environment.NewLine - by polaris408

Status : 

  External<br /><br />
		This item may be valid but belongs to an external system out of the direct control of this product team.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


0
0
Sign in
to vote
ID 419751 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 3/1/2009 4:01:07 PM
Access Restriction Public

Description

The newline string in Silverlight text boxes is not the same as Environment.NewLine.
Sign in to post a comment.
Posted by Adrian [MSFT] on 5/6/2009 at 8:52 PM
Thank you for your post. This is by design. TextBox does not attempt to change its content model based upon the OS so it always uses \r for newline.
Posted by polaris408 on 4/2/2009 at 3:39 PM
Can we update the MSDN documentation to make a note of this? Thanks.
Posted by Mark [MSFT] on 4/2/2009 at 12:06 PM
Thank you for your post. This is by design. TextBox does not attempt to change its content model based upon the OS so it always uses \r for newline.

-mark
Posted by Microsoft on 3/1/2009 at 6:22 PM
Thanks for your feedback. We are escalating this bug to the product unit who works on that specific feature area. The team will review this issue and make a decision on whether they will fix it or not for the next release.

Thank you,
Visual Studio Product Team