Class CheckBoxCollection
Represents worksheet's textbox collection.
Implements
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class CheckBoxCollection : CollectionBaseEx<object>, IList<object>, ICollection<object>, IEnumerable<object>, IEnumerable, IParentApplication, ICloneParent, ICheckBoxes
Constructors
CheckBoxCollection(IApplication, object)
Initializes new instance of the collection.
Declaration
public CheckBoxCollection(IApplication application, object parent)
Parameters
| Type | Name | Description |
|---|---|---|
| IApplication | application | Application object for the new instance. |
| object | parent | Parent object for the new instance. |
Properties
this[int]
Returns single item from the collection.
Declaration
public ICheckBoxShape this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| int | index | Index of the item to get. |
Property Value
| Type | Description |
|---|---|
| ICheckBoxShape | Single item from the collection. |
this[string]
Gets single item from the collection.
Declaration
public ICheckBoxShape this[string name] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Name of the item to get. |
Property Value
| Type | Description |
|---|---|
| ICheckBoxShape | Single item from the collection. |
Methods
AddCheckBox(ICheckBoxShape)
Adds new item to the collection.
Declaration
public void AddCheckBox(ICheckBoxShape checkbox)
Parameters
| Type | Name | Description |
|---|---|---|
| ICheckBoxShape | checkbox | Checkbox to add. |
AddCheckBox(int, int, int, int)
Adds new textbox to the collection.
Declaration
public ICheckBoxShape AddCheckBox(int row, int column, int height, int width)
Parameters
| Type | Name | Description |
|---|---|---|
| int | row | Top row for the new shape. |
| int | column | Left column for the new shape. |
| int | height | Height in pixels of the new shape. |
| int | width | Width in pixels of the new shape. |
Returns
| Type | Description |
|---|---|
| ICheckBoxShape | Newly created TextBox object. |