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

Class PageEventArgs

Event arguments passed from DataFactory.

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
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
public class PageEventArgs : ContentEventArgs

Constructors

PageEventArgs(ContentReference)

Initializes a new instance of the PageEventArgs class.

Declaration
public PageEventArgs(ContentReference pageLink)
Parameters
Type Name Description
ContentReference pageLink

The page link the event applies to.

PageEventArgs(ContentReference, ContentReference)

Initializes a new instance of the PageEventArgs class.

Declaration
public PageEventArgs(ContentReference pageLink, ContentReference targetLink)
Parameters
Type Name Description
ContentReference pageLink

The source page link.

ContentReference targetLink

The target page link.

Remarks

Primarily used for move operations where you have a source and target.

PageEventArgs(ContentReference, IContent)

Initializes a new instance of the PageEventArgs class.

Declaration
public PageEventArgs(ContentReference pageLink, IContent content)
Parameters
Type Name Description
ContentReference pageLink

The page link.

IContent content

The page data.

PageEventArgs(ContentReference, IContent, AccessLevel)

Initializes a new instance of the PageEventArgs class.

Declaration
public PageEventArgs(ContentReference pageLink, IContent content, AccessLevel requiredAccess)
Parameters
Type Name Description
ContentReference pageLink

The page link.

IContent content

The page data.

AccessLevel requiredAccess

The required access level for the operation.

PageEventArgs(IContent)

Initializes a new instance of the PageEventArgs class.

Declaration
public PageEventArgs(IContent content)
Parameters
Type Name Description
IContent content

The page data that the event applies to.

Properties

Page

The page that the event applies to

Declaration
public PageData Page { get; set; }
Property Value
Type Description
PageData
Remarks

Changing this object may not always change the behavior, see the specific event for details.

The page that the event applies to

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

Changing this object may not always change the behavior, see the specific event for details.

The parent that the event applies to

Declaration
public PageReference TargetLink { get; set; }
Property Value
Type Description
PageReference

Changing this object may not always change the behavior, see the specific event for details.

Extension Methods