FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > ComboBoxCellType クラス : AutoCompleteMode プロパティ |
'Declaration Public Property AutoCompleteMode As AutoCompleteMode
'使用法 Dim instance As ComboBoxCellType Dim value As AutoCompleteMode instance.AutoCompleteMode = value value = instance.AutoCompleteMode
public AutoCompleteMode AutoCompleteMode {get; set;}
AutoCompleteStringCollection acsc = new AutoCompleteStringCollection(); acsc.AddRange(new string[]{"One", "Two", "Three", "Four"}); FarPoint.Win.Spread.CellType.ComboBoxCellType cb = new FarPoint.Win.Spread.CellType.ComboBoxCellType(); cb.Items = new string[]{"One", "Two", "Three", "Four"}; cb.Editable = true; cb.AutoCompleteCustomSource = acsc; cb.AutoCompleteMode = AutoCompleteMode.SuggestAppend; cb.AutoCompleteSource = AutoCompleteSource.CustomSource;
Dim acsc As New AutoCompleteStringCollection acsc.AddRange(New String() {"One", "Two", "Three", "Four"}) Dim cb As New FarPoint.Win.Spread.CellType.ComboBoxCellType cb.Items = New String() {"One", "Two", "Three", "Four"} cb.Editable = True cb.AutoCompleteCustomSource = acsc cb.AutoCompleteMode = AutoCompleteMode.SuggestAppend cb.AutoCompleteSource = AutoCompleteSource.CustomSource FpSpread1.ActiveSheet.Cells(0, 0).CellType = cb