IControlCollection

IControlCollection class

A collection of ActiveX controls.

The IControlCollection type exposes the following members:

Properties

Name Description
as_i_collection Returns ICollection class.
as_i_enumerable Returns IEnumerable class.

Indexer

Name Description
[index] Returns a control at the specified position.

Methods

Name Description
remove(item) Removes an ActiveX control from the collection.
remove_at(index) Removes an ActiveX control stored at specified position from the collection.
clear() Removes all controls from the collection.
add_control(control_type, x, y, width, height) Creates and adds a new control to the collection.

See Also