Grid.RowSpacing Property

Definition

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

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

Property Value

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

Remarks

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