C# 클래스 Catel.Phone.Controls.PhoneApplicationPage

PhoneApplicationPage class that supports MVVM with Catel.
This control can resolve a view model in the following ways: By using the GetViewModelType() method. By using the IViewModelLocator which is registered in the IServiceLocator.
The view model of the view could not be resolved. Use either the method or .
상속: Microsoft.Phone.Controls.PhoneApplicationPage, IPhoneApplicationPage
파일 보기 프로젝트 열기: Catel/Catel

공개 메소드들

메소드 설명
PhoneApplicationPage ( ) : System

Initializes a new instance of the PhoneApplicationPage class.

It is not possible to inject view models (actually, you can't even pass view models during navigation in Windows Phone 7).

보호된 메소드들

메소드 설명
OnLoaded ( EventArgs e ) : void

Called when the page is loaded.

OnPropertyChanged ( PropertyChangedEventArgs e ) : void

Called when a dependency property on this control has changed.

OnUnloaded ( EventArgs e ) : void

Called when the page is unloaded.

OnViewModelChanged ( ) : void

Called when the ViewModel has changed.

This method does not implement any logic and saves a developer from subscribing/unsubscribing to the ViewModelChanged event inside the same user control.

OnViewModelPropertyChanged ( PropertyChangedEventArgs e ) : void

Called when a property on the current ViewModel has changed.

비공개 메소드들

메소드 설명
RaiseViewModelChanged ( ) : void

메소드 상세

OnLoaded() 보호된 메소드

Called when the page is loaded.
protected OnLoaded ( EventArgs e ) : void
e System.EventArgs The instance containing the event data.
리턴 void

OnPropertyChanged() 보호된 메소드

Called when a dependency property on this control has changed.
protected OnPropertyChanged ( PropertyChangedEventArgs e ) : void
e PropertyChangedEventArgs The instance containing the event data.
리턴 void

OnUnloaded() 보호된 메소드

Called when the page is unloaded.
protected OnUnloaded ( EventArgs e ) : void
e System.EventArgs The instance containing the event data.
리턴 void

OnViewModelChanged() 보호된 메소드

Called when the ViewModel has changed.
This method does not implement any logic and saves a developer from subscribing/unsubscribing to the ViewModelChanged event inside the same user control.
protected OnViewModelChanged ( ) : void
리턴 void

OnViewModelPropertyChanged() 보호된 메소드

Called when a property on the current ViewModel has changed.
protected OnViewModelPropertyChanged ( PropertyChangedEventArgs e ) : void
e PropertyChangedEventArgs The instance containing the event data.
리턴 void

PhoneApplicationPage() 공개 메소드

Initializes a new instance of the PhoneApplicationPage class.
It is not possible to inject view models (actually, you can't even pass view models during navigation in Windows Phone 7).
public PhoneApplicationPage ( ) : System
리턴 System