Grid.ColumnSpacing Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides the interface for the bound property that gets or sets the distance between columns in the Grid.
public double ColumnSpacing { get; set; }
member this.ColumnSpacing : double with get, set
Property Value
The space between columns in this Grid layout. The default is 6.
Remarks
The ColumnSpacing property does not control spacing on the left and right edges of the Grid layout. Application developers can control the spacing around the outside of the Grid layout by setting the Padding property of the visual element to which it belongs.