TableLayoutStyleCollection Class
Implements the basic functionality for a collection of table layout styles.
System.Windows.Forms::TableLayoutStyleCollection
System.Windows.Forms::TableLayoutColumnStyleCollection
System.Windows.Forms::TableLayoutRowStyleCollection
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
The TableLayoutStyleCollection type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of styles actually contained in the TableLayoutStyleCollection. |
![]() | Item | Gets or sets TableLayoutStyle at the specified index. |
| Name | Description | |
|---|---|---|
![]() | Add | Adds a new TableLayoutStyle to the end of the current collection. |
![]() | Clear | Disassociates the collection from its associated TableLayoutPanel and empties the collection. |
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RemoveAt | Removes the style at the specified index of the collection. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() | AsParallel | Enables parallelization of a query. (Defined by ParallelEnumerable.) |
![]() | AsQueryable | Converts an IEnumerable to an IQueryable. (Defined by Queryable.) |
![]() | Cast<TResult> | Casts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) |
![]() | OfType<TResult> | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection::CopyTo | For a description of this method, see the ICollection::CopyTo method. |
![]() ![]() | ICollection::IsSynchronized | For a description of this method, see the ICollection::IsSynchronized property. |
![]() ![]() | ICollection::SyncRoot | For a description of this method, see the ICollection::SyncRoot property. |
![]() ![]() | IEnumerable::GetEnumerator | For a description of this method, see the IEnumerable::GetEnumerator method. |
![]() ![]() | IList::Add | For a description of this method, see the IList::Add method. |
![]() ![]() | IList::Contains | For a description of this method, see the IList::Contains method. |
![]() ![]() | IList::IndexOf | For a description of this method, see the IList::IndexOf method. |
![]() ![]() | IList::Insert | For a description of this method, see the IList::Insert method. |
![]() ![]() | IList::IsFixedSize | For a description of this method, see the IList::IsFixedSize property. |
![]() ![]() | IList::IsReadOnly | For a description of this method, see the IList::IsReadOnly property. |
![]() ![]() | IList::Item | For a description of this method, see the IList::Item property. |
![]() ![]() | IList::Remove | For a description of this method, see the IList::Remove method. |
The TableLayoutStyleCollection class represents the collection of all the styles used to describe the columns or rows in an associated TableLayoutPanel. Classes derived from TableLayoutStyleCollection are specialized as follows:
A TableLayoutColumnStyleCollection aggregates column styles as a collection of ColumnStyle objects.
A TableLayoutRowStyleCollection aggregates row styles as a collection of RowStyle objects.
Most of the members of TableLayoutStyleCollection are implementations of IList.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

