Class ProduitImageLink
affiche un lien (pointant sur la fiche produit par défaut) avec l'image du produit
Héritage
Object
Control
WebControl
HyperLink
Hyperlink
MouseOverHyperlink
ProduitImageLink
Membres hérités
Hyperlink.CssClassIfCurrent
Syntaxe
public class ProduitImageLink : MouseOverHyperlink, IComponent, IDisposable, IParserAccessor, IUrlResolutionService, IDataBindingsAccessor, IControlBuilderAccessor, IControlDesignerAccessor, IExpressionsAccessor, IAttributeAccessor, IEquihiraBindable
Remarques
Pour afficher l'image d'un produit, ce contrôle doit être dans un CPointSoftware.ECommerce.Tools.ProductPanel. Il s'utilise comme ceci :
<ecom:ProductPanel runat="server">
<ecom:ProduitImageLink runat="server"
LinkType="Detail" ImageType="Intermediaire" />
</ecom:ProductPanel>
Propriétés
CacherSiAucunZoom
Déclaration
public bool CacherSiAucunZoom { get; set; }
ImageType
Obtient ou définit le type d'image à afficher (cf. CPointSoftware.ECommerce.Tools.TypeProduitImage)
Déclaration
public TypeProduitImage ImageType { get; set; }
ImageUrlIfNone
Obtient ou définit l'url de l'image "vide" (affichée quand il n'y a pas d'image sur le produit)
Déclaration
public string ImageUrlIfNone { get; set; }
LinkType
Déclaration
public TypeLienProduit LinkType { get; set; }
PourPageAmp
Obtient ou définit un booléen précisant si ce contrôles est destiné à être sur une de type AMP
Déclaration
public bool PourPageAmp { get; set; }
RenderAsText
Déclaration
public bool RenderAsText { get; set; }
Méthodes
GetResourceUrl(String)
Déclaration
protected virtual string GetResourceUrl(string url)
Paramètres
| Type | Name | Description |
|---|---|---|
| String | url |
Returns
| Type | Description |
|---|---|
| String |
IsZoomable()
Déclaration
protected virtual bool IsZoomable()
Returns
| Type | Description |
|---|---|
| Boolean |
Implements
System.IDisposable
CPointSoftware.ECommerce.Tools.IEquihiraBindable