Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetSelectionModel Class / IsAnyCellInColumnSelected Method
Column to check
Example


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

    Parameters

    column
    Column to check

    Return Value

    true if any cell in the specified column 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