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
Afficher le fichier Open project: dsuryd/dotNetify-Nancy-demo

Méthodes publiques

Méthode 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

Méthode 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 méthode

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.
Résultat EmployeeInfo

GridViewVM() public méthode

Constructor.
public GridViewVM ( ) : System
Résultat System