Class ActiveXControlCollection
Collections of ActiveX controls.
Inherited Members
Namespace: DRIT.Spreadsheet.Forms
Assembly: DRIT.Spreadsheet.dll
Syntax
public class ActiveXControlCollection : IEnumerable<ActiveXControl>, IEnumerable
Properties
Count
Gets the count of ActiveX controls.
Declaration
public int Count { get; }
Property Value
| Type | Description |
|---|---|
| int |
this[string]
Provides indexed access to values in the ActiveXControlCollection.
Declaration
public ActiveXControl this[string name] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Property Value
| Type | Description |
|---|---|
| ActiveXControl | The this returned by the operation. |
Methods
GetEnumerator()
Retrieves the requested enumerator from the ActiveXControlCollection.
Declaration
public IEnumerator<ActiveXControl> GetEnumerator()
Returns
| Type | Description |
|---|---|
| IEnumerator<ActiveXControl> | The get enumerator returned by the operation. |
Get<TC>(string)
Gets an ActiveX control by its name.
Declaration
public TC Get<TC>(string name) where TC : ActiveXControl
Parameters
| Type | Name | Description |
|---|---|---|
| string | name |
Returns
| Type | Description |
|---|---|
| TC | Null is the check box is not found. |
Type Parameters
| Name | Description |
|---|---|
| TC |