Class PropertyEventArgs

The event argument used for handling persisting of properties. This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

Inheritance
System.Object
System.EventArgs
PropertyEventArgs
Inherited Members
System.EventArgs.Empty
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.DataAccess
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class PropertyEventArgs : EventArgs

Constructors

PropertyEventArgs(ContentReference, PropertyData, PropertyDataCollection)

Initializes a new instance of the PropertyEventArgs class with a property data.

Declaration
public PropertyEventArgs(ContentReference currentPage, PropertyData property, PropertyDataCollection properties)
Parameters
Type Name Description
ContentReference currentPage

The current page to save the property to.

PropertyData property

The property to save.

PropertyDataCollection properties

Other properties.

Properties

Gets the content link for the page that is saved.

Declaration
public ContentReference CurrentContentLink { get; }
Property Value
Type Description
ContentReference

The current content link.

CurrentPage

Gets the current page to save the property to.

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

The current page.

Properties

Gets the others properties.

Declaration
public PropertyDataCollection Properties { get; }
Property Value
Type Description
PropertyDataCollection

The properties.

Property

Gets the property to save.

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

The property.

Extension Methods