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

Class PropertyContentAreaControl

Property control used to render ContentArea.

Inheritance
System.Object
PropertyContentAreaControl
Implements
System.Web.UI.INamingContainer
Inherited Members
Namespace: EPiServer.Web.PropertyControls
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
public class PropertyContentAreaControl : PropertyDataControl, IPropertyControl, INamingContainer, IRenderSettings

Constructors

PropertyContentAreaControl()

Declaration
public PropertyContentAreaControl()

Properties

ContentAreaLoader

Declaration
protected Injected<IContentAreaLoader> ContentAreaLoader { get; set; }
Property Value
Type Description
Injected<IContentAreaLoader>

ContentControlResolver

Gets or sets the content control resolver that is responsible for creating controls for each item in ContentArea

Declaration
public ContentControlResolver ContentControlResolver { get; set; }
Property Value
Type Description
ContentControlResolver

The content control resolver.

ContentRepository

Declaration
[Obsolete("No longer in use")]
protected Injected<IContentRepository> ContentRepository { get; set; }
Property Value
Type Description
Injected<IContentRepository>

EnableEditFeaturesForChildren

Gets a value indicating whether editing of child properties should always be enabled.

Declaration
protected bool EnableEditFeaturesForChildren { get; }
Property Value
Type Description
System.Boolean

true if editing of child properties should always be enabled; otherwise, false.

Tag

Gets or sets the current tag that should be used to select template

Declaration
public string Tag { get; set; }
Property Value
Type Description
System.String

Methods

ApplyEditChanges()

Not implemented

Declaration
public override void ApplyEditChanges()
Overrides

CreateDefaultControls()

Creates block controls for the blocks in the block area. Used when the property is in view mode or in "on page edit" mode and the PropertyDataControl does not support on page editing.

Declaration
public override void CreateDefaultControls()
Overrides

CreateEditControls()

Creates an edit interface for the property.

Declaration
public override void CreateEditControls()
Overrides

CreateMainContainer(Boolean, String)

Declaration
protected HtmlGenericControl CreateMainContainer(bool enableEditFeatures, string containerTagName)
Parameters
Type Name Description
System.Boolean enableEditFeatures
System.String containerTagName
Returns
Type Description
System.Web.UI.HtmlControls.HtmlGenericControl

CreateOnPageEditControls()

Creates the "on page edit" controls with the blocks. If no block exist, this method will do nothing.

Declaration
public override void CreateOnPageEditControls()
Overrides

GetContentRenderers(Boolean)

Gets the content renderers.

Declaration
protected virtual IList<Control> GetContentRenderers(bool enableEditFeatures)
Parameters
Type Name Description
System.Boolean enableEditFeatures

if set to true [enable edit features].

Returns
Type Description
System.Collections.Generic.IList<System.Web.UI.Control>

Implements

System.Web.UI.INamingContainer

Extension Methods