Table of Contents

Class WebPageSelectorComponentAttribute

Namespace
Kentico.Xperience.Admin.Websites.FormAnnotations
Assembly
Kentico.Xperience.Admin.Websites.Shared.dll

Indicates that the Web page selector form component will be used for editing of this property value in the administration interface.

public class WebPageSelectorComponentAttribute : FormComponentAttribute
Inheritance
object
Attribute
WebPageSelectorComponentAttribute
Inherited Members
Extension Methods

Remarks

The underlying property must be of the type 'System.Collections.IEnumerable<WebPageRelatedItem>'.

Properties

ItemModifierType

Defines the type of modifier that will be applied to the each WebPagePanelItem.

The modifier type must implement the IWebPagePanelItemModifier interface.

public Type ItemModifierType { get; set; }

Property Value

Type

MaximumPages

Maximum amount of web pages in the selector.

public int MaximumPages { get; set; }

Property Value

int

Remarks

Following values can be used to limit the maximum number of pages: 0 - unlimited 1 - single web page selection n - n-pages selection

Sortable

Allows sorting of selected web pages.

public bool Sortable { get; set; }

Property Value

bool

TreePath

Selector's root path.

public string TreePath { get; set; }

Property Value

string

Remarks

If provided, the page selector tree root will start from the given path. If the property value not provided, site root is used.

See Also
WebPageItemTreePath