-
-
Notifications
You must be signed in to change notification settings - Fork 135
Getting Started
David Grochocki edited this page Sep 18, 2016
·
9 revisions
###Usage### Right-click with any file and select "Format XAML" to format your XAML source code.
###Special Characters### Special characters (e.g., &) are preserved.
###Whitespace### "Significant whitespace" is respected. In other words, to prevent the rendering of unexpected spaces, newlines will not be added to <Run /> if it is immediately followed by another element. #####Significant Whitespace between <Run />#####
<TextBlock>
<Run Text="A" />
<Run Text="B" />
</TextBlock>
#####No Whitespace between <Run />#####
<TextBlock>
<Run Text="A" /><Run Text="B" />
</TextBlock>
###Indentation### XAML Styler respects Visual Studio's indentation settings. You can change these options at Tools → Options → Text Editor → XAML → Tabs.
###Import/Export Settings### XAML Styler intergrates with Visual Studio's Import and Export Settings Wizzard.