Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / ListBoxCellType Class / Rows Property
Example


In This Topic
    Rows Property (ListBoxCellType)
    In This Topic
    Gets or sets the number of items to display when when editing the list.
    Syntax
    'Declaration
     
    
    Public Property Rows As Integer
    'Usage
     
    
    Dim instance As ListBoxCellType
    Dim value As Integer
     
    instance.Rows = value
     
    value = instance.Rows
    public int Rows {get; set;}

    Property Value

    Integer number of items (rows) of the list box to display
    Remarks

    This 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.

    Example
    This example creates a list box cell type and assigns it to the first cell in the sheet with a list of three items and displays two of them at any time.
    See Also