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
TPropertiesType
Type of the component properties.
- Inheritance
-
objectComponentViewModel<TPropertiesType>TemplateViewModel<TPropertiesType>
- Inherited Members
- Extension Methods
Methods
GetTemplateModel<T>()
Gets page template model.
public T GetTemplateModel<T>()
Returns
- T
Type Parameters
T