TableLayoutControlCollection Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a collection of child controls in a table layout container.
public ref class TableLayoutControlCollection : System::Windows::Forms::Control::ControlCollection
[System.ComponentModel.ListBindable(false)]
public class TableLayoutControlCollection : System.Windows.Forms.Control.ControlCollection
[<System.ComponentModel.ListBindable(false)>]
type TableLayoutControlCollection = class
inherit Control.ControlCollection
Public Class TableLayoutControlCollection
Inherits Control.ControlCollection
- Inheritance
- Attributes
The TableLayoutControlCollection class represents the collection of all the child controls in a TableLayoutPanel control. This collection is exposed by the Controls property of the TableLayoutPanel class. You can manage and individually manipulate members of the table layout panel through the TableLayoutControlCollection exposed by Controls.
The TableLayoutControlCollection class is a minor specialization of the Control.ControlCollection base class.
Table |
Initializes a new instance of the TableLayoutControlCollection class. |
Container |
Gets the parent TableLayoutPanel that contains the controls in the collection. |
Count |
Gets the number of elements contained in the collection. (Inherited from Control.ControlCollection) |
Is |
Gets a value that indicates whether this collection object is read-only. (Inherited from Control.ControlCollection) |
Item[Int32] |
Indicates the Control at the specified indexed location in the collection. (Inherited from Control.ControlCollection) |
Item[String] |
Indicates a Control with the specified key in the collection. (Inherited from Control.ControlCollection) |
Owner |
Gets the control that owns this Control.ControlCollection. (Inherited from Control.ControlCollection) |
Add(Control, Int32, Int32) |
Adds the specified control to the collection and positions it at the specified cell. |
Add(Control) |
Adds the specified control to the control collection. (Inherited from Control.ControlCollection) |
Add |
Adds an array of control objects to the collection. (Inherited from Control.ControlCollection) |
Clear() |
Removes all controls from the collection. (Inherited from Control.ControlCollection) |
Contains(Control) |
Determines whether the specified control is a member of the collection. (Inherited from Control.ControlCollection) |
Contains |
Determines whether the Control.ControlCollection contains an item with the specified key. (Inherited from Control.ControlCollection) |
Copy |
Copies the elements of the collection to an array, starting at a particular array index. (Inherited from Control.ControlCollection) |
Equals(Object) |
Specifies whether the current collection object and the specified object are equal. (Inherited from Control.ControlCollection) |
Find(String, Boolean) |
Searches for controls by their Name property and builds an array of all the controls that match. (Inherited from Control.ControlCollection) |
Get |
Retrieves the index of the specified child control within the control collection, and optionally raises an exception if the specified control is not within the control collection. (Inherited from Control.ControlCollection) |
Get |
Retrieves the index of the specified child control within the control collection. (Inherited from Control.ControlCollection) |
Get |
Retrieves a reference to an enumerator object that is used to iterate over a Control.ControlCollection. (Inherited from Control.ControlCollection) |
Get |
Returns the hash code for this instance. (Inherited from Control.ControlCollection) |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Index |
Retrieves the index of the specified control in the control collection. (Inherited from Control.ControlCollection) |
Index |
Retrieves the index of the first occurrence of the specified item within the collection. (Inherited from Control.ControlCollection) |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Remove(Control) |
Removes the specified control from the control collection. (Inherited from Control.ControlCollection) |
Remove |
Removes a control from the control collection at the specified indexed location. (Inherited from Control.ControlCollection) |
Remove |
Removes the child control with the specified key. (Inherited from Control.ControlCollection) |
Set |
Sets the index of the specified child control in the collection to the specified index value. (Inherited from Control.ControlCollection) |
To |
Returns a string that represents the current object. (Inherited from Object) |
ICloneable. |
This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see Clone(). (Inherited from Control.ControlCollection) |
ICollection. |
For a description of this member, see the IsSynchronized property. (Inherited from ArrangedElementCollection) |
ICollection. |
For a description of this member, see the SyncRoot property. (Inherited from ArrangedElementCollection) |
IList. |
This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see Add(Object). (Inherited from Control.ControlCollection) |
IList. |
For a description of this member, see the Clear() method. (Inherited from ArrangedElementCollection) |
IList. |
For a description of this member, see the IsFixedSize property. (Inherited from ArrangedElementCollection) |
IList. |
For a description of this member, see the Item[Int32] property. (Inherited from ArrangedElementCollection) |
IList. |
This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see Remove(Object). (Inherited from Control.ControlCollection) |
IList. |
For a description of this member, see the RemoveAt(Int32) method. (Inherited from ArrangedElementCollection) |
Cast<TResult>(IEnumerable) |
Casts the elements of an IEnumerable to the specified type. |
Of |
Filters the elements of an IEnumerable based on a specified type. |
As |
Enables parallelization of a query. |
As |
Converts an IEnumerable to an IQueryable. |
Produit | Versions |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :