Class DynamicPropertyPage

Holds information about dynamic properties defined on a specific page.

Inheritance
System.Object
DynamicPropertyPage
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class DynamicPropertyPage

Constructors

DynamicPropertyPage(PageReference, PageReference)

Initializes a new instance of the DynamicPropertyPage class.

Declaration
public DynamicPropertyPage(PageReference pageLink, PageReference parent)
Parameters
Type Name Description
PageReference pageLink

The page link.

PageReference parent

The parent.

Properties

Gets the page that the settings are stored on.

Declaration
public PageReference PageLink { get; }
Property Value
Type Description
PageReference

The page that the settings are stored on.

Parent

Gets the closest parent that has dynamic properties defined.

Declaration
public PageReference Parent { get; }
Property Value
Type Description
PageReference

The closest parent that has dynamic properties defined.

Methods

Add(DynamicProperty)

Adds a DynamicProperty to this page.

Declaration
public void Add(DynamicProperty property)
Parameters
Type Name Description
DynamicProperty property

A PropertyData with the property information.

GetProperty(String, PropertyDataCollection)

Gets the PropertyData with the given name.

Declaration
public PropertyData GetProperty(string name, PropertyDataCollection properties)
Parameters
Type Name Description
System.String name

The name.

PropertyDataCollection properties

The properties for the current language.

Returns
Type Description
PropertyData

The PropertyData with the given name

Remarks

The method checks if a property with the given name exist in either the language specific properties or the common properties.

InitializeData()

Initializes the inner PropertyDataCollectionFacade.

Declaration
public void InitializeData()

Extension Methods