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

ControlCollection class

مجموعة من عناصر التحكم. غير مُنفّذة.

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

الطرق

طريقةالوصف
Add(const System::SharedPtr<Control>&) overrideيضيف عنصر تحكم إلى المجموعة.
virtual AddRange(System::ArrayPtr<System::SharedPtr<Control>>)يضيف عدة عناصر تحكم إلى المجموعة.
Clear() overrideيحذف جميع عناصر التحكم من المجموعة.
Contains(const System::SharedPtr<Control>&) const overrideيتحقق مما إذا كان عنصر التحكم المحدد موجودًا في المجموعة.
virtual ContainsKey(System::String) constيتحقق مما إذا كان التحكم بالاسم المحدد موجودًا في المجموعة.
ControlCollection(const System::SharedPtr<Control>&)المُنشئ.
CopyTo(System::ArrayPtr<System::SharedPtr<Control>>, int) overrideينسخ محتويات المجموعة إلى عناصر المصفوفة الموجودة.
Find(const System::String&, bool) constيبحث عن التحكم المسمى في المجموعة. يختبر اختياريًا مجموعات التحكمات المحتواة بشكل متكرر.
get_Count() const overrideيحصل على عدد التحكمات في المجموعة.
get_Owner() constيحصل على التحكم المالك للمجموعة.
GetChildIndex(const System::SharedPtr<Control>&) constيبحث عن تحكم محدد.
virtual GetChildIndex(const System::SharedPtr<Control>&, bool) constيبحث عن تحكم محدد.
GetEnumerator() overrideيحصل على المُعدِّد للتنقل عبر المجموعة.
idx_get(int) const overrideمُدخل بالفهارس.
virtual idx_get(System::String) constمُدخل بالاسم.
idx_set(int, System::SharedPtr<Control>) overrideمُدخل بالفهارس.
virtual idx_set(System::String, System::SharedPtr<Control>)مُدخل بالاسم.
IndexOf(const System::SharedPtr<Control>&) const overrideيبحث عن التحكم في المجموعة.
virtual IndexOfKey(System::String) constيبحث عن التحكم المسمى في المجموعة.
Insert(int, const System::SharedPtr<Control>&) overrideيدرج التحكم في المجموعة.
Remove(const System::SharedPtr<Control>&) overrideيزيل التحكم من المجموعة.
RemoveAt(int) overrideيزيل التحكم من المجموعة.
virtual RemoveByKey(System::String)يزيل التحكم من المجموعة.
virtual SetChildIndex(const System::SharedPtr<Control>&, int)ينقل التحكم إلى موقع جديد.

انظر أيضًا