Represents collection of OrgChartNode in the RadOrgChart control.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class OrgChartNodeCollection : List<OrgChartNode>, IList<OrgChartNode>, ICollection<OrgChartNode>, IList, ICollection, IReadOnlyList<OrgChartNode>, IReadOnlyCollection<OrgChartNode>, IEnumerable<OrgChartNode>, IEnumerable, IOrgChartRendererContainer, IXmlSerializable, IDisposable
Inheritance: objectList<OrgChartNode>OrgChartNodeCollection
Implements:
Inherited Members
Constructors
Initializes a new instance of the OrgChartNodeCollection class.
public OrgChartNodeCollection()
Properties
Check if the OrgChartNodeCollection is the root node collection for RadOrgChart control.
public bool IsRootNodeCollection { get; }
Gets and sets OrgChartNodeCollection parent container.
public IOrgChartNodeContainer NodesContainer { get; set; }
Gets the OrgChartNodeCollectionRenderer for OrgChartNodeCollection
public OrgChartNodeCollectionRenderer Renderer { get; }
Methods
Add a new OrgChartNode to the OrgChartNodeCollection if the collection does not contains it.
Add a collection of OrgChartNode to the OrgChartNodeCollection.
public void AddRange(IEnumerable<OrgChartNode> collection)
IEnumerable of OrgChartNode
Remove all OrgChartNode in the collection.
public void Clear()
public void Dispose()
Implements:
Insert a new OrgChartNode to the OrgChartNodeCollection on a specific position.
public void Insert(int index, OrgChartNode node)
Integer position to insert at
nodeOrgChartNodeThe added OrgChartNode
Insert a collection of OrgChartNode to a specified index in the OrgChartNodeCollection.
public void InsertRange(int index, IEnumerable<OrgChartNode> collection)
Integer the position to insert at
collectionIEnumerable<OrgChartNode>IEnumerable of OrgChartNode
Remove a OrgChartNode from the OrgChartNodeCollection if the collection contains it.
Remove all OrgChartNode that match the passed criteria from the collection.
public void RemoveAll(Predicate<OrgChartNode> match)
Predicate to match OrgChartNode for removal
Remove the OrgChartNode on the specified position in the collection.
Removes a range of OrgChartNode in the collection.
Synchronize OrgChartNodeCollectionRenderer properties during OnPreRender stage.
public void SyncRenderedProperties()
Implements: