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) | ينقل التحكم إلى موقع جديد. |
انظر أيضًا
- Class IList
- Class Control
- Namespace System::Windows::Forms
- Library Aspose.Font for C++