Class ThemeImage
An image web control that has sets the search path for the image based on theming.
Inheritance
Namespace: EPiServer.Web.WebControls
Assembly: EPiServer.dll
Version: 7.19.2Syntax
public class ThemeImage : Image
Constructors
ThemeImage()
Initializes a new instance of the Theme
Declaration
public ThemeImage()
ThemeImage(String)
Initializes a new instance of the Theme
Declaration
public ThemeImage(string imageUrl)
Parameters
Type | Name | Description |
---|---|---|
System. |
imageUrl | The image URL based from the current theme. |
Properties
ImageUrl
Gets or sets the location of an image to display in the System.
Declaration
public override string ImageUrl { get; set; }
Property Value
Type | Description |
---|---|
System. |
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. |
The rich tool tip. |
Methods
OnPreRender(EventArgs)
Raises the System.
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System. |
e | An System. |
Render(HtmlTextWriter)
Renders the control to the specified HTML writer.
Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type | Name | Description |
---|---|---|
System. |
writer | The System. |