Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetSelectionModel Class / IsSelected Method
Row index of the cell
Column index of the cell
Example


In This Topic
    IsSelected Method (DefaultSheetSelectionModel)
    In This Topic
    Determines whether the specified cell is in the selection.
    Syntax
    'Declaration
     
    
    Public Overrides Function IsSelected( _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) As Boolean
    'Usage
     
    
    Dim instance As DefaultSheetSelectionModel
    Dim row As Integer
    Dim column As Integer
    Dim value As Boolean
     
    value = instance.IsSelected(row, column)
    public override bool IsSelected( 
       int row,
       int column
    )

    Parameters

    row
    Row index of the cell
    column
    Column index of the cell

    Return Value

    true if the cell is in a selection; false otherwise
    Example
    This example uses a DefaultSheetSelectionModel as the 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 removed in a button click event.
    See Also