FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.Model 名前空間 > DefaultSheetSelectionModel クラス : SelectionUnit プロパティ |
'Declaration Public Overrides Property SelectionUnit As SelectionUnit
'使用法 Dim instance As DefaultSheetSelectionModel Dim value As SelectionUnit instance.SelectionUnit = value value = instance.SelectionUnit
public override SelectionUnit SelectionUnit {get; set;}
FarPoint.Win.Spread.Model.DefaultSheetSelectionModel defselModel = new FarPoint.Win.Spread.Model.DefaultSheetSelectionModel();
fpSpread1.ActiveSheet.Models.Selection = defselModel;
defselModel.SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Cell | FarPoint.Win.Spread.Model.SelectionUnit.Row;
Dim defselModel As New FarPoint.Win.Spread.Model.DefaultSheetSelectionModel() FpSpread1.ActiveSheet.Models.Selection = defselModel defselModel.SelectionUnit = FarPoint.Win.Spread.Model.SelectionUnit.Column Or FarPoint.Win.Spread.Model.SelectionUnit.Row