C# 클래스 System.Windows.Data.DataList

An object that abstracts a collection of items and various capabilities of different collection interfaces.
상속: IIndexableCollection, IEditableCollection, IPageableCollection, INotifyPropertyChanged, INotifyCollectionChanged
파일 보기 프로젝트 열기: nikhilk/silverlightfx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
AddItem void
DataList System
EnsureSnapShot void
IEditableCollection object
IEditableCollection void
IEnumerable IEnumerator
IPageableCollection IEnumerable
OnSourceCollectionChanged void
RaiseCollectionChanged void
RaiseCollectionReset void
RaisePropertyChanged void
RemoveItem void
RemoveItem void
UpdateVersion void
VerifyValidItem void
this objectIIndexableCollection.System

공개 메소드들

메소드 설명
DataList ( IEnumerable data ) : System

Creates an instance of a DataList from the specified underlying data.

DataList ( IEnumerable data, Type itemType ) : System

Creates an instance of a DataList from the specified underlying data, and supplies the item type that goes into the list.

DataList ( IEnumerable data, bool enableCurrency ) : System

Creates an instance of a DataList from the specified underlying data.

MoveNext ( ) : void

Moves the current index forward.

MovePrevious ( ) : void

Moves the current index back.

MoveToItem ( object item ) : void

Sets the current item to the specified item.

UpdateFilter ( IPredicate predicate ) : void

Sets the predicate to use to filter the items contained in this DataList.

UpdateSort ( IComparer comparer ) : void

Sets the comparer to use to sort the items contained in this DataList.

this ( int index ) : object

Gets the item at the specified index within the underlying data.

비공개 메소드들

메소드 설명
AddItem ( object item, bool notifyPropertyChange ) : void
DataList ( IEnumerable data, bool enableCurrency, Type itemType ) : System
EnsureSnapShot ( ) : void
IEditableCollection ( ) : object
IEditableCollection ( object item ) : void
IEnumerable ( ) : IEnumerator
IPageableCollection ( int pageIndex, int pageSize ) : IEnumerable
OnSourceCollectionChanged ( object sender, NotifyCollectionChangedEventArgs e ) : void
RaiseCollectionChanged ( NotifyCollectionChangedAction action, object item, int index ) : void
RaiseCollectionReset ( ) : void
RaisePropertyChanged ( string propertyName ) : void
RemoveItem ( object item, bool notifyPropertyChange ) : void
RemoveItem ( object item, int index, bool notifyPropertyChange ) : void
UpdateVersion ( ) : void
VerifyValidItem ( object item ) : void
this ( int index ) : objectIIndexableCollection.System

메소드 상세

DataList() 공개 메소드

Creates an instance of a DataList from the specified underlying data.
public DataList ( IEnumerable data ) : System
data IEnumerable The underlying data to abstract.
리턴 System

DataList() 공개 메소드

Creates an instance of a DataList from the specified underlying data, and supplies the item type that goes into the list.
public DataList ( IEnumerable data, Type itemType ) : System
data IEnumerable
itemType System.Type
리턴 System

DataList() 공개 메소드

Creates an instance of a DataList from the specified underlying data.
public DataList ( IEnumerable data, bool enableCurrency ) : System
data IEnumerable The underlying data to abstract.
enableCurrency bool Whether to enable currency management.
리턴 System

MoveNext() 공개 메소드

Moves the current index forward.
public MoveNext ( ) : void
리턴 void

MovePrevious() 공개 메소드

Moves the current index back.
public MovePrevious ( ) : void
리턴 void

MoveToItem() 공개 메소드

Sets the current item to the specified item.
public MoveToItem ( object item ) : void
item object The item that should become the current item.
리턴 void

UpdateFilter() 공개 메소드

Sets the predicate to use to filter the items contained in this DataList.
public UpdateFilter ( IPredicate predicate ) : void
predicate IPredicate The predicate to use; null if no filter is to be applied.
리턴 void

UpdateSort() 공개 메소드

Sets the comparer to use to sort the items contained in this DataList.
public UpdateSort ( IComparer comparer ) : void
comparer IComparer The comparer to use; null if no sort is to be applied.
리턴 void

this() 공개 메소드

Gets the item at the specified index within the underlying data.
public this ( int index ) : object
index int The index to lookup.
리턴 object