Class UserControlBase<T>
User control class for supporting strongly typed PageData objects with an arbitrary type T
.
Inheritance
System.Object
UserControlBase<T>
Implements
Inherited Members
Namespace: EPiServer
Assembly: EPiServer.dll
Version: 10.10.4Syntax
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.