Tools > Options > Text Editor > All languages > Word wrap
Tools > Options > Text Editor > XAML > Tabs > Tab size and Indent size
set to 4
.Tools > Options > Text Editor > XAML > Formatting > General > Quotation Mark Style
set to Single quotes (')
.Tools > Options > Text Editor > XAML > Formatting > Spacing > Collapse multiple empty lines in content to a single line
.Tools > Options > Text Editor > XAML > Formatting > Spacing > Position each attribute on a separate line
and Position first attribute on same line as start tag
.Ctrl+K, Ctrl+D
or View > Advanced > Format document
. (Formats the current document according to your settings for the given programming language.View > Toolbox
(to drag-and-drop XAML elements)