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