C# Класс ExamplesLibrary.CompositeViewVM

This examples demonstrates how to compose a view from multiple sub-views that can communicate with each other. The CompositeViewVM is the master view model composed of two subordinate view models, GridViewVM and TreeViewVM. The master view model doesn't have any view, its only purpose is to manage its sub view models, which includes instantiation and enabling the communication through Observer pattern.
Наследование: BaseVM
Показать файл Открыть проект

Открытые методы

Метод Описание
CompositeViewVM ( ) : DotNetify

Constructor.

GetSubVM ( string iVMTypeName ) : BaseVM

Override this method to allow the master view model handles instantiation of its sub view models. This is needed if the master VM needs to perform initialization on its sub VMs prior to binding with the views.

Описание методов

CompositeViewVM() публичный Метод

Constructor.
public CompositeViewVM ( ) : DotNetify
Результат DotNetify

GetSubVM() публичный Метод

Override this method to allow the master view model handles instantiation of its sub view models. This is needed if the master VM needs to perform initialization on its sub VMs prior to binding with the views.
public GetSubVM ( string iVMTypeName ) : BaseVM
iVMTypeName string
Результат BaseVM