With Opticon around the corner, we'll be canceling this month's (Sept) Happy Hour.

Class PropertyCommerceMediaCollectionControl

Control for rendering the commerce media collection property

Inheritance
System.Object
PropertyCommerceMediaCollectionControl
Namespace: EPiServer.Commerce.SpecializedProperties
Assembly: EPiServer.Business.Commerce.dll
Version: 13.30.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.

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()