Spread Windows Forms 12.0 Product Documentation
DefaultSheetSelectionModel Constructor()
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > DefaultSheetSelectionModel Class > DefaultSheetSelectionModel Constructor : DefaultSheetSelectionModel Constructor()
Creates a default selection model.
Syntax
'Declaration
 
Public Function New()
'Usage
 
Dim instance As New DefaultSheetSelectionModel()
public DefaultSheetSelectionModel()
Example
This example creates a default selection model and uses it to add a selection to the active sheet.
FarPoint.Win.Spread.Model.DefaultSheetSelectionModel defselModel = new FarPoint.Win.Spread.Model.DefaultSheetSelectionModel();
fpSpread1.ActiveSheet.Models.Selection = defselModel;
defselModel.AddSelection(0,0,3,4);
Dim defselModel As New FarPoint.Win.Spread.Model.DefaultSheetSelectionModel()
FpSpread1.ActiveSheet.Models.Selection = defselModel
defselModel.AddSelection(0, 0, 3, 4)
See Also

Reference

DefaultSheetSelectionModel Class
DefaultSheetSelectionModel Members
Overload List