Share via

Grid.RowSpacing Property


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

public double RowSpacing { get; set; }
member this.RowSpacing : double with get, set

Property Value


The space between rows


The RowSpacing property does not control spacing on the top and bottom 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