TableLayoutStyleCollection Class
Implements the basic functionality for a collection of table layout styles.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
System.Windows.Forms::TableLayoutStyleCollection
System.Windows.Forms::TableLayoutColumnStyleCollection
System.Windows.Forms::TableLayoutRowStyleCollection
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of styles actually contained in the TableLayoutStyleCollection. |
![]() | Item[Int32] | Gets or sets TableLayoutStyle at the specified index. |
| Name | Description | |
|---|---|---|
![]() | Add(TableLayoutStyle^) | 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 the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | RemoveAt(Int32) | Removes the style at the specified index of the collection. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ICollection::CopyTo(Array^, Int32) | For a description of this method, see the ICollection::CopyTo method. |
![]() ![]() | IEnumerable::GetEnumerator() | For a description of this method, see the IEnumerable::GetEnumerator method. |
![]() ![]() | IList::Add(Object^) | For a description of this method, see the IList::Add method. |
![]() ![]() | IList::Contains(Object^) | For a description of this method, see the IList::Contains method. |
![]() ![]() | IList::IndexOf(Object^) | For a description of this method, see the IList::IndexOf method. |
![]() ![]() | IList::Insert(Int32, Object^) | For a description of this method, see the IList::Insert method. |
![]() ![]() | IList::Remove(Object^) | For a description of this method, see the IList::Remove 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. |
![]() ![]() | 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[Int32] | For a description of this method, see the IList::Item property. |
| Name | Description | |
|---|---|---|
![]() | AsParallel() | Overloaded. Enables parallelization of a query.(Defined by ParallelEnumerable.) |
![]() | AsQueryable() | Overloaded. 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.) |
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.
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.





