November Happy Hour will be moved to Thursday December 5th.

Class PropertyTemplateContainer

Used for template context on property level

Inheritance
System.Object
PropertyTemplateContainer
Implements
System.Web.UI.INamingContainer
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class PropertyTemplateContainer : Control, INamingContainer

Constructors

PropertyTemplateContainer(PropertyData)

Constructor taking property as argument

Declaration
public PropertyTemplateContainer(PropertyData property)
Parameters
Type Name Description
PropertyData property

Property to host

Properties

DataItem

To support same syntax as System.Web.UI.WebControls.Repeater and others the current property is also available through DataItem

Declaration
public object DataItem { get; }
Property Value
Type Description
System.Object

Property

Property that is being hosted

Declaration
public PropertyData Property { get; }
Property Value
Type Description
PropertyData

Implements

System.Web.UI.INamingContainer

Extension Methods