C# 클래스 SilverlightFX.Data.DataSource

상속: System.Windows.Controls.ContentControl, IAsyncControl
파일 보기 프로젝트 열기: nikhilk/silverlightfx

Private Properties

프로퍼티 타입 설명
LoadDataNow void
OnAsyncDataLoaded void
OnDataLoadTimerTick void
OnDataLoaded void
OnLoaded void
OnRefreshTimerTick void

공개 메소드들

메소드 설명
ClearData ( ) : void

Clears the currently loaded data.

LoadData ( ) : void

Notifies the data source to load data.

보호된 메소드들

메소드 설명
DataSource ( ) : System

Initializes an instance of a DataSource control.

LoadDataCore ( bool retrieveEstimatedTotalCount, bool &canceled, int &estimatedTotalCount ) : object

Performs the work needed to actually load the data from the underlying source represented by this data source.

OnLoaded ( ) : void

Performs initialization work once the control has been loaded.

RaiseError ( string message, Exception e ) : void

Raises the Error event.

비공개 메소드들

메소드 설명
LoadDataNow ( ) : void
OnAsyncDataLoaded ( object sender, EventArgs e ) : void
OnDataLoadTimerTick ( object sender, EventArgs e ) : void
OnDataLoaded ( IEnumerable data, int estimatedTotalCount ) : void
OnLoaded ( object sender, EventArgs e ) : void
OnRefreshTimerTick ( object sender, EventArgs e ) : void

메소드 상세

ClearData() 공개 메소드

Clears the currently loaded data.
public ClearData ( ) : void
리턴 void

DataSource() 보호된 메소드

Initializes an instance of a DataSource control.
protected DataSource ( ) : System
리턴 System

LoadData() 공개 메소드

Notifies the data source to load data.
public LoadData ( ) : void
리턴 void

LoadDataCore() 보호된 추상적인 메소드

Performs the work needed to actually load the data from the underlying source represented by this data source.
protected abstract LoadDataCore ( bool retrieveEstimatedTotalCount, bool &canceled, int &estimatedTotalCount ) : object
retrieveEstimatedTotalCount bool Whether to try and retrieve the estimated total count.
canceled bool Whether the loading has been canceled.
estimatedTotalCount int The estimate total count of items in the underlying source. -1 if not available.
리턴 object

OnLoaded() 보호된 메소드

Performs initialization work once the control has been loaded.
protected OnLoaded ( ) : void
리턴 void

RaiseError() 보호된 메소드

Raises the Error event.
protected RaiseError ( string message, Exception e ) : void
message string The error message.
e System.Exception Any exception associated with the error.
리턴 void