London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

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