TableLayoutStyleCollection TableLayoutStyleCollection TableLayoutStyleCollection TableLayoutStyleCollection Class

Definition

Implements the basic functionality for a collection of table layout styles.

public ref class TableLayoutStyleCollection abstract : System::Collections::IList
public abstract class TableLayoutStyleCollection : System.Collections.IList
type TableLayoutStyleCollection = class
    interface IList
    interface ICollection
    interface IEnumerable
Public MustInherit Class TableLayoutStyleCollection
Implements IList
Inheritance
TableLayoutStyleCollectionTableLayoutStyleCollectionTableLayoutStyleCollectionTableLayoutStyleCollection
Derived
Implements

Remarks

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:

Most of the members of TableLayoutStyleCollection are implementations of IList.

Properties

Count Count Count Count

Gets the number of styles actually contained in the TableLayoutStyleCollection.

Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets or sets TableLayoutStyle at the specified index.

Methods

Add(TableLayoutStyle) Add(TableLayoutStyle) Add(TableLayoutStyle) Add(TableLayoutStyle)

Adds a new TableLayoutStyle to the end of the current collection.

Clear() Clear() Clear() Clear()

Disassociates the collection from its associated TableLayoutPanel and empties the collection.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

Removes the style at the specified index of the collection.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)

For a description of this method, see the CopyTo(Array, Int32) method.

ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

For a description of this method, see the IsSynchronized property.

ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

For a description of this method, see the SyncRoot property.

IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator() IEnumerable.GetEnumerator()

For a description of this method, see the GetEnumerator() method.

IList.Add(Object) IList.Add(Object) IList.Add(Object) IList.Add(Object)

For a description of this method, see the Add(Object) method.

IList.Contains(Object) IList.Contains(Object) IList.Contains(Object) IList.Contains(Object)

For a description of this method, see the Contains(Object) method.

IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object) IList.IndexOf(Object)

For a description of this method, see the IndexOf(Object) method.

IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object) IList.Insert(Int32, Object)

For a description of this method, see the Insert(Int32, Object) method.

IList.IsFixedSize IList.IsFixedSize IList.IsFixedSize IList.IsFixedSize

For a description of this method, see the IsFixedSize property.

IList.IsReadOnly IList.IsReadOnly IList.IsReadOnly IList.IsReadOnly

For a description of this method, see the IsReadOnly property.

IList.Item[Int32] IList.Item[Int32] IList.Item[Int32] IList.Item[Int32]

For a description of this method, see the Item[Int32] property.

IList.Remove(Object) IList.Remove(Object) IList.Remove(Object) IList.Remove(Object)

For a description of this method, see the Remove(Object) method.

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

See also