Class CheckBoxCollection
Represents worksheet's textbox collection.
Inheritance
System.Object
CollectionBase<System.Object>
CollectionBaseEx<System.Object>
CheckBoxCollection
Implements
System.Collections.Generic.IList<System.Object>
System.Collections.Generic.ICollection<System.Object>
System.Collections.Generic.IEnumerable<System.Object>
System.Collections.IEnumerable
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Collections
Assembly: Syncfusion.XlsIO.UWP.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. |
System.Object | parent | Parent object for the new instance. |
Properties
Item[Int32]
Returns single item from the collection.
Declaration
public ICheckBoxShape this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index of the item to get. |
Property Value
Type | Description |
---|---|
ICheckBoxShape | Single item from the collection. |
Item[String]
Gets single item from the collection.
Declaration
public ICheckBoxShape this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.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(Int32, Int32, Int32, Int32)
Adds new textbox to the collection.
Declaration
public ICheckBoxShape AddCheckBox(int row, int column, int height, int width)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | row | Top row for the new shape. |
System.Int32 | column | Left column for the new shape. |
System.Int32 | height | Height in pixels of the new shape. |
System.Int32 | width | Width in pixels of the new shape. |
Returns
Type | Description |
---|---|
ICheckBoxShape | Newly created TextBox object. |
Implements
System.Collections.Generic.IList<>
System.Collections.Generic.ICollection<>
System.Collections.Generic.IEnumerable<>
System.Collections.IEnumerable