Table of Contents

Class WebPageScopeEditSection

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

Web page scope edit section page.

public sealed class WebPageScopeEditSection : SecondaryMenuSectionPage, IPage
Inheritance
object
WebPageScopeEditSection
Implements
Inherited Members
Extension Methods

Constructors

WebPageScopeEditSection(IInfoProvider<WebPageScopeInfo>, IInfoProvider<WebsiteChannelInfo>, IInfoProvider<ChannelInfo>, IInfoProvider<WebPageItemInfo>, IContentLanguageRetriever, IPageLinkGenerator)

Initializes a new instance of the WebPageScopeEditSection class.

public WebPageScopeEditSection(IInfoProvider<WebPageScopeInfo> webPageScopeInfoProvider, IInfoProvider<WebsiteChannelInfo> websiteChannelInfoProvider, IInfoProvider<ChannelInfo> channelInfoProvider, IInfoProvider<WebPageItemInfo> webPageItemInfoProvider, IContentLanguageRetriever contentLanguageRetriever, IPageLinkGenerator pageLinkGenerator)

Parameters

webPageScopeInfoProvider IInfoProvider<WebPageScopeInfo>
websiteChannelInfoProvider IInfoProvider<WebsiteChannelInfo>
channelInfoProvider IInfoProvider<ChannelInfo>
webPageItemInfoProvider IInfoProvider<WebPageItemInfo>
contentLanguageRetriever IContentLanguageRetriever
pageLinkGenerator IPageLinkGenerator

Properties

ChannelId

Channel ID.

[PageParameter(typeof(IntPageModelBinder), typeof(ChannelEditSection))]
public int ChannelId { get; set; }

Property Value

int

WebPageScopeId

ID of the currently edited web page scope.

[PageParameter(typeof(IntPageModelBinder), typeof(WebPageScopeEditSection))]
public int WebPageScopeId { get; set; }

Property Value

int

WebsiteChannelId

Website channel ID.

[PageParameter(typeof(WebsiteChannelModelBinder), typeof(ChannelEditSection))]
public int WebsiteChannelId { 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>

ValidatePage()

Validates the page state prior invocation of the ConfigurePage() method.

public override Task<PageValidationResult> ValidatePage()

Returns

Task<PageValidationResult>