Class PromotionRegionAttribute
Defines which part of a promotion a property belongs to. This attribute is used for UI styling.
Inheritance
System.Object
PromotionRegionAttribute
Namespace: EPiServer.Commerce.Marketing.DataAnnotations
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0Syntax
public sealed class PromotionRegionAttribute : Attribute
Constructors
PromotionRegionAttribute(String)
Creates an instance of PromotionRegionAttribute.
Declaration
public PromotionRegionAttribute(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the region. |
Properties
RegionName
Gets the name of the region to use in UI container element.
Declaration
public string RegionName { get; }
Property Value
Type | Description |
---|---|
System.String |