Spread Windows Forms 12.0 Product Documentation
ClearSelection Method (DefaultSheetSelectionModel)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > DefaultSheetSelectionModel Class : ClearSelection Method
Removes the selection.
Syntax
'Declaration
 
Public Overrides Sub ClearSelection() 
'Usage
 
Dim instance As DefaultSheetSelectionModel
 
instance.ClearSelection()
public override void ClearSelection()
Example
This example removes all of the selections from the model.
FarPoint.Win.Spread.Model.DefaultSheetSelectionModel defselModel = new FarPoint.Win.Spread.Model.DefaultSheetSelectionModel();
fpSpread1.ActiveSheet.Models.Selection. = defselModel;
defselModel.ClearSelection();
Dim defselModel As New FarPoint.Win.Spread.Model.DefaultSheetSelectionModel()
FpSpread1.ActiveSheet.Models.Selection = defselModel
defselModel.ClearSelection()
See Also

Reference

DefaultSheetSelectionModel Class
DefaultSheetSelectionModel Members