Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

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.0
Syntax
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