System::Windows::Forms::Control::ControlCollection class

ControlCollection class

Collectie van besturingselementen. Niet geïmplementeerd.

class ControlCollection : public System::Collections::Generic::IList<System::SharedPtr<Control>>

Methoden

MethodeBeschrijving
Add(const System::SharedPtr<Control>&) overrideVoegt besturingselement toe aan collectie.
virtual AddRange(System::ArrayPtr<System::SharedPtr<Control>>)Voegt meerdere besturingselementen toe aan collectie.
Clear() overrideVerwijdert alle besturingselementen uit de collectie.
Contains(const System::SharedPtr<Control>&) const overrideControleert of een specifieke controle aanwezig is in de collectie.
virtual ContainsKey(System::String) constControleert of een controle met een specifieke naam aanwezig is in de collectie.
ControlCollection(const System::SharedPtr<Control>&)Constructor.
CopyTo(System::ArrayPtr<System::SharedPtr<Control>>, int) overrideKopieert de inhoud van de collectie naar bestaande array‑elementen.
Find(const System::String&, bool) constZoekt naar de benoemde controle in de collectie. Optioneel worden de collecties van ingesloten controles recursief gecontroleerd.
get_Count() const overrideHaalt het aantal controles in de collectie op.
get_Owner() constHaalt de eigenaar‑controle van de collectie op.
GetChildIndex(const System::SharedPtr<Control>&) constZoekt naar een specifieke controle.
virtual GetChildIndex(const System::SharedPtr<Control>&, bool) constZoekt naar een specifieke controle.
GetEnumerator() overrideHaalt enumerator op om door de collectie te itereren.
idx_get(int) const overrideToegang via index.
virtual idx_get(System::String) constToegang via naam.
idx_set(int, System::SharedPtr<Control>) overrideToegang via index.
virtual idx_set(System::String, System::SharedPtr<Control>)Toegang via naam.
IndexOf(const System::SharedPtr<Control>&) const overrideZoekt naar een controle in de collectie.
virtual IndexOfKey(System::String) constZoekt naar een benoemde controle in de collectie.
Insert(int, const System::SharedPtr<Control>&) overrideVoegt een controle toe aan de collectie.
Remove(const System::SharedPtr<Control>&) overrideVerwijdert een controle uit de collectie.
RemoveAt(int) overrideVerwijdert een controle uit de collectie.
virtual RemoveByKey(System::String)Verwijdert een controle uit de collectie.
virtual SetChildIndex(const System::SharedPtr<Control>&, int)Verplaatst een controle naar een nieuwe positie.

Zie ook