Sdílet prostřednictvím


Grid.ColumnSpacing Property

Definition

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

System.Double

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.

Applies to