Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetSelectionModel Class / Count Property
Example


In This Topic
    Count Property (DefaultSheetSelectionModel)
    In This Topic
    Gets the number of selections.
    Syntax
    'Declaration
     
    
    Public Overrides ReadOnly Property Count As Integer
    'Usage
     
    
    Dim instance As DefaultSheetSelectionModel
    Dim value As Integer
     
    value = instance.Count
    public override int Count {get;}

    Property Value

    Integer number of selections
    Remarks
    A selection is a selected range of cells.
    Example
    This example assigns a DefaultSheetSelectionModel to the default SelectionModel of the spreadsheet. A selection is added to object, and then several of the methods and properties are set and the values returned to a list box. The selection can be cleared in a button click event.
    See Also