System::Windows::Forms::Control::ControlCollection class
Contents
[
Hide
]ControlCollection class
Collection of controls. Not implemented.
class ControlCollection : public System::Collections::Generic::IList<System::SharedPtr<Control>>
Methods
Method | Description |
---|---|
Add(const System::SharedPtr<Control>&) override | Adds control into collection. |
virtual AddRange(System::ArrayPtr<System::SharedPtr<Control>>) | Adds several controls into collection. |
Clear() override | Deletes all controls from collection. |
Contains(const System::SharedPtr<Control>&) const override | Checks if specific control is present in collection. |
virtual ContainsKey(System::String) const | Checks if control with specific name is present in collection. |
ControlCollection(const System::SharedPtr<Control>&) | Constructor. |
CopyTo(System::ArrayPtr<System::SharedPtr<Control>>, int) override | Copies collection contents into existing array elements. |
Find(const System::String&, bool) const | Looks for the named control in collection. Optionally checks contained controls’ collections recursively. |
get_Count() const override | Gets number of controls in collection. |
get_Owner() const | Gets collection owner control. |
GetChildIndex(const System::SharedPtr<Control>&) const | Looks for specific control. |
virtual GetChildIndex(const System::SharedPtr<Control>&, bool) const | Looks for specific control. |
GetEnumerator() override | Gets enumerator to iterate through collection. |
idx_get(int) const override | By-index accessor. |
virtual idx_get(System::String) const | By-name accessor. |
idx_set(int, System::SharedPtr<Control>) override | By-index accessor. |
virtual idx_set(System::String, System::SharedPtr<Control>) | By-name accessor. |
IndexOf(const System::SharedPtr<Control>&) const override | Looks for control in collection. |
virtual IndexOfKey(System::String) const | Looks for named control in collection. |
Insert(int, const System::SharedPtr<Control>&) override | Inserts control into collection. |
Remove(const System::SharedPtr<Control>&) override | Removes control from collection. |
RemoveAt(int) override | Removes control from collection. |
virtual RemoveByKey(System::String) | Removes control from collection. |
virtual SetChildIndex(const System::SharedPtr<Control>&, int) | Moves control to a new position. |
See Also
- Class IList
- Class Control
- Namespace System::Windows::Forms
- Library Aspose.Page for C++