Don't miss out Virtual Happy Hour today (April 26).

Try our conversational search powered by Generative AI!

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