Table of Contents

Class WebPageLayout

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

Layout for a web page.

[UINavigation(false)]
public sealed class WebPageLayout : Page<WebPageLayoutClientProperties>, IPage
Inheritance
object
WebPageLayout
Implements
Extension Methods

Constructors

WebPageLayout()

Creates a new instance of WebPageLayout.

public WebPageLayout()

Properties

ApplicationIdentifier

Application identifier.

[PageParameter(typeof(WebPagesApplicationModelBinder), typeof(WebPagesApplication))]
public WebPagesApplicationUrlIdentifier ApplicationIdentifier { get; set; }

Property Value

WebPagesApplicationUrlIdentifier

WebPageIdentifier

Web page identifier composed from culture code and node ID.

[PageParameter(typeof(WebPageUrlIdentifierPageModelBinder), typeof(WebPageLayout))]
public WebPageUrlIdentifier WebPageIdentifier { get; set; }

Property Value

WebPageUrlIdentifier

Methods

ConfigurePage()

Allows configure and share page specific values prior invocation of the ConfigureTemplateProperties(TClientProperties) or command method.

public override Task ConfigurePage()

Returns

Task

ConfigureTemplateProperties(WebPageLayoutClientProperties)

Gets the object representing client side template properties.

public override Task<WebPageLayoutClientProperties> ConfigureTemplateProperties(WebPageLayoutClientProperties properties)

Parameters

properties WebPageLayoutClientProperties

Initialized properties object.

Returns

Task<WebPageLayoutClientProperties>

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>