Hello everyone,
Currently I am working on small WPF project in SD. I stumbled upon strange behavior of code formating in my project.
While I am learning how to code in WPF, usually I use this formating style:
<Grid Background="LightSkyBlue">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
</Grid>
But whenever I change something in Properties window my code changes to this:
<Grid
Background="LightSlateGray">
<Grid.RowDefinitions>
<RowDefinition
Height="Auto" />
<RowDefinition
Height="Auto" />
<RowDefinition
Height="*" />
<RowDefinition
Height="*" />
</Grid.RowDefinitions>
</Grid>
My question is, how to avoid this kind of situation?
Thanks.