C# 클래스 ModernApp4Me.WP8.App.M4MPhoneApplicationPage

The basis class for all PhoneApplicationPages available in the framework.
상속: PhoneApplicationPage
파일 보기 프로젝트 열기: smartnsoft/ModernApp4Me

보호된 프로퍼티들

프로퍼티 타입 설명
connectivityContainer System.Windows.Controls.Panel
displayLoaderPanelNextTime bool
isMVVMUsed bool
isManagingProgressIndicatorItself bool
loadingPanel System.Windows.Controls.Panel
mainContener System.Windows.Controls.Panel
progressIndicator ProgressIndicator
viewModel ModernApp4Me.Core.ViewModel.M4MBaseViewModel

보호된 메소드들

메소드 설명
ComputeViewModel ( ) : Task

This is the place where to load the business objects, from memory, local persistence, via web services, necessary for the entity processing. This callback is invoked from a background thread, and not the UI thread. This method is invoked only once during the M4MPhoneApplicationPage life cycle. Never invoke this method, only the framework should, because this is a callback!

LoadQueryString ( ) : void

This is the place where to retrieve data from the NavigationContext.QueryString. This method is invoked before the M4MPhoneApplicationPage.ComputeViewModel().

OnDisplayConnectivityLayout ( ) : void

Override this in order to personnalize the user experience when a M4MConnectivityException occurs.

OnFullfillDisplayObjects ( ) : void

This is the place where the implementing class can initialize the previously retrieved graphical objects. This method is invoked only once during the M4MPhoneApplicationPage life cycle. It is ensured that this method will be invoked from the UI thread! Never invoke this method, only the framework should, because this is a callback!

OnNavigatedFrom ( System.Windows.Navigation.NavigationEventArgs e ) : void
OnNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e ) : void
Refresh ( ) : System.Threading.Tasks.Task

Invokes this method when you want to reload the business objects, from memory, local persistence, via web services, necessary for the entity processing.

RefreshViewModel ( ) : System.Threading.Tasks.Task

This is the place where you can update the M4MPhoneApplicationPage.viewModel after the invokation of the method M4MPhoneApplicationPage.Refresh(). This callback is invoked from a background thread, and not the UI thread. Never invoke this method, only the framework should, because this is a callback!

RetrieveConnectivityContainer ( ) : System.Windows.Controls.Panel

Override this in order to return the Panel which displays a particular message when a M4MConnectivityException is thrown. This Panel will be displayed or hidden automatically by the M4MPhoneApplicationPage during the life cycle.

RetrieveLoadingContainer ( ) : System.Windows.Controls.Panel

Override this in order to return the Panel which displays a particular message when the app is loading. This Panel will be displayed or hidden automatically by the M4MPhoneApplicationPage during the life cycle.

RetrieveMainContainer ( ) : System.Windows.Controls.Panel

Returns the Panel in which data are displayed. This Panel will be displayed or hidden automatically by the M4MPhoneApplicationPage during the life cycle.

RetrieveProgressIndicator ( ) : ProgressIndicator

Returns the ProgressIndicator of the M4MPhoneApplicationPage.

SendPage ( ) : void

Override this in order to send the PhoneApplicationPage when it is displayed.

메소드 상세

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

This is the place where to load the business objects, from memory, local persistence, via web services, necessary for the entity processing. This callback is invoked from a background thread, and not the UI thread. This method is invoked only once during the M4MPhoneApplicationPage life cycle. Never invoke this method, only the framework should, because this is a callback!
protected abstract ComputeViewModel ( ) : Task
리턴 Task

LoadQueryString() 보호된 메소드

This is the place where to retrieve data from the NavigationContext.QueryString. This method is invoked before the M4MPhoneApplicationPage.ComputeViewModel().
protected LoadQueryString ( ) : void
리턴 void

OnDisplayConnectivityLayout() 보호된 메소드

Override this in order to personnalize the user experience when a M4MConnectivityException occurs.
protected OnDisplayConnectivityLayout ( ) : void
리턴 void

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

This is the place where the implementing class can initialize the previously retrieved graphical objects. This method is invoked only once during the M4MPhoneApplicationPage life cycle. It is ensured that this method will be invoked from the UI thread! Never invoke this method, only the framework should, because this is a callback!
protected abstract OnFullfillDisplayObjects ( ) : void
리턴 void

OnNavigatedFrom() 보호된 메소드

protected OnNavigatedFrom ( System.Windows.Navigation.NavigationEventArgs e ) : void
e System.Windows.Navigation.NavigationEventArgs
리턴 void

OnNavigatedTo() 보호된 메소드

protected OnNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e ) : void
e System.Windows.Navigation.NavigationEventArgs
리턴 void

Refresh() 보호된 메소드

Invokes this method when you want to reload the business objects, from memory, local persistence, via web services, necessary for the entity processing.
protected Refresh ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

RefreshViewModel() 보호된 메소드

This is the place where you can update the M4MPhoneApplicationPage.viewModel after the invokation of the method M4MPhoneApplicationPage.Refresh(). This callback is invoked from a background thread, and not the UI thread. Never invoke this method, only the framework should, because this is a callback!
protected RefreshViewModel ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

RetrieveConnectivityContainer() 보호된 메소드

Override this in order to return the Panel which displays a particular message when a M4MConnectivityException is thrown. This Panel will be displayed or hidden automatically by the M4MPhoneApplicationPage during the life cycle.
protected RetrieveConnectivityContainer ( ) : System.Windows.Controls.Panel
리턴 System.Windows.Controls.Panel

RetrieveLoadingContainer() 보호된 메소드

Override this in order to return the Panel which displays a particular message when the app is loading. This Panel will be displayed or hidden automatically by the M4MPhoneApplicationPage during the life cycle.
protected RetrieveLoadingContainer ( ) : System.Windows.Controls.Panel
리턴 System.Windows.Controls.Panel

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

Returns the Panel in which data are displayed. This Panel will be displayed or hidden automatically by the M4MPhoneApplicationPage during the life cycle.
protected abstract RetrieveMainContainer ( ) : System.Windows.Controls.Panel
리턴 System.Windows.Controls.Panel

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

Returns the ProgressIndicator of the M4MPhoneApplicationPage.
protected abstract RetrieveProgressIndicator ( ) : ProgressIndicator
리턴 ProgressIndicator

SendPage() 보호된 메소드

Override this in order to send the PhoneApplicationPage when it is displayed.
protected SendPage ( ) : void
리턴 void

프로퍼티 상세

connectivityContainer 보호되어 있는 프로퍼티

protected Panel,System.Windows.Controls connectivityContainer
리턴 System.Windows.Controls.Panel

displayLoaderPanelNextTime 보호되어 있는 프로퍼티

protected bool displayLoaderPanelNextTime
리턴 bool

isMVVMUsed 보호되어 있는 프로퍼티

protected bool isMVVMUsed
리턴 bool

isManagingProgressIndicatorItself 보호되어 있는 프로퍼티

protected bool isManagingProgressIndicatorItself
리턴 bool

loadingPanel 보호되어 있는 프로퍼티

protected Panel,System.Windows.Controls loadingPanel
리턴 System.Windows.Controls.Panel

mainContener 보호되어 있는 프로퍼티

protected Panel,System.Windows.Controls mainContener
리턴 System.Windows.Controls.Panel

progressIndicator 보호되어 있는 프로퍼티

protected ProgressIndicator progressIndicator
리턴 ProgressIndicator

viewModel 보호되어 있는 프로퍼티

protected M4MBaseViewModel,ModernApp4Me.Core.ViewModel viewModel
리턴 ModernApp4Me.Core.ViewModel.M4MBaseViewModel