Class TemplateViewModel<TPropertiesType>
- Namespace
 - Kentico.Content.Web.Mvc.PageBuilder
 
- Assembly
 - Kentico.Content.Web.Mvc.dll
 
View model for page template with properties.
public class TemplateViewModel<TPropertiesType> : ComponentViewModel<TPropertiesType> where TPropertiesType : class, IComponentProperties, new()
  Type Parameters
TPropertiesTypeType of the component properties.
- Inheritance
 - 
      objectComponentViewModel<TPropertiesType>TemplateViewModel<TPropertiesType>
 
- Inherited Members
 
- Extension Methods
 
Constructors
TemplateViewModel()
public TemplateViewModel()
  Methods
GetTemplateModel<T>()
Gets page template model.
public T GetTemplateModel<T>()
  Returns
- T
 
Type Parameters
T