MESCIUS SPREAD for Windows Forms 17.0J
SelectionMode プロパティ

リストの選択モードを取得または設定します。
構文
'Declaration
 
Public Property SelectionMode As 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 メンバ

 

 


© MESCIUS inc. All rights reserved.