IBindingListView IBindingListView IBindingListView IBindingListView Interface

定義

提供進階排序和篩選功能,以擴充 IBindingList 介面。Extends the IBindingList interface by providing advanced sorting and filtering capabilities.

public interface class IBindingListView : System::Collections::IList, System::ComponentModel::IBindingList
public interface IBindingListView : System.Collections.IList, System.ComponentModel.IBindingList
type IBindingListView = interface
    interface IBindingList
    interface IList
    interface ICollection
    interface IEnumerable
Public Interface IBindingListView
Implements IBindingList, IList
衍生
實作

備註

使用IBindingListView您介面,實作進階排序為一組屬性描述元方向組。With the IBindingListView interface, you implement advanced sorting as a set of property descriptor-direction pairs. 您可以實作以將資料來源實作由解譯字串篩選。You implement filtering as a string to be interpreted by the data source implementation. IBindingListView介面由實作BindingSource類別。The IBindingListView interface is implemented by the BindingSource class.

屬性

AllowEdit AllowEdit AllowEdit AllowEdit

取得值,指出您是否可以更新清單中的項目。Gets whether you can update items in the list.

(Inherited from IBindingList)
AllowNew AllowNew AllowNew AllowNew

取得值,指出您是否可以使用 AddNew() 將項目加入清單。Gets whether you can add items to the list using AddNew().

(Inherited from IBindingList)
AllowRemove AllowRemove AllowRemove AllowRemove

取得值,指出您是否可以使用 Remove(Object)RemoveAt(Int32) 從清單移除項目。Gets whether you can remove items from the list, using Remove(Object) or RemoveAt(Int32).

(Inherited from IBindingList)
Count Count Count Count

取得 ICollection 中所包含的項目數。Gets the number of elements contained in the ICollection.

(Inherited from ICollection)
Filter Filter Filter Filter

取得或設定要用來從資料來源傳回之項目集合中排除項目的篩選條件。Gets or sets the filter to be used to exclude items from the collection of items returned by the data source

IsFixedSize IsFixedSize IsFixedSize IsFixedSize

取得值,指出 IList 是否有固定的大小。Gets a value indicating whether the IList has a fixed size.

(Inherited from IList)
IsReadOnly IsReadOnly IsReadOnly IsReadOnly

取得值,指出 IList 是否唯讀。Gets a value indicating whether the IList is read-only.

(Inherited from IList)
IsSorted IsSorted IsSorted IsSorted

取得值,指出清單中項目是否已排序。Gets whether the items in the list are sorted.

(Inherited from IBindingList)
IsSynchronized IsSynchronized IsSynchronized IsSynchronized

取得值,這個值表示對 ICollection 的存取是否同步 (安全執行緒)。Gets a value indicating whether access to the ICollection is synchronized (thread safe).

(Inherited from ICollection)
Item[Int32] Item[Int32] Item[Int32] Item[Int32]

在指定的索引位置上取得或設定項目。Gets or sets the element at the specified index.

(Inherited from IList)
SortDescriptions SortDescriptions SortDescriptions SortDescriptions

取得目前套用到資料來源中的排序描述集合。Gets the collection of sort descriptions currently applied to the data source.

SortDirection SortDirection SortDirection SortDirection

取得排序的方向。Gets the direction of the sort.

(Inherited from IBindingList)
SortProperty SortProperty SortProperty SortProperty

取得已經用來排序的 PropertyDescriptorGets the PropertyDescriptor that is being used for sorting.

(Inherited from IBindingList)
SupportsAdvancedSorting SupportsAdvancedSorting SupportsAdvancedSorting SupportsAdvancedSorting

取得值,指出資料來源是否支援進階排序。Gets a value indicating whether the data source supports advanced sorting.

SupportsChangeNotification SupportsChangeNotification SupportsChangeNotification SupportsChangeNotification

取得值,指出當清單變更或清單項目變更時是否引發 ListChanged 事件。Gets whether a ListChanged event is raised when the list changes or an item in the list changes.

(Inherited from IBindingList)
SupportsFiltering SupportsFiltering SupportsFiltering SupportsFiltering

取得值,指出資料來源是否支援篩選。Gets a value indicating whether the data source supports filtering.

SupportsSearching SupportsSearching SupportsSearching SupportsSearching

取得值,指出清單是否支援使用 Find(PropertyDescriptor, Object) 方法進行搜尋。Gets whether the list supports searching using the Find(PropertyDescriptor, Object) method.

(Inherited from IBindingList)
SupportsSorting SupportsSorting SupportsSorting SupportsSorting

取得值,指出清單是否支援排序。Gets whether the list supports sorting.

(Inherited from IBindingList)
SyncRoot SyncRoot SyncRoot SyncRoot

取得可用以同步存取 ICollection 的物件。Gets an object that can be used to synchronize access to the ICollection.

(Inherited from ICollection)

方法

Add(Object) Add(Object) Add(Object) Add(Object)

將項目加入至 IListAdds an item to the IList.

(Inherited from IList)
AddIndex(PropertyDescriptor) AddIndex(PropertyDescriptor) AddIndex(PropertyDescriptor) AddIndex(PropertyDescriptor)

PropertyDescriptor 加入用來搜尋的索引中。Adds the PropertyDescriptor to the indexes used for searching.

(Inherited from IBindingList)
AddNew() AddNew() AddNew() AddNew()

將新的項目加入至清單中。Adds a new item to the list.

(Inherited from IBindingList)
ApplySort(ListSortDescriptionCollection) ApplySort(ListSortDescriptionCollection) ApplySort(ListSortDescriptionCollection) ApplySort(ListSortDescriptionCollection)

根據指定的 ListSortDescriptionCollection 來排序資料來源。Sorts the data source based on the given ListSortDescriptionCollection.

ApplySort(PropertyDescriptor, ListSortDirection) ApplySort(PropertyDescriptor, ListSortDirection) ApplySort(PropertyDescriptor, ListSortDirection) ApplySort(PropertyDescriptor, ListSortDirection)

根據 PropertyDescriptorListSortDirection 來排序清單。Sorts the list based on a PropertyDescriptor and a ListSortDirection.

(Inherited from IBindingList)
Clear() Clear() Clear() Clear()

IList 中移除所有項目。Removes all items from the IList.

(Inherited from IList)
Contains(Object) Contains(Object) Contains(Object) Contains(Object)

判斷 IList 是否包含特定值。Determines whether the IList contains a specific value.

(Inherited from IList)
CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

從特定的 ICollection 索引開始,將 Array 的項目複製到 ArrayCopies the elements of the ICollection to an Array, starting at a particular Array index.

(Inherited from ICollection)
Find(PropertyDescriptor, Object) Find(PropertyDescriptor, Object) Find(PropertyDescriptor, Object) Find(PropertyDescriptor, Object)

傳回具有指定 PropertyDescriptor 的列索引。Returns the index of the row that has the given PropertyDescriptor.

(Inherited from IBindingList)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

傳回逐一查看集合的列舉值。Returns an enumerator that iterates through a collection.

(Inherited from IEnumerable)
IndexOf(Object) IndexOf(Object) IndexOf(Object) IndexOf(Object)

判斷 IList 中指定項目的索引。Determines the index of a specific item in the IList.

(Inherited from IList)
Insert(Int32, Object) Insert(Int32, Object) Insert(Int32, Object) Insert(Int32, Object)

將項目插入位於指定索引的 IListInserts an item to the IList at the specified index.

(Inherited from IList)
Remove(Object) Remove(Object) Remove(Object) Remove(Object)

IList 移除特定物件之第一個符合的元素。Removes the first occurrence of a specific object from the IList.

(Inherited from IList)
RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32) RemoveAt(Int32)

移除在指定索引處的 IList 項目。Removes the IList item at the specified index.

(Inherited from IList)
RemoveFilter() RemoveFilter() RemoveFilter() RemoveFilter()

移除目前套用至資料來源的篩選條件。Removes the current filter applied to the data source.

RemoveIndex(PropertyDescriptor) RemoveIndex(PropertyDescriptor) RemoveIndex(PropertyDescriptor) RemoveIndex(PropertyDescriptor)

從用來搜尋的索引中移除 PropertyDescriptorRemoves the PropertyDescriptor from the indexes used for searching.

(Inherited from IBindingList)
RemoveSort() RemoveSort() RemoveSort() RemoveSort()

移除任何使用 ApplySort(PropertyDescriptor, ListSortDirection) 的套用排序。Removes any sort applied using ApplySort(PropertyDescriptor, ListSortDirection).

(Inherited from IBindingList)

事件

ListChanged ListChanged ListChanged ListChanged

發生在清單變更或清單項目變更時。Occurs when the list changes or an item in the list changes.

(Inherited from IBindingList)

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.

適用於