Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread.Model Namespace / DefaultSheetSelectionModel Class / ClearSelection Method
Example


In This Topic
    ClearSelection Method (DefaultSheetSelectionModel)
    In This Topic
    Removes the selection.
    Syntax
    'Declaration
     
    
    Public Overrides Sub ClearSelection() 
    'Usage
     
    
    Dim instance As DefaultSheetSelectionModel
     
    instance.ClearSelection()
    public override void ClearSelection()
    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