Gets or sets the number of rows.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property Rows As Integer |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As GridViewLayout
Dim value As Integer
instance.Rows = value
value = instance.Rows |
| C# | |
|---|
public int Rows {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property int get_Rows();
public: __property void set_Rows(
int value
); |
| C++/CLI | |
|---|
public:
property int Rows {
int get();
void set ( int value);
} |
Property Value
Type:
System.Int32 The number of rows.
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also