Table of Contents

Class ViewModelTemplateSample

Namespace
Dynamicweb.Examples.Rendering
Assembly
Dynamicweb.Examples.dll
ViewModelTemplateSample shows how to use a view model.
public class ViewModelTemplateSample
Inheritance
ViewModelTemplateSample
Inherited Members

Methods

RenderViewModel()

How to render a view model.
public string RenderViewModel()

Returns

string

RenderViewModelOrTags()

How to render a view model or template tags depending on the selected template.
public string RenderViewModelOrTags()

Returns

string
To top