Class ViewModelSample
- Namespace
- Dynamicweb.Examples.Rendering
- Assembly
- Dynamicweb.Examples.dll
ViewModelSample shows how to implement a view model.
The class inherits from ViewModelBase so that it can be used in a view model template.
public class ViewModelSample : ViewModelBase
- Inheritance
-
ViewModelSample
- Inherited Members
Constructors
ViewModelSample()
public ViewModelSample()
Properties
Number
public int Number { get; set; }
Property Value
Text
public string Text { get; set; }