コンボボックス型セルで標準コントロールと同じようにアイテムを追加できますか?
対象製品
El Tabelle for .NET 3.0J
詳細
できます。El Tabelle のコンボボックス型セルは、標準のコンボボックス コントロールと同じようにアイテムをコレクションで保持しています。このため、Add メソッドを使った順次追加や Item プロパティによる参照が可能です。
[Visual Basic]
[C#]
[Visual Basic]
Dim objComboBoxEditor As GrapeCity.Win.ElTabelle.Editors.ComboBoxEditor = _
New GrapeCity.Win.ElTabelle.Editors.ComboBoxEditor()
objComboBoxEditor.Items.Add("AAA")
objComboBoxEditor.Items.Add("BBB")
objComboBoxEditor.Items.Add("CCC")
New GrapeCity.Win.ElTabelle.Editors.ComboBoxEditor()
objComboBoxEditor.Items.Add("AAA")
objComboBoxEditor.Items.Add("BBB")
objComboBoxEditor.Items.Add("CCC")
[C#]
GrapeCity.Win.ElTabelle.Editors.ComboBoxEditor objComboBoxEditor =
new GrapeCity.Win.ElTabelle.Editors.ComboBoxEditor();
objComboBoxEditor.Items.Add("AAA");
objComboBoxEditor.Items.Add("BBB");
objComboBoxEditor.Items.Add("CCC");
new GrapeCity.Win.ElTabelle.Editors.ComboBoxEditor();
objComboBoxEditor.Items.Add("AAA");
objComboBoxEditor.Items.Add("BBB");
objComboBoxEditor.Items.Add("CCC");
この文書は、以前は次のFAQ IDで公開されていました : 8107