FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.CellType Namespace > ComboBoxCellType Class : ListControl Property |
'Declaration Public Property ListControl As ListBox
'Usage Dim instance As ComboBoxCellType Dim value As ListBox instance.ListControl = value value = instance.ListControl
public ListBox ListControl {get; set;}
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
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows Server 2012 R2, Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10