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
-
objectEmailEditLayout
- 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
ContentLanguageIdentifier
Content language identifier.
[PageParameter(typeof(ContentLanguageModelBinder), typeof(EmailChannelContentLanguage))]
public ContentLanguageUrlIdentifier ContentLanguageIdentifier { get; set; }
Property Value
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
TemplateClientPropertiesInitialized 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
ValidatePage()
Validates the page state prior invocation of the ConfigurePage() method.
public override Task<PageValidationResult> ValidatePage()
Returns
- Task<PageValidationResult>