C# Класс ModernApp4Me.WP8.App.M4MPhoneApplicationPage

The basis class for all PhoneApplicationPages available in the framework.
Наследование: PhoneApplicationPage
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
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