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

TableLayoutStyleCollection 类表示用于描述关联 TableLayoutPanel中的列或行的所有样式的集合。The TableLayoutStyleCollection class represents the collection of all the styles used to describe the columns or rows in an associated TableLayoutPanel. 派生自 TableLayoutStyleCollection 的类专用于以下形式:Classes derived from TableLayoutStyleCollection are specialized as follows:

TableLayoutStyleCollection 的大多数成员是 IList的实现。Most of the members of TableLayoutStyleCollection are implementations of IList.

Properties

Count

获取 TableLayoutStyleCollection 中实际包含的样式数量。Gets the number of styles actually contained in the TableLayoutStyleCollection.

Item[Int32]

获取或设置指定索引处的 TableLayoutStyleGets or sets TableLayoutStyle at the specified index.

Methods

Add(TableLayoutStyle)

在当前集合的末尾添加一个新的 TableLayoutStyleAdds a new TableLayoutStyle to the end of the current collection.

Clear()

断开集合与关联的 TableLayoutPanel 之间的关联,并清空该集合。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()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

创建当前 Object 的浅表副本。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)

有关此方法的说明,请参见 CopyTo(Array, Int32) 方法。For a description of this method, see the CopyTo(Array, Int32) method.

ICollection.IsSynchronized

有关此方法的说明,请参见 IsSynchronized 属性。For a description of this method, see the IsSynchronized property.

ICollection.SyncRoot

有关此方法的说明,请参见 SyncRoot 属性。For a description of this method, see the SyncRoot property.

IEnumerable.GetEnumerator()

有关此方法的说明,请参见 GetEnumerator() 方法。For a description of this method, see the GetEnumerator() method.

IList.Add(Object)

有关此方法的说明,请参见 Add(Object) 方法。For a description of this method, see the Add(Object) method.

IList.Contains(Object)

有关此方法的说明,请参见 Contains(Object) 方法。For a description of this method, see the Contains(Object) method.

IList.IndexOf(Object)

有关此方法的说明,请参见 IndexOf(Object) 方法。For a description of this method, see the IndexOf(Object) method.

IList.Insert(Int32, Object)

有关此方法的说明,请参见 Insert(Int32, Object) 方法。For a description of this method, see the Insert(Int32, Object) method.

IList.IsFixedSize

有关此方法的说明,请参见 IsFixedSize 属性。For a description of this method, see the IsFixedSize property.

IList.IsReadOnly

有关此方法的说明,请参见 IsReadOnly 属性。For a description of this method, see the IsReadOnly property.

IList.Item[Int32]

有关此方法的说明,请参见 Item[Int32] 属性。For a description of this method, see the Item[Int32] property.

IList.Remove(Object)

有关此方法的说明,请参见 Remove(Object) 方法。For a description of this method, see the Remove(Object) method.

Extension Methods

Cast<TResult>(IEnumerable)

IEnumerable 的元素强制转换为指定的类型。Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

根据指定类型筛选 IEnumerable 的元素。Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

启用查询的并行化。Enables parallelization of a query.

AsQueryable(IEnumerable)

IEnumerable 转换为 IQueryableConverts an IEnumerable to an IQueryable.

Applies to

See also