'WPF when resize column width or row height, inner control's properties automatically generated
After I change column width or row height width guideline in design mode,
control's (in that row or column) height, width, margin property automatically generated.
For example,
<Rectangle Grid.Row="8" Grid.ColumnSpan="3" Style="{StaticResource SpliterLine}" />
After reduce Row 8's height with dragging guilde line of grid in designmode, it changes to
<Rectangle Grid.Row="8" Grid.ColumnSpan="3" Style="{StaticResource SpliterLine}" Height="1" Margin="0,18" />
Height, Margin properties are automatically genereated.
Is there any way to disable this auto generation of properties?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
