Table of Contents

Class HeadlessChannelContentLanguage

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

Page with language context used by UI pages related to an headless channel.

[UINavigation(false)]
[UIBreadcrumbs(false)]
public sealed class HeadlessChannelContentLanguage : Page<HeadlessChannelContentLanguageClientProperties>, IPage
Inheritance
object
HeadlessChannelContentLanguage
Implements
Inherited Members
Extension Methods

Constructors

HeadlessChannelContentLanguage(IContentLanguageModelRetriever)

Initializes a new instance of HeadlessChannelContentLanguage.

public HeadlessChannelContentLanguage(IContentLanguageModelRetriever contentLanguageModelRetriever)

Parameters

contentLanguageModelRetriever IContentLanguageModelRetriever

Properties

LanguageName

Content language codename.

[PageParameter(typeof(StringPageModelBinder), typeof(HeadlessChannelContentLanguage))]
public string LanguageName { get; set; }

Property Value

string

Methods

ConfigureTemplateProperties(HeadlessChannelContentLanguageClientProperties)

Gets the object representing client side template properties.

public override Task<HeadlessChannelContentLanguageClientProperties> ConfigureTemplateProperties(HeadlessChannelContentLanguageClientProperties properties)

Parameters

properties HeadlessChannelContentLanguageClientProperties

Initialized properties object.

Returns

Task<HeadlessChannelContentLanguageClientProperties>

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