Class PageTreeItem
- Namespace
- Dynamicweb.Content.Data
- Assembly
- Dynamicweb.dll
The PageTreeItem class represents a page in a PageTree instance
- Inheritance
-
Page
Tree Item
- Inherited Members
Constructors
PageTreeItem()
Initializes a new instance of the PageTreeItem class
PageTreeItem(Page)
Initializes a new instance of the PageTreeItem class encapsulating parts of the data from the page argument
Parameters
page
PageThe page that this PageTreeItem encapsulates
Properties
AreaID
Gets or sets the id of the area to which this page belongs
Property Value
Children
Gets all children in the PageTree Instance
Property Value
DisplayMode
Gets or sets the page display mode.
Property Value
HasContentType
Gets or sets a value indicating if this Page has selected content type.
Property Value
HasEcommerceNavigation
Gets or sets a value indicating if this Page has Ecommerce navigation which is turned on.
Property Value
HasUrlProvider
Gets or sets a value indicating if this Page has URL provider.
Property Value
ID
Gets or sets the page id of this page tree item
Property Value
- int
The id of this page
IsDraft
Gets or sets a value indiacting if this Page is draft
Property Value
IsFolder
Gets or sets a value indiacting if this Page is representing a folder
Property Value
IsHidden
Gets or sets a value indiacting if this Page is hidden
Property Value
IsLockedByMaster
Gets or sets a value if the page is locked by master page.
Property Value
IsPublished
Gets or sets a value indiacting if this Page is published
Property Value
IsShortcut
Gets or sets a value indicating if this Page is shortcut
Property Value
IsTemplate
Gets or sets a value if this page is a template
Property Value
IsTemplateFolder
Gets a value indicating if this is a template folder
Property Value
IsUrlIgnoredForChildren
Gets or sets a value indicating if this Page URL does not includes in subpage URLs.
Property Value
ItemId
Gets or sets the item id of this page tree item
Property Value
- string
The item id
ItemType
Gets or sets the item type of this page
Property Value
Level
Gets or sets the level of this page tree item relative from the root page in a given PageTree
Property Value
- int
The level of this page
NavigationTag
Gets or sets a value of the Page navigation tag.
Property Value
Parent
Gets the parent of this PageTreeItem
Property Value
ParentAreaIsLanguage
Gets or sets a value if this page is in website language
Property Value
ParentId
Gets or sets the parent page id of this page tree item
Property Value
- int
The parent id of this page
Restricted
Gets or sets a value indiacting if this Page is restricted
Property Value
Scheduled
Gets or sets a value indiacting if this Page is scheduled
Property Value
Sort
Gets or sets the PageSort for this PageTreeItem indicating the sort order between items on the same PageLevel
Property Value
SubpageCount
Gets the number of subpages for this PageTreeItem
Property Value
- int
An integer indicating the number of sub pages under this PageTreeItem
TemplateDescription
Gets or sets the description of this page if it is a Template
Property Value
Title
Gets or sets the page title of this page tree item
Property Value
- string
The title of this page
Methods
GetDisplayName()
Returns
GetPermission()
Returns
HasPermission(PermissionLevel)
Parameters
permission
PermissionLevel