UniformGrid.Rows Property

Definition

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

public:
 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.

Remarks

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