Class ThemedControl

Loads the control template using the theme specified.

Inheritance
System.Object
ThemedControl
Namespace: Mediachase.Commerce.Website.Controls
Assembly: Mediachase.Commerce.Website.dll
Version: 10.8.0
Syntax
public class ThemedControl : PlaceHolder

Constructors

ThemedControl()

Declaration
public ThemedControl()

Properties

Control

Gets the control.

Declaration
public Control Control { get; }
Property Value
Type Description
System.Web.UI.Control

The control.

DefaultSiteTheme

Gets or sets the default site theme.

Declaration
public string DefaultSiteTheme { get; set; }
Property Value
Type Description
System.String

The site theme.

SiteTheme

Gets or sets the site theme.

Declaration
public string SiteTheme { get; set; }
Property Value
Type Description
System.String

The site theme.

ThemePath

Gets or sets the theme path.

Declaration
public string ThemePath { get; set; }
Property Value
Type Description
System.String

The theme path.

Methods

OnLoad(EventArgs)

Raises the System.Web.UI.Control.Load event.

Declaration
protected override void OnLoad(EventArgs e)
Parameters
Type Name Description
System.EventArgs e

The System.EventArgs object that contains the event data.

Page_Load(Object, EventArgs)

Handles the Load event of the Page control.

Declaration
protected void Page_Load(object sender, EventArgs e)
Parameters
Type Name Description
System.Object sender

The source of the event.

System.EventArgs e

The System.EventArgs instance containing the event data.