Click or drag to resize
ComponentViewModelTPropertiesType Class
View model for a component with properties.
Inheritance Hierarchy
SystemObject
  Kentico.PageBuilder.Web.MvcComponentViewModel
    Kentico.PageBuilder.Web.MvcComponentViewModelTPropertiesType

Namespace: Kentico.PageBuilder.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public class ComponentViewModel<TPropertiesType> : ComponentViewModel
where TPropertiesType : class, new(), IComponentProperties

Type Parameters

TPropertiesType
Type of the component properties.

The ComponentViewModelTPropertiesType type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyPage
Page where the component is placed.
(Inherited from ComponentViewModel.)
Public propertyProperties
Component properties.
Top
Methods
  NameDescription
Public methodStatic memberCreate
Creates a new instance of a ComponentViewModel.
Top
See Also