Class PageEventArgs
Event arguments passed from IContentRepository.
Inheritance
Inherited Members
Namespace: EPiServer
Assembly: EPiServer.dll
Version: 10.10.4Syntax
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.
PageLink
The page that the event applies to
Declaration
public PageReference PageLink { get; set; }
Property Value
Type | Description |
---|---|
PageReference |
Remarks
Changing this object may not always change the behavior, see the specific event for details.
TargetLink
The parent that the event applies to
Declaration
public PageReference TargetLink { get; set; }
Property Value
Type | Description |
---|---|
PageReference |
Remarks
Changing this object may not always change the behavior, see the specific event for details.