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

Class PageSetupEventArgs

Event argument for page extensions that listen to the PageSetup event.

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

Constructors

PageSetupEventArgs(Int32)

Initializes a new instance of the PageSetupEventArgs class.

Declaration
public PageSetupEventArgs(int options)
Parameters
Type Name Description
System.Int32 options

The enabled options.

Properties

Options

Gets the enabled options.

Declaration
public int Options { get; }
Property Value
Type Description
System.Int32

The options.

Remarks

The options are a dynamically created bitmap for all the loaded page extensions. Note that the actual bit value assigned to a specific page extension may vary from time to time, since it is determined at plugin load time.

Methods

IsOptionEnabled(Int32)

Determines whether the specified option is enabled.

Declaration
public bool IsOptionEnabled(int option)
Parameters
Type Name Description
System.Int32 option

The option.

Returns
Type Description
System.Boolean

true if the specified option is enabled; otherwise, false.

Extension Methods