Spacing between child controls in WPF Grid
Easiest way is to set a margin on the individual controls. Setting it on the TextBoxes should be enough, because once they’re spaced out the Labels will set vertically in the center of each row and have plenty of space anyway. You can set it once using a style: <Grid Margin=”4″> <Grid.Resources> <Style TargetType=”{x:Type TextBox}”> … Read more