Class HeadlessEditLayout
Layout for UI pages related to editing an headless item.
[UINavigation(false)]
public sealed class HeadlessEditLayout : Page, IPage
- Inheritance
-
objectHeadlessEditLayout
- 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
ContentLanguageIdentifier
Content language identifier.
[PageParameter(typeof(ContentLanguageModelBinder), typeof(HeadlessChannelContentLanguage))]
public ContentLanguageUrlIdentifier ContentLanguageIdentifier { get; set; }
Property Value
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
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>