Метод | Описание | |
---|---|---|
Activity ( ) : System |
Initializes a new instance of the Activity class.
|
Метод | Описание | |
---|---|---|
AddBindings ( BindingContext bindingContext, IViewModel viewModel ) : void |
Called when the bindings must be added. This can happen
|
|
OnPause ( ) : void |
Called as part of the activity lifecycle when an activity is going into the background, but has not (yet) been killed.
|
|
OnPropertyChanged ( |
Called when a dependency property on this control has changed.
|
|
OnResume ( ) : void |
Called when the view is loaded.
|
|
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 ( |
Called when a property on the current ViewModel has changed.
|
Метод | Описание | |
---|---|---|
InitializeBindingContext ( ) : void | ||
OnBindingUpdateRequired ( object sender, |
||
RaiseViewModelChanged ( ) : void | ||
UninitializeBindingContext ( ) : void |
protected AddBindings ( BindingContext bindingContext, IViewModel viewModel ) : void | ||
bindingContext | BindingContext | The binding context. |
viewModel | IViewModel | The view model. |
Результат | void |
protected OnPropertyChanged ( |
||
e | The |
|
Результат | void |
protected OnViewModelPropertyChanged ( |
||
e | The |
|
Результат | void |