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

Class PageValidateEventArgs

Event arguments passed from PageValidateEventHandler

Inheritance
System.Object
System.EventArgs
PageValidateEventArgs
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 PageValidateEventArgs : PageEventArgs

Constructors

PageValidateEventArgs(PageData)

Initializes a new instance of the PageValidateEventArgs class.

Declaration
public PageValidateEventArgs(PageData page)
Parameters
Type Name Description
PageData page

The page to validate.

Properties

ErrorMessage

Gets or sets an error message to describe validation errors.

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

IsValid

Gets or sets a value indicating whether the page was successfully validated.

Declaration
public bool IsValid { get; set; }
Property Value
Type Description
System.Boolean

true if the page is valid; otherwise, false.

Extension Methods