Some XAML properties naturally belong together. Examples of this are Width and Height, or HorizontalAlignment and VerticalAlignment. You should consider grouping these properties in such a way that they appear on the same line. Distributing related properties over multiple lines will make your XAML files unnecessarily long. As a counterpart, you should also consider putting nothing else on a line that has naturally related properties.
✘ <Button x:Name="cancelButton"
Content="Cancel"
Width="120" Height="38" HorizontalAlignment="Center"
VerticalAlignment="Center"/>
✘ <Button x:Name="cancelButton"
Content="Cancel"
Width="120"
Height="38"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
✔ <Button x:Name="cancelButton"
Content="Cancel"
Width="120" Height="38"
HorizontalAlignment="Center" VerticalAlignment="Center"/>
|