• Aide
  • Utilisateurs
  • Développeurs
  • Doc interne
  • e-learning
Show / Hide Table of Contents

Class ProduitImageLink

affiche un lien (pointant sur la fiche produit par défaut) avec l'image du produit

Héritage
System.Object
System.Web.UI.Control
System.Web.UI.WebControls.WebControl
System.Web.UI.WebControls.HyperLink
CPointSoftware.ECommerce.Tools.Hyperlink
CPointSoftware.ECommerce.Tools.MouseOverHyperlink
ProduitImageLink
Membres hérités
CPointSoftware.ECommerce.Tools.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
System.String url
Returns
Type Description
System.String

IsZoomable()

Déclaration
protected virtual bool IsZoomable()
Returns
Type Description
System.Boolean

Implements

System.IDisposable
CPointSoftware.ECommerce.Tools.IEquihiraBindable