Class PropertyCommerceMediaCollectionControl
Control for rendering the commerce media collection property
Inheritance
System.Object
PropertyCommerceMediaCollectionControl
Namespace: EPiServer.Commerce.SpecializedProperties
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2Syntax
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()