What is the hotkey for formatting XAML in VS2010?

Alexandre picture Alexandre · Feb 26, 2012 · Viewed 11k times · Source

The hotkey Ctrl+E,Ctrl+D works for formatting C# code only, but not for XAML for some reason. Does anybody know what the hotkey is for it?

Answer

ffonz picture ffonz · Aug 13, 2013

Just as user2425056 my XAML wasn't formatting with all three options from devdigital.

The option I had to set to get a proper formatting is: Tools >> Options >> Text Editor >> XAML >> Formatting >> Spacing >> and check “Position each attribute on a separate line”