Class PropertyCommerceMediaCollectionControl

Control for rendering the commerce media collection property

Inheritance
System.Object
PropertyCommerceMediaCollectionControl
Namespace: EPiServer.Commerce.SpecializedProperties
Assembly: EPiServer.Business.Commerce.dll
Version: 10.8.0
Syntax
public class PropertyCommerceMediaCollectionControl : PropertyDataControl

Constructors

PropertyCommerceMediaCollectionControl()

Constructs the control for rendering CommerceMedia property.

Declaration
public PropertyCommerceMediaCollectionControl()

PropertyCommerceMediaCollectionControl(AssetUrlResolver, AssetUrlConventions)

Constructs the control for rendering CommerceMedia property.

Declaration
public PropertyCommerceMediaCollectionControl(AssetUrlResolver assetUrlResolver, AssetUrlConventions assetUrlConvention)
Parameters
Type Name Description
AssetUrlResolver assetUrlResolver

The asset Url resolver, which is used to get the asset Url.

AssetUrlConventions assetUrlConvention

The asset Url conventions, which is used to get the default asset group.

PropertyCommerceMediaCollectionControl(UrlResolver)

Declaration
[Obsolete("This constructor has been obsoleted because UrlResolver is no longer needed. Use the constructor with AssetUrlResolver and AssetUrlConventions instead. Will remain at least until June 2016.")]
public PropertyCommerceMediaCollectionControl(UrlResolver urlResolver)
Parameters
Type Name Description
EPiServer.Web.Routing.UrlResolver urlResolver

Methods

CreateDefaultControls()

Creates the default controls for the property, which renders the image. Used when the property is in view mode or in "on page edit" mode

Declaration
public override void CreateDefaultControls()