Class WebPageSelectorProperties
Represents properties of the WebPageSelectorComponent.
public class WebPageSelectorProperties : FormComponentProperties, IFormComponentProperties
- Inheritance
-
objectWebPageSelectorProperties
- Implements
- Inherited Members
- Extension Methods
Constructors
WebPageSelectorProperties()
public WebPageSelectorProperties()
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 webPages in the selector.
[NumberInputComponent(Label = "{$websites.forms.webpageselector.maximumpages.label$}", Tooltip = "{$websites.forms.webpageselector.maximumpages.tooltip$}", TooltipAsHtml = true)]
public int MaximumPages { get; set; }
Property Value
- int
Remarks
Following values can be used to limit the maximum number of webPages: 0 - unlimited 1 - single webPage selection n - n-webPages selection
Sortable
Allows sorting of selected webPages.
[CheckBoxComponent(Label = "{$websites.forms.webpageselector.sortable.label$}", Tooltip = "{$websites.forms.webpageselector.sortable.tooltip$}")]
public bool Sortable { get; set; }
Property Value
- bool
TreePath
Limits the selection of pages to a sub-tree under a page specified by its tree path, e.g., "/Articles".
[TextInputComponent(Label = "{$websites.forms.webpageselector.rootpath.label$}", Tooltip = "{$websites.forms.webpageselector.rootpath.tooltip$}")]
public string TreePath { get; set; }
Property Value
- string
Remarks
The page with the specified tree path is not available for selection, only its sub-pages. If not set, the property's value is empty and the entire page tree is available for selection.