PowerTools SPREAD for Windows Forms 8.0J
ListControl プロパティ (ComboBoxCellType)


リスト部分のコントロールを取得または設定します。
構文
'Declaration
 
Public Property ListControl As ListBox
'使用法
 
Dim instance As ComboBoxCellType
Dim value As ListBox
 
instance.ListControl = value
 
value = instance.ListControl
public ListBox ListControl {get; set;}

プロパティ値

リスト ボックス コントロールを含む ListBox オブジェクト
解説
このプロパティが使用できるのは実行時のみです。
FarPoint.Win.Spread.CellType.ComboBoxCellType cmbocell = new FarPoint.Win.Spread.CellType.ComboBoxCellType();
ListBox list = new ListBox();
list.Items.AddRange(new Object[] {"One", "Two", "Three"});
cmbocell.ListControl = list;
cmbocell.Items = (new String[] {"", "", ""});
fpSpread1.ActiveSheet.Columns[0].CellType = cmbocell;
Dim cmbocell As New FarPoint.Win.Spread.CellType.ComboBoxCellType()
Dim list As New ListBox()
cmbocell.Items() = (New String() {"", "", ""})
list.Items.AddRange(New Object() {"One", "Two", "Three"})
cmbocell.ListControl = list
FpSpread1.ActiveSheet.Columns(0).CellType = cmbocell
参照

ComboBoxCellType クラス
ComboBoxCellType メンバ

開発者ガイド

コンボボックス型セル

 

 


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