C# Class ExamplesLibrary.GridViewVM

This view model demonstrates how to leverage the two-way data binding on both the server-side view model and the code-behind on the browser to build rich web applications with less efforts and less code complexity.
Inheritance: BaseVM
Mostra file Open project: dsuryd/dotNetify-Nancy-demo

Public Methods

Method Description
Employees_get ( string iKey ) : EmployeeInfo

By convention, when VMController receives a list item from the client, it will look for the function that starts with the list property name and ends with "_get" to access the list item for the purpose of updating its value.

GridViewVM ( ) : System

Constructor.

Private Methods

Method Description
Employee_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void

If employee info changed and is currently selected, make sure the displayed name and phone are updated too.

Method Details

Employees_get() public method

By convention, when VMController receives a list item from the client, it will look for the function that starts with the list property name and ends with "_get" to access the list item for the purpose of updating its value.
public Employees_get ( string iKey ) : EmployeeInfo
iKey string List item key.
return EmployeeInfo

GridViewVM() public method

Constructor.
public GridViewVM ( ) : System
return System