Home Dashboard Directory Help
Search

XAML StringFormat editor doesn't support doubley escaped characters by snortblt


Status: 

Closed
 as Fixed Help for as Fixed


2
0
Sign in
to vote
Type: Bug
ID: 551488
Opened: 4/15/2010 9:33:27 AM
Access Restriction: Public
0
Workaround(s)
view
0
User(s) can reproduce this bug

Description

In Visual Studio 2010 RC, the XAML StringFormat editor in the properties panel doesn't support doubley escaped characters, where the character must be escaped for XAML then for the string format. For example:

<TextBlock x:Name="playPositionTextBlock" Text="{Binding ElementName=_mediaElement, Path=Position, StringFormat=\{0:mm\\:ss\\.fff\}}" IsHitTestVisible="False" />
Details
Sign in to post a comment.
Posted by Microsoft on 4/19/2010 at 3:15 PM
runs-with-scissors,

Thank you for your feedback. This is a bug, and we should be escaping the additional characters when you create a binding using the property inspector and properly update the format when you make changes in the binding picker. I have added this bug into the list that we are going to attempt to fix for our next release.

Thank you again, and if you find any additional bugs, or have any suggestions, please feel free to respond to me directly.

~Jeff Ferman
Visual Studio WPF & Silverlight Designer
Jeffrey.Ferman <at> microsoft.com
Posted by Microsoft on 4/15/2010 at 10:57 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.

Thank you
Sign in to post a workaround.