Maintainers
Pricing
Enterprise
More
More
Documentation
Try Live
Rankings
Install
Blog
Docs7
Ask
New
Add Docs
XAML Styler
https://github.com/xavalon/xamlstyler
Admin
Tokens:
1,264
Snippets:
14
Trust Score:
6.4
License:
Apache-2.0
Update:
6 months ago
Context
Chat
Benchmark
57
Latest
Show doc for...
Code
Info
Show Results
Tokens:
Raw
Copy
Link
Tokens:
Raw
Copy
Link
### Execute XamlStyler Tool via Git Bash Source: https://github.com/xavalon/xamlstyler/wiki/Git-Bash Runs the xstyler.exe command-line tool from the .dotnet/tools directory using Git Bash shell. This command invokes the XamlStyler utility which is used for formatting and styling XAML files. The tool must be previously installed in the user's .dotnet/tools directory. ```bash $HOME/.dotnet/tools/xstyler.exe ``` -------------------------------- ### Attribute Ordering Rule Groups Configuration Source: https://github.com/xavalon/xamlstyler/wiki/Attribute-Reordering Defines the default attribute ordering rule groups for XAML Styler. Each string element represents one group with comma-delimited attributes. DOS wildcards are supported. Attributes are ordered by group position (top to bottom) and within groups (left to right). ```text "x:Class", "xmlns, xmlns:x", "xmlns:*", "x:Key, Key, x:Name, Name, x:Uid, Uid, Title", "Grid.Row, Grid.RowSpan, Grid.Column, Grid.ColumnSpan, Canvas.Left, Canvas.Top, Canvas.Right, Canvas.Bottom", "Width, Height, MinWidth, MinHeight, MaxWidth, MaxHeight", "Margin, Padding, HorizontalAlignment, VerticalAlignment, HorizontalContentAlignment, VerticalContentAlignment, Panel.ZIndex", "*:*, *", "PageSource, PageIndex, Offset, Color, TargetName, Property, Value, StartPoint, EndPoint", "mc:Ignorable, d:IsDataSource, d:LayoutOverrides, d:IsStaticText", "Storyboard.*, From, To, Duration" ```