Property | Type | Description | |
---|---|---|---|
ApplicationBarProperty | |||
CartridgeProperty | |||
IsProgressBarVisibleProperty | |||
ProgressBarStatusTextProperty | |||
WherigoObjectProperty |
Method | Description | |
---|---|---|
BaseViewModel ( ) : System | ||
OnPageBackKeyPress ( CancelEventArgs e ) : void |
Called by pages when the back key is pressed.
|
|
OnPageNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e, NavigationContext navCtx ) : void |
Called by pages when they are navigated to.
|
|
OnPageNavigatingFrom ( System.Windows.Navigation.NavigatingCancelEventArgs e, NavigationContext navctx ) : void |
Called by the page when the navigation is leaving it.
|
Method | Description | |
---|---|---|
InitFromNavigation ( NavigationInfo nav ) : void |
Initializes the view model from the navigation context.
|
|
OnCoreGameStateChanged ( EngineGameState oldState, EngineGameState newState ) : void |
Called when the state of the game engine has changed.
|
|
OnCorePropertyChanged ( string propName ) : void |
Called when a property of the Wherigo Core has changed.
|
|
OnHasMessageBoxChanged ( bool hasMessageBox ) : void |
Called when a non-native message box appears or disappears. This allows view models to adjust their layout, such as removing application bars. The default implementation hides the application bar when a message box appears and shows it when a message box disappears. |
|
OnModelChanged ( Models newModel ) : void |
Called when the underlying model has changed.
|
|
OnModelChanging ( Models oldValue, Models newValue ) : void |
Called when the underlying model is changing.
|
|
OnPageBackKeyPressOverride ( CancelEventArgs e ) : void |
Called when an allowed back key pressed event has occured.
|
|
OnPageNavigatedBackToOverride ( ) : void |
Called when the user navigated back to page.
|
|
OnWherigoObjectChanged ( WF.Player.Core.WherigoObject obj ) : void |
Called when the associated Wherigo object has changed.
|
|
OnWherigoObjectPropertyChanged ( string propName ) : void |
Called when a property of the associated Wherigo object has changed.
|
Method | Description | |
---|---|---|
Core_PropertyChanged ( object sender, |
||
InitFromNavigationInternal ( NavigationInfo nav ) : void | ||
OnAppViewModelHasMessageBoxChanged ( object sender, |
||
OnApplicationBarChanged ( IApplicationBar bar ) : void | ||
OnApplicationBarPropertyChanged ( |
||
OnIsProgressBarVisibleChanged ( bool newValue ) : void | ||
OnIsProgressBarVisiblePropertyChanged ( |
||
OnModelChangingInternal ( Models oldValue, Models newValue ) : void | ||
OnWherigoObjectChangedInternal ( System.Windows.DependencyPropertyChangedEventArgs e ) : void | ||
RefreshApplicationBarIsVisible ( bool hasMessageBox = null, bool isProgressBarVisible = null ) : void | ||
WherigoObjectProperty_PropertyChanged ( |
||
WherigoObject_PropertyChanged ( object sender, System e ) : void |
protected InitFromNavigation ( NavigationInfo nav ) : void | ||
nav | NavigationInfo | |
return | void |
protected OnCoreGameStateChanged ( EngineGameState oldState, EngineGameState newState ) : void | ||
oldState | EngineGameState | State the engine had before the change occured. |
newState | EngineGameState | State the engine has now. |
return | void |
protected OnCorePropertyChanged ( string propName ) : void | ||
propName | string | Property that has changed. |
return | void |
protected OnHasMessageBoxChanged ( bool hasMessageBox ) : void | ||
hasMessageBox | bool | |
return | void |
protected OnModelChanged ( Models newModel ) : void | ||
newModel | Models | |
return | void |
protected OnModelChanging ( Models oldValue, Models newValue ) : void | ||
oldValue | Models | |
newValue | Models | |
return | void |
public OnPageBackKeyPress ( CancelEventArgs e ) : void | ||
e | CancelEventArgs | |
return | void |
protected OnPageBackKeyPressOverride ( CancelEventArgs e ) : void | ||
e | CancelEventArgs | |
return | void |
protected OnPageNavigatedBackToOverride ( ) : void | ||
return | void |
public OnPageNavigatedTo ( System.Windows.Navigation.NavigationEventArgs e, NavigationContext navCtx ) : void | ||
e | System.Windows.Navigation.NavigationEventArgs | |
navCtx | NavigationContext | |
return | void |
public OnPageNavigatingFrom ( System.Windows.Navigation.NavigatingCancelEventArgs e, NavigationContext navctx ) : void | ||
e | System.Windows.Navigation.NavigatingCancelEventArgs | |
navctx | NavigationContext | |
return | void |
protected OnWherigoObjectChanged ( WF.Player.Core.WherigoObject obj ) : void | ||
obj | WF.Player.Core.WherigoObject | |
return | void |
protected OnWherigoObjectPropertyChanged ( string propName ) : void | ||
propName | string | |
return | void |
public static DependencyProperty,System.Windows ApplicationBarProperty | ||
return |
public static DependencyProperty,System.Windows CartridgeProperty | ||
return |
public static DependencyProperty,System.Windows IsProgressBarVisibleProperty | ||
return |
public static DependencyProperty,System.Windows ProgressBarStatusTextProperty | ||
return |