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

Class PageTreeTreeNodeCollection

Inheritance
System.Object
PageTreeTreeNodeCollection
Namespace: EPiServer.UI.WebControls
Assembly: EPiServer.UI.dll
Version: 11.20.7
Syntax
public class PageTreeTreeNodeCollection : StateManagedCollection

Constructors

PageTreeTreeNodeCollection(PageTreeView)

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

PageTreeTreeNodeCollection(PageTreeView, Boolean)

Declaration
public PageTreeTreeNodeCollection(PageTreeView ownerTreeView, bool trackViewState)
Parameters
Type Name Description
PageTreeView ownerTreeView
System.Boolean trackViewState

Properties

IsReadOnly

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

Item[Int32]

Declaration
public PageTreeNode this[int index] { get; set; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
PageTreeNode

Methods

Add(PageTreeNode)

Declaration
public int Add(PageTreeNode item)
Parameters
Type Name Description
PageTreeNode item
Returns
Type Description
System.Int32

Contains(PageTreeNode)

Declaration
public bool Contains(PageTreeNode item)
Parameters
Type Name Description
PageTreeNode item
Returns
Type Description
System.Boolean

CopyTo(PageTreeNode[], Int32)

Declaration
public void CopyTo(PageTreeNode[] array, int arrayIndex)
Parameters
Type Name Description
PageTreeNode[] array
System.Int32 arrayIndex

CreateKnownType(Int32)

Declaration
protected override object CreateKnownType(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Object

GetKnownTypes()

Declaration
protected override Type[] GetKnownTypes()
Returns
Type Description
System.Type[]

IndexOf(PageTreeNode)

Declaration
public int IndexOf(PageTreeNode item)
Parameters
Type Name Description
PageTreeNode item
Returns
Type Description
System.Int32

Insert(Int32, PageTreeNode)

Declaration
public void Insert(int index, PageTreeNode item)
Parameters
Type Name Description
System.Int32 index
PageTreeNode item

OnValidate(Object)

Declaration
protected override void OnValidate(object o)
Parameters
Type Name Description
System.Object o

Remove(PageTreeNode)

Declaration
public void Remove(PageTreeNode item)
Parameters
Type Name Description
PageTreeNode item

RemoveAt(Int32)

Declaration
public void RemoveAt(int index)
Parameters
Type Name Description
System.Int32 index

SetDirtyObject(Object)

Declaration
protected override void SetDirtyObject(object o)
Parameters
Type Name Description
System.Object o

Extension Methods