PowerTools SPREAD for Windows Forms 10.0J
SelectionMode プロパティ


リストの選択モードを取得または設定します。
構文
'Declaration
 
Public Property SelectionMode As SelectionMode
'使用法
 
Dim instance As ListBoxCellType
Dim value As SelectionMode
 
instance.SelectionMode = value
 
value = instance.SelectionMode
public SelectionMode SelectionMode {get; set;}
次のサンプルコードは、選択モードを設定します。
FarPoint.Win.Spread.CellType.ListBoxCellType listcell = new FarPoint.Win.Spread.CellType.ListBoxCellType();
listcell.SelectionMode = SelectionMode.MultiSimple;
listcell.ItemData = new string[] { "One", "Two", "Three"};
listcell.Items = new string[] { "One", "Two", "Three"};
fpSpread1.Sheets[0].Cells[0, 0].CellType = listcell;
Dim listcell As New FarPoint.Win.Spread.CellType.ListBoxCellType()
listcell.SelectionMode = SelectionMode.MultiSimple
listcell.ItemData = New String() {"One", "Two", "Three"}
listcell.Items = New String() {"One", "Two", "Three"}
FpSpread1.Sheets(0).Cells(0, 0).CellType = listcell
参照

ListBoxCellType クラス
ListBoxCellType メンバ

 

 


© 2004-2017, GrapeCity inc. All rights reserved.