UniformGrid::Rows Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

public:
property int Rows {
	int get();
	void set(int value);
}

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: