Try our conversational search powered by Generative AI!

Class TemplatePage

Base class for EPiServer page templates that enables the quick navigator to get to the EPiServer UI.

Inheritance
System.Object
TemplatePage
Namespace: EPiServer
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class TemplatePage : EditPage, IPageSource, ICurrentPage, IContentSource, ISupportsScriptManager

Constructors

TemplatePage()

Initializes a new instance of the TemplatePage class.

Declaration
public TemplatePage()

TemplatePage(Int32)

Initializes a new instance of the TemplatePage class.

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

The page options to enable.

Remarks

The options parameter is a bitmap constructed from the OptionFlag of Page plugin classes from the EPiServer.Web.PageExtensions namespace.

TemplatePage(Int32, Int32)

Initializes a new instance of the TemplatePage class.

Declaration
public TemplatePage(int enable, int disable)
Parameters
Type Name Description
System.Int32 enable

The page options to enable.

System.Int32 disable

The page options to disable.

Implements

Extension Methods