Свойство | Тип | Описание | |
---|---|---|---|
InitializeViewModel | void | ||
OnViewModelChanged | void | ||
OnViewModelContainerPropertyChanged | void | ||
OnViewModelPropertyChanged | void | ||
TransferValue | void | ||
UninitializeViewModel | void | ||
UninitializeViewToViewModelMappings | void |
Метод | Описание | |
---|---|---|
InitializeViewToViewModelMappings ( IViewModelContainer viewModelContainer ) : void |
Initializes the ViewToViewModelMapping for the specified IViewModelContainer.
|
|
UninitializeViewToViewModelMappings ( IViewModelContainer viewModelContainer ) : void |
Uninitializes the ViewToViewModelMapping for the specified IViewModelContainer.
|
|
ViewToViewModelMappingHelper ( IViewModelContainer viewModelContainer ) : System |
Initializes a new instance of the ViewToViewModelMappingHelper class.
|
Метод | Описание | |
---|---|---|
TransferValueFromViewModelToView ( IViewModel viewModel, string viewPropertyName, string viewModelPropertyName ) : void |
Transfers the value from a view model property to the view property. This method does not check the type of the properties. If the types are incorrect, an exception will be thrown by the .NET Framework. |
|
TransferValueFromViewToViewModel ( IViewModel viewModel, string viewPropertyName, string viewModelPropertyName ) : void |
Transfers the value from a view property to the view model property. This method does not check the type of the properties. If the types are incorrect, an exception will be thrown by the .NET Framework. |
Метод | Описание | |
---|---|---|
InitializeViewModel ( IViewModel viewModel ) : void |
Initializes the specified view model.
|
|
OnViewModelChanged ( object sender, |
Called when the view model on the view model container has changed.
|
|
OnViewModelContainerPropertyChanged ( object sender, |
Called when a property on the view model container has changed.
|
|
OnViewModelPropertyChanged ( object sender, |
Called when a property on the view model has changed.
|
|
TransferValue ( object source, string sourcePropertyName, object target, string targetPropertyName ) : void |
Transfers a value from the source property to the target property. This method does not check the type of the properties. If the types are incorrect, an exception will be thrown by the .NET Framework. |
|
UninitializeViewModel ( IViewModel viewModel ) : void |
Uninitializes the specified view model.
|
|
UninitializeViewToViewModelMappings ( ) : void |
Uninitializes the ViewToViewModelMapping for the registered IViewModelContainer.
|
public static InitializeViewToViewModelMappings ( IViewModelContainer viewModelContainer ) : void | ||
viewModelContainer | IViewModelContainer | The view model container to initialize the mappings for. |
Результат | void |
protected TransferValueFromViewModelToView ( IViewModel viewModel, string viewPropertyName, string viewModelPropertyName ) : void | ||
viewModel | IViewModel | The view model. |
viewPropertyName | string | Name of the view property. |
viewModelPropertyName | string | Name of the view model property. |
Результат | void |
protected TransferValueFromViewToViewModel ( IViewModel viewModel, string viewPropertyName, string viewModelPropertyName ) : void | ||
viewModel | IViewModel | The view model. |
viewPropertyName | string | Name of the view property. |
viewModelPropertyName | string | Name of the view model property. |
Результат | void |
public static UninitializeViewToViewModelMappings ( IViewModelContainer viewModelContainer ) : void | ||
viewModelContainer | IViewModelContainer | The view model container the uninitialize the mappings for. |
Результат | void |
public ViewToViewModelMappingHelper ( IViewModelContainer viewModelContainer ) : System | ||
viewModelContainer | IViewModelContainer | The view model container. |
Результат | System |