UniformGrid.Rows Property


Gets or sets the number of rows that are in the grid.

 property int Rows { int get(); void set(int value); };
public int Rows { get; set; }
member this.Rows : int with get, set
Public Property Rows As Integer

Property Value


The number of rows that are in the grid. The default is 0.


A value of zero (0) for the Rows property specifies that the row count is computed based on the number of columns and the number of visible child elements that are in the grid.

Dependency Property Information

Identifier field RowsProperty
Metadata properties set to true AffectsMeasure

Applies to

See also