November Happy Hour will be moved to Thursday December 5th.

Class ThemeImage

An image web control that has sets the search path for the image based on theming.

Inheritance
System.Object
ThemeImage
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.dll
Version: 9.12.2
Syntax
public class ThemeImage : Image

Constructors

ThemeImage()

Initializes a new instance of the ThemeImage class.

Declaration
public ThemeImage()

ThemeImage(String)

Initializes a new instance of the ThemeImage class.

Declaration
public ThemeImage(string imageUrl)
Parameters
Type Name Description
System.String imageUrl

The image URL based from the current theme.

Properties

ImageUrl

Gets or sets the location of an image to display in the System.Web.UI.WebControls.Image control.

Declaration
public override string ImageUrl { get; set; }
Property Value
Type Description
System.String
Remarks

Should be based from the root of the current theme.

RichToolTip

Gets or sets the rich tool tip.

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

The rich tool tip.

Methods

OnPreRender(EventArgs)

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

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

An System.EventArgs object that contains the event data.

Render(HtmlTextWriter)

Renders the control to the specified HTML writer.

Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

The System.Web.UI.HtmlTextWriter object that receives the control content.

Extension Methods