TableLayoutStyleCollection TableLayoutStyleCollection TableLayoutStyleCollection TableLayoutStyleCollection Class

定義

實作資料表配置樣式集合的基本功能。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
繼承
TableLayoutStyleCollectionTableLayoutStyleCollectionTableLayoutStyleCollectionTableLayoutStyleCollection
衍生
實作

備註

TableLayoutStyleCollection類別代表用來描述資料行或資料列中有相關聯的所有樣式集合TableLayoutPanelThe 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是的實作IListMost of the members of TableLayoutStyleCollection are implementations of IList.

屬性

Count Count Count Count

取得中實際包含的樣式數目TableLayoutStyleCollectionGets the number of styles actually contained in the TableLayoutStyleCollection.

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

取得或設定TableLayoutStyle的指定索引處。Gets or sets TableLayoutStyle at the specified index.

方法

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

加入新TableLayoutStyle至目前集合的結尾。Adds a new TableLayoutStyle to the end of the current collection.

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

解除集合與其關聯的TableLayoutPanel然後清空此集合。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()

取得目前執行個體的 TypeGets the Type of the current instance.

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

建立目前 Object 的淺層複本 (Shallow Copy)。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)

明確介面實作

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

如需這個方法的說明,請參閱CopyTo(Array, Int32)方法。For a description of this method, see the CopyTo(Array, Int32) method.

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

如需這個方法的說明,請參閱IsSynchronized屬性。For a description of this method, see the IsSynchronized property.

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

如需這個方法的說明,請參閱SyncRoot屬性。For a description of this method, see the SyncRoot property.

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

如需這個方法的說明,請參閱GetEnumerator()方法。For a description of this method, see the GetEnumerator() method.

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

如需這個方法的說明,請參閱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)

如需這個方法的說明,請參閱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)

如需這個方法的說明,請參閱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)

如需這個方法的說明,請參閱Insert(Int32, Object)方法。For a description of this method, see the Insert(Int32, Object) method.

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

如需這個方法的說明,請參閱IsFixedSize屬性。For a description of this method, see the IsFixedSize property.

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

如需這個方法的說明,請參閱IsReadOnly屬性。For a description of this method, see the IsReadOnly property.

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

如需這個方法的說明,請參閱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)

如需這個方法的說明,請參閱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)

IEnumerable 的項目轉換成指定的型別。Casts the elements of an IEnumerable to the specified type.

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

根據指定的型別來篩選 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)

將轉換IEnumerableIQueryableConverts an IEnumerable to an IQueryable.

適用於

另請參閱