Class MetaImage
Used to load image from the image meta field
Inheritance
System.Object
MetaImage
Namespace: Mediachase.Commerce.Website.Controls
Assembly: Mediachase.Commerce.Website.dll
Version: 10.8.0Syntax
public class MetaImage : Image
Constructors
MetaImage()
Declaration
public MetaImage()
Properties
DataSource
Image property within ItemAttributes
Declaration
public Images DataSource { get; set; }
Property Value
Type | Description |
---|---|
Images | The data source. |
OpenFullImage
If this property set, the clicking will result in opening a full image dialog.
Declaration
public bool OpenFullImage { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
PropertyName
The property name within meta fields, if not specified, the image won't be rendered
Declaration
public string PropertyName { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the property. |
ShowThumbImage
If this property set, the thumbnail image will be displayed.
Declaration
public bool ShowThumbImage { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Methods
OnDataBinding(EventArgs)
Raises the System.Web.UI.Control.DataBinding event.
Declaration
protected override void OnDataBinding(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | An System.EventArgs object that contains the event data. |
OnPreRender(EventArgs)
Handles the Load event of the Page control.
Declaration
protected override void OnPreRender(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | The System.EventArgs instance containing the event data. |