Class ComboBoxCollection
This class represents collection of all combo box inside single worksheet.
Inheritance
System.Object
ComboBoxCollection
Implements
System.Collections.Generic.IList<IComboBoxShape>
System.Collections.Generic.ICollection<IComboBoxShape>
System.Collections.Generic.IEnumerable<IComboBoxShape>
System.Collections.IEnumerable
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class ComboBoxCollection : CollectionBaseEx<IComboBoxShape>, IList<IComboBoxShape>, ICollection<IComboBoxShape>, IEnumerable<IComboBoxShape>, IEnumerable, IParentApplication, ICloneParent, IComboBoxes
Constructors
ComboBoxCollection(IApplication, Object)
Initializes new instance of the collection.
Declaration
public ComboBoxCollection(IApplication application, object parent)
Parameters
Type | Name | Description |
---|---|---|
IApplication | application | Application object for the new collection. |
System.Object | parent | Parent object for the new collection. |
Properties
Item[String]
Gets single item from the collection.
Declaration
public IComboBoxShape this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of the item to get. |
Property Value
Type | Description |
---|---|
IComboBoxShape | Single item from the collection. |
Methods
AddComboBox(IComboBoxShape)
Adds new item to the collection.
Declaration
public void AddComboBox(IComboBoxShape combobox)
Parameters
Type | Name | Description |
---|---|---|
IComboBoxShape | combobox | Combobox to add. |
AddComboBox(Int32, Int32, Int32, Int32)
Adds new item to the collection.
Declaration
public IComboBoxShape AddComboBox(int row, int column, int height, int width)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | row | One-based row index of the top-left corner of the new item. |
System.Int32 | column | One-based column index of the top-left corner of the new item. |
System.Int32 | height | Height in pixels of the new item. |
System.Int32 | width | Width in pixels of the new item. |
Returns
Type | Description |
---|---|
IComboBoxShape | Newly added item. |
Implements
System.Collections.Generic.IList<>
System.Collections.Generic.ICollection<>
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable