Table of Contents

Class HeadlessEditLayout

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

Layout for UI pages related to editing an headless item.

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

Constructors

HeadlessEditLayout()

Initializes a new instance of HeadlessEditLayout.

public HeadlessEditLayout()

Properties

ApplicationIdentifier

Channel application identifier.

[PageParameter(typeof(HeadlessChannelApplicationModelBinder), typeof(HeadlessChannelApplication))]
public HeadlessChannelApplicationUrlIdentifier ApplicationIdentifier { get; set; }

Property Value

HeadlessChannelApplicationUrlIdentifier

ContentLanguageIdentifier

Content language identifier.

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

Property Value

ContentLanguageUrlIdentifier

HeadlessItemID

Headless item identifier.

[PageParameter(typeof(IntPageModelBinder), typeof(HeadlessEditLayout))]
public int HeadlessItemID { 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>