Grid.ColumnSpacing Property

Definition

Gets or sets the amount of space between columns in the Grid. This is a bindable property.

public:
 property double ColumnSpacing { double get(); void set(double value); };
public double ColumnSpacing { get; set; }
member this.ColumnSpacing : double with get, set
Public Property ColumnSpacing As Double

Property Value

The space between columns in this Grid layout. The default is 0.

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