Spread ASP.NET 16
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetSelectionModel Class / IsAnyCellInRowSelected Method
Row to check
Example


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

    Parameters

    row
    Row to check

    Return Value

    true if any cell in the specified row is selected; 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