Open ZhuYajunFly opened 2 months ago
Did you tried the Attribute Reordering
setting?
Did you tried the
Attribute Reordering
setting?
Special and different user controls have different optimal order of arrangement,I hope there is a feature that can control whether to disable the XamlStyle sorting function in a certain section of XMAL.
Even better would be an option to define custom "Attribute ordering rule groups BY ELEMENT type" so we will have: 1) "Attribute ordering rule groups" and the option to also create multiple 2)"Attribute ordering rule groups by Element" to fine tune attribute ordering for a given element type. If present, the second will override the first.
Some user controls have many custom attribute commands,The default sorting tool will disrupt the custom partitioning of attributes based on their functionality。 Like this,I Hope:![Hope](https://github.com/Xavalon/XamlStyler/assets/52872318/f75aec18-4a4b-4dae-b3c8-71ae706c0ccf)
but default sorting:![But](https://github.com/Xavalon/XamlStyler/assets/52872318/627db840-4de7-4055-a638-72b748bdd8d0)
I try use Enable Attribute Reordering: false ,but not work.
![Try2](https://github.com/Xavalon/XamlStyler/assets/52872318/da6ea7ec-e745-4cd0-8671-5140414acc74)