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

Class ContentPageBase<TContent>

Base class for WebForms that renders routed IContent instances.

Inheritance
System.Object
ContentPageBase<TContent>
Namespace: EPiServer.Web
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class ContentPageBase<TContent> : ContentPageBase<PageData, TContent>, ICurrentPage, ISupportsScriptManager, IPageSource<PageData>, IPageSource, IContentSource<TContent>, IContentSource, IRenderTemplate<TContent>, IRenderTemplate where TContent : IContent
Type Parameters
Name Description
TContent

The type of the content.

Constructors

ContentPageBase()

Initializes a new instance of the ContentPageBase<TContent> class.

Declaration
public ContentPageBase()

ContentPageBase(Int32)

Initializes a new instance of the ContentPageBase<TContent> class.

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

The options.

Remarks

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

ContentPageBase(Int32, Int32)

Initializes a new instance of the ContentPageBase<TContent> class.

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

The enable.

System.Int32 disable

The disable.

Remarks

The disable bitmap will override enabled options in case of conflicting options.

Implements

Extension Methods