Table of Contents

Class EmailSelectorProperties

Namespace
Kentico.Xperience.Admin.DigitalMarketing.Forms
Assembly
Kentico.Xperience.Admin.DigitalMarketing.dll

Represents properties of the EmailSelectorComponent.

public class EmailSelectorProperties : FormComponentProperties, IFormComponentProperties
Inheritance
object
EmailSelectorProperties
Implements
Inherited Members
Extension Methods

Properties

AllowedEmailPurpose

Restricts the selection on the specified email purpose.

public string AllowedEmailPurpose { get; set; }

Property Value

string

Remarks

Note that this property is mutually exclusive with AllowedEmailPurposes.

AllowedEmailPurposes

Restricts the selection to a set of allowed email purposes.

public string[] AllowedEmailPurposes { get; set; }

Property Value

string[]

Remarks

Note that this property is mutually exclusive with AllowedEmailPurpose.

ForPreview

Indicates whether also unpublished versions of emails should be selectable.

public bool ForPreview { get; set; }

Property Value

bool

Remarks

  • If true, the selector will also allow selection of unpublished emails.
  • Otherwise, only published emails will be selectable.
  • Default value is false.

MaximumEmails

Maximum amount of emails in the selector.

public int MaximumEmails { get; set; }

Property Value

int

Remarks

Following values can be used to limit the maximum number of emails: 0 - unlimited 1 - single email selection n - n-emails selection

Sortable

Allows sorting of selected emails.

public bool Sortable { get; set; }

Property Value

bool