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!

Class UserControlBase<T>

User control class for supporting strongly typed PageData objects with an arbitrary type T.

Inheritance
System.Object
UserControlBase<T>
Implements
Namespace: EPiServer
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7
Syntax
public class UserControlBase<T> : UserControlBase, IRenderSettings where T : PageData
Type Parameters
Name Description
T

The strongly typed PageData type.

Constructors

UserControlBase()

Declaration
public UserControlBase()

Properties

CurrentPage

Gets or sets the current page of T.

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

The current page.

Remarks

Replaces the CurrentPage from base with a strongly typed version.

Implements

Extension Methods