Visual Basic (Declaration) | |
---|---|
Public Property Rows As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As ListBoxEditor Dim value As Integer instance.Rows = value value = instance.Rows |
C# | |
---|---|
public int Rows {get; set;} |
Property Value
Integer number of displayed rows in the list boxThis property sets the number of rows in the list box to display when the cell is in edit mode. When the user clicks on a cell and the list box editor control is displayed, the number of items that are displayed is determined by this property.
This property is available at run time only.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family