November Happy Hour will be moved to Thursday December 5th.

Class PageTreeNode

Inheritance
System.Object
PageTreeNode
Implements
System.Web.UI.IStateManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.UI.WebControls
Assembly: EPiServer.UI.dll
Version: 11.20.7
Syntax
public class PageTreeNode : IStateManager

Constructors

PageTreeNode(PageTreeView)

Declaration
public PageTreeNode(PageTreeView ownerTreeView)
Parameters
Type Name Description
PageTreeView ownerTreeView

PageTreeNode(String, String, PageTreeNode, PageTreeView)

Declaration
public PageTreeNode(string text, string dataPath, PageTreeNode parent, PageTreeView ownerTreeView)
Parameters
Type Name Description
System.String text
System.String dataPath
PageTreeNode parent
PageTreeView ownerTreeView

Fields

CollapseClass

Declaration
public const string CollapseClass = "collapse"
Field Value
Type Description
System.String

ExpandClass

Declaration
public const string ExpandClass = "expand"
Field Value
Type Description
System.String

HideClass

Declaration
public const string HideClass = "hide"
Field Value
Type Description
System.String

IconClass

Declaration
public const string IconClass = "icon"
Field Value
Type Description
System.String

LeafClass

Declaration
public const string LeafClass = "leafnode"
Field Value
Type Description
System.String

ParentClass

Declaration
public const string ParentClass = "parent"
Field Value
Type Description
System.String

SeparatorContainerClass

Declaration
public const string SeparatorContainerClass = "separatorcontainer"
Field Value
Type Description
System.String

ShowClass

Declaration
public const string ShowClass = "show"
Field Value
Type Description
System.String

TemplateContainerClass

Declaration
public const string TemplateContainerClass = "templatecontainer"
Field Value
Type Description
System.String

Properties

Attributes

Declaration
public NameValueCollection Attributes { get; }
Property Value
Type Description
System.Collections.Specialized.NameValueCollection

ChildNodes

Declaration
public PageTreeTreeNodeCollection ChildNodes { get; }
Property Value
Type Description
PageTreeTreeNodeCollection

CombinedDataPath

Declaration
public string CombinedDataPath { get; }
Property Value
Type Description
System.String

DataItem

Declaration
public object DataItem { get; set; }
Property Value
Type Description
System.Object

DataPath

Declaration
public string DataPath { get; protected set; }
Property Value
Type Description
System.String

Depth

Declaration
public int Depth { get; set; }
Property Value
Type Description
System.Int32

Expanded

Declaration
public bool Expanded { get; set; }
Property Value
Type Description
System.Boolean

HasChildren

Declaration
public bool HasChildren { get; set; }
Property Value
Type Description
System.Boolean

NavigateUrl

Declaration
public string NavigateUrl { get; set; }
Property Value
Type Description
System.String

NodeClientId

Declaration
public string NodeClientId { get; }
Property Value
Type Description
System.String

ParentNode

Declaration
public PageTreeNode ParentNode { get; set; }
Property Value
Type Description
PageTreeNode

Selectable

Declaration
public bool Selectable { get; set; }
Property Value
Type Description
System.Boolean

Selected

Declaration
public bool Selected { get; set; }
Property Value
Type Description
System.Boolean

TemplateContainer

Declaration
public PageTreeNodeTemplateContainer TemplateContainer { get; set; }
Property Value
Type Description
PageTreeNodeTemplateContainer

Text

Declaration
public string Text { get; set; }
Property Value
Type Description
System.String

ViewState

Declaration
protected StateBag ViewState { get; }
Property Value
Type Description
System.Web.UI.StateBag

Methods

Expand()

Declaration
public void Expand()

GetNodeClass(Boolean)

Declaration
protected virtual string GetNodeClass(bool isLastItem)
Parameters
Type Name Description
System.Boolean isLastItem
Returns
Type Description
System.String

Render(HtmlTextWriter, Boolean)

Declaration
public virtual void Render(HtmlTextWriter writer, bool isLastItem)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer
System.Boolean isLastItem

RenderChildren(HtmlTextWriter)

Declaration
protected virtual void RenderChildren(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

SetDirty()

Declaration
public void SetDirty()

WriteDropContainer(HtmlTextWriter, Boolean)

Declaration
protected virtual void WriteDropContainer(HtmlTextWriter writer, bool isLastItem)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer
System.Boolean isLastItem

WriteNodeExpander(HtmlTextWriter, Boolean)

Declaration
protected virtual void WriteNodeExpander(HtmlTextWriter writer, bool isLastItem)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer
System.Boolean isLastItem

Implements

System.Web.UI.IStateManager

Extension Methods