C# Class ViewModels.DashboardPanelVM

This example demonstrates how to build a web dashboard dynamically out of modular components or widgets. This panel view model dynamically identifies all the widget view model types from the current assembly and present them in a dropdown list. When a selection is made, the dashboard view will load the widget's view and view model asynchronously into the DOM. The widgets can interact with each other; see how it's done in the master view model DashboardVM.
Inheritance: BaseVM
Mostrar archivo Open project: dsuryd/dotNetify

Public Methods

Method Description
CreateWidgetVM ( string iWidgetTypeName, string iWidgetId ) : BaseVM

Creates the view model for a widget.

Method Details

CreateWidgetVM() public method

Creates the view model for a widget.
public CreateWidgetVM ( string iWidgetTypeName, string iWidgetId ) : BaseVM
iWidgetTypeName string
iWidgetId string
return BaseVM