Adds a combobox control to a specified cell by range name.
Namespace: Spire.Spreadsheet.Forms.CollectionsAssembly: Spire.Spreadsheet (in Spire.Spreadsheet.dll) Version: 3.7.1.8020
Syntax
| C# | Visual Basic | Visual C++ | F# |
public IComboBoxControl AddComboBoxControl( string cellName, IList items )
Public Function AddComboBoxControl ( cellName As String, items As IList ) As IComboBoxControl
public: IComboBoxControl^ AddComboBoxControl( String^ cellName, IList^ items )
member AddComboBoxControl : cellName : string * items : IList -> IComboBoxControl
Parameters
- cellName
- String
Name of grid cell.
- items
- IList
The collection of the items contained in ComboBox.
Return Value
IComboBoxControlThe added combobox.