Table of Contents

Class EmailEditLayout

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

Layout for UI pages related to editing an email.

[UINavigation(false)]
public sealed class EmailEditLayout : Page, IPage
Inheritance
object
EmailEditLayout
Implements
Inherited Members
Extension Methods

Constructors

EmailEditLayout(IEmailConfigurationAdminModelRetriever)

Initializes a new instance of EmailEditLayout.

public EmailEditLayout(IEmailConfigurationAdminModelRetriever emailConfigurationAdminModelRetriever)

Parameters

emailConfigurationAdminModelRetriever IEmailConfigurationAdminModelRetriever

Properties

ChannelApplicationIdentifier

Channel application identifier.

[PageParameter(typeof(EmailChannelsApplicationModelBinder), typeof(EmailChannelApplication))]
public EmailChannelApplicationUrlIdentifier ChannelApplicationIdentifier { get; set; }

Property Value

EmailChannelApplicationUrlIdentifier

ContentLanguageIdentifier

Content language identifier.

[PageParameter(typeof(ContentLanguageModelBinder), typeof(EmailChannelContentLanguage))]
public ContentLanguageUrlIdentifier ContentLanguageIdentifier { get; set; }

Property Value

ContentLanguageUrlIdentifier

EmailConfigurationID

Email configuration identifier.

[PageParameter(typeof(IntPageModelBinder), typeof(EmailEditLayout))]
public int EmailConfigurationID { get; set; }

Property Value

int

Methods

ConfigureTemplateProperties(TemplateClientProperties)

Gets the object representing client side template properties.

public override Task<TemplateClientProperties> ConfigureTemplateProperties(TemplateClientProperties properties)

Parameters

properties TemplateClientProperties

Initialized properties object.

Returns

Task<TemplateClientProperties>

GetDefaultRoute(IEnumerable<Route>)

Gets the route which is redirected to, when no route is selected.

protected override Route GetDefaultRoute(IEnumerable<Route> routes)

Parameters

routes IEnumerable<Route>

Returns

Route

ValidatePage()

Validates the page state prior invocation of the ConfigurePage() method.

public override Task<PageValidationResult> ValidatePage()

Returns

Task<PageValidationResult>