Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Styles doesn't break line with a long binding expression - Styler should break lines when there are binding parameters #461

Open
Juliangzr opened this issue Jan 10, 2024 · 0 comments

Comments

@Juliangzr
Copy link

Describe the bug
There's no configuration that break the line when there are long binding expressions. There shoud be an option to break the line when there are various binding parameters.

To Reproduce
Steps to reproduce the behavior:

  1. Add line: <TextBlock Visibility="{Binding DescuentoPumaPrisHabilitado, Converter={StaticResource BooleanToVisibilityConverter}, ConverterParameter=Collapsed}" />
  2. See that the formatter doesn't break the line

Expected behavior
The formatter should break the binding parameters in different lines

Screenshots
Behavior

image

Expected behavior

image

External Configuration
Not using external config

Version Info (please complete the following information):

  • OS: Windows 11
  • Visual Studio: VS 2022
  • XAML Styler: 3.2311.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants