Dela via


Grid.ColumnSpacing Property

Definition

Gets or sets the uniform distance (in pixels) between grid columns.

public:
 property double ColumnSpacing { double get(); void set(double value); };
double ColumnSpacing();

void ColumnSpacing(double value);
public double ColumnSpacing { get; set; }
var double = grid.columnSpacing;
grid.columnSpacing = double;
Public Property ColumnSpacing As Double
<Grid ColumnSpacing="double" .../>

Property Value

Double

double

The uniform distance (in pixels) between grid columns.

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Applies to