IBindingListView 介面

定義

提供進階排序和篩選功能,以擴充 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
衍生
實作

備註

使用 @no__t 0 介面,您可以將高階排序實作為一組屬性描述項方向配對。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. @No__t-0 介面是由 BindingSource 類別所執行。The IBindingListView interface is implemented by the BindingSource class.

屬性

AllowEdit

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

(繼承來源 IBindingList)
AllowNew

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

(繼承來源 IBindingList)
AllowRemove

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

(繼承來源 IBindingList)
Count

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

(繼承來源 ICollection)
Filter

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

IsFixedSize

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

(繼承來源 IList)
IsReadOnly

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

(繼承來源 IList)
IsSorted

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

(繼承來源 IBindingList)
IsSynchronized

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

(繼承來源 ICollection)
Item[Int32]

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

(繼承來源 IList)
SortDescriptions

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

SortDirection

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

(繼承來源 IBindingList)
SortProperty

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

(繼承來源 IBindingList)
SupportsAdvancedSorting

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

SupportsChangeNotification

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

(繼承來源 IBindingList)
SupportsFiltering

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

SupportsSearching

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

(繼承來源 IBindingList)
SupportsSorting

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

(繼承來源 IBindingList)
SyncRoot

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

(繼承來源 ICollection)

方法

Add(Object)

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

(繼承來源 IList)
AddIndex(PropertyDescriptor)

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

(繼承來源 IBindingList)
AddNew()

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

(繼承來源 IBindingList)
ApplySort(ListSortDescriptionCollection)

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

ApplySort(PropertyDescriptor, ListSortDirection)

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

(繼承來源 IBindingList)
Clear()

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

(繼承來源 IList)
Contains(Object)

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

(繼承來源 IList)
CopyTo(Array, Int32)

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

(繼承來源 ICollection)
Find(PropertyDescriptor, Object)

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

(繼承來源 IBindingList)
GetEnumerator()

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

(繼承來源 IEnumerable)
IndexOf(Object)

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

(繼承來源 IList)
Insert(Int32, Object)

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

(繼承來源 IList)
Remove(Object)

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

(繼承來源 IList)
RemoveAt(Int32)

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

(繼承來源 IList)
RemoveFilter()

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

RemoveIndex(PropertyDescriptor)

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

(繼承來源 IBindingList)
RemoveSort()

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

(繼承來源 IBindingList)

事件

ListChanged

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

(繼承來源 IBindingList)

擴充方法

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.

適用於