UniformGrid.Rows Property

 

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

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

public int Rows { get; set; }

Property Value

Type: System.Int32

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.

Identifier field

RowsProperty

Metadata properties set to true

AffectsMeasure

.NET Framework
Available since 3.0
Return to top
Show: