You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
As the title already says: String parameters given to x:Bind functions also get formatted.
For example: <Run Text="{x:Bind viewModel.SomeInteger.ToString('#,0', x:Null)}" /> gets formatted to <Run Text="{x:Bind viewModel.SomeInteger.ToString('#, 0', x:Null)}" />. It adds a space between the comma and zero which does not represent the original format.
To Reproduce
Steps to reproduce the behavior:
Use for example the .ToString method on a x:binded property
See how the string parameter gets formatted
Expected behavior
It should not format any string parameters.
External Configuration
Default configuration.
Version Info (please complete the following information):
OS: Windows 11 Version 23H2 (Build 22631.3737)
Visual Studio: Community 2022 (17.11.0 Preview 2.1)
XAML Styler: 3.24042
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
As the title already says: String parameters given to x:Bind functions also get formatted.
For example:
<Run Text="{x:Bind viewModel.SomeInteger.ToString('#,0', x:Null)}" />
gets formatted to<Run Text="{x:Bind viewModel.SomeInteger.ToString('#, 0', x:Null)}" />
. It adds a space between the comma and zero which does not represent the original format.To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should not format any string parameters.
External Configuration
Default configuration.
Version Info (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: