Upraviť

Zdieľať cez


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
TableLayoutStyleCollection
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

Gets the number of styles actually contained in the TableLayoutStyleCollection.

Item[Int32]

Gets or sets TableLayoutStyle at the specified index.

Methods

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)
GetHashCode()

Serves as the default hash function.

(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(Int32)

Removes the style at the specified index of the collection.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

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

ICollection.IsSynchronized

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

ICollection.SyncRoot

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

IEnumerable.GetEnumerator()

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

IList.Add(Object)

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

IList.Contains(Object)

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

IList.IndexOf(Object)

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

IList.Insert(Int32, Object)

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

IList.IsFixedSize

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

IList.IsReadOnly

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

IList.Item[Int32]

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

IList.Remove(Object)

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

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to

See also