Try our conversational search powered by Generative AI!

Interface ICurrentPage<T>

Defines the availability of a strongly typed CurrentPage property.

Namespace: EPiServer.Web.PageExtensions
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public interface ICurrentPage<T> : ICurrentPage where T : PageData
Type Parameters
Name Description
T

The System.Type linked to the PageType of the CurrentPage property.

Properties

CurrentPage

Gets or sets the current PageData of type T.

Declaration
T CurrentPage { get; set; }
Property Value
Type Description
T

The current PageDataof type T.

Extension Methods