New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Represents collection of OrgChartGroupItem in the RadOrgChart control.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class OrgChartGroupItemCollection : List<OrgChartGroupItem>, IList<OrgChartGroupItem>, ICollection<OrgChartGroupItem>, IList, ICollection, IReadOnlyList<OrgChartGroupItem>, IReadOnlyCollection<OrgChartGroupItem>, IEnumerable<OrgChartGroupItem>, IEnumerable, IOrgChartRendererContainer, IXmlSerializable, IDisposable

Inheritance: objectList<OrgChartGroupItem>OrgChartGroupItemCollection

Implements: ICollectionICollection<OrgChartGroupItem>IDisposableIEnumerableIEnumerable<OrgChartGroupItem>IListIList<OrgChartGroupItem>IOrgChartRendererContainerIReadOnlyCollection<OrgChartGroupItem>IReadOnlyList<OrgChartGroupItem>IXmlSerializable...

Inherited Members List<OrgChartGroupItem>.AsReadOnly()List<OrgChartGroupItem>.BinarySearch(int, int, OrgChartGroupItem, IComparer<OrgChartGroupItem>)List<OrgChartGroupItem>.BinarySearch(OrgChartGroupItem)List<OrgChartGroupItem>.BinarySearch(OrgChartGroupItem, IComparer<OrgChartGroupItem>)List<OrgChartGroupItem>.Contains(OrgChartGroupItem)List<OrgChartGroupItem>.ConvertAll<TOutput>(Converter<OrgChartGroupItem, TOutput>)List<OrgChartGroupItem>.CopyTo(OrgChartGroupItem[])List<OrgChartGroupItem>.CopyTo(int, OrgChartGroupItem[], int, int)List<OrgChartGroupItem>.CopyTo(OrgChartGroupItem[], int)List<OrgChartGroupItem>.Exists(Predicate<OrgChartGroupItem>)List<OrgChartGroupItem>.Find(Predicate<OrgChartGroupItem>)List<OrgChartGroupItem>.FindAll(Predicate<OrgChartGroupItem>)List<OrgChartGroupItem>.FindIndex(Predicate<OrgChartGroupItem>)List<OrgChartGroupItem>.FindIndex(int, Predicate<OrgChartGroupItem>)List<OrgChartGroupItem>.FindIndex(int, int, Predicate<OrgChartGroupItem>)List<OrgChartGroupItem>.FindLast(Predicate<OrgChartGroupItem>)List<OrgChartGroupItem>.FindLastIndex(Predicate<OrgChartGroupItem>)List<OrgChartGroupItem>.FindLastIndex(int, Predicate<OrgChartGroupItem>)List<OrgChartGroupItem>.FindLastIndex(int, int, Predicate<OrgChartGroupItem>)List<OrgChartGroupItem>.ForEach(Action<OrgChartGroupItem>)List<OrgChartGroupItem>.GetEnumerator()List<OrgChartGroupItem>.GetRange(int, int)List<OrgChartGroupItem>.IndexOf(OrgChartGroupItem)List<OrgChartGroupItem>.IndexOf(OrgChartGroupItem, int)List<OrgChartGroupItem>.IndexOf(OrgChartGroupItem, int, int)List<OrgChartGroupItem>.LastIndexOf(OrgChartGroupItem)List<OrgChartGroupItem>.LastIndexOf(OrgChartGroupItem, int)List<OrgChartGroupItem>.LastIndexOf(OrgChartGroupItem, int, int)List<OrgChartGroupItem>.Reverse()List<OrgChartGroupItem>.Reverse(int, int)List<OrgChartGroupItem>.Sort()List<OrgChartGroupItem>.Sort(IComparer<OrgChartGroupItem>)List<OrgChartGroupItem>.Sort(int, int, IComparer<OrgChartGroupItem>)List<OrgChartGroupItem>.Sort(Comparison<OrgChartGroupItem>)List<OrgChartGroupItem>.ToArray()List<OrgChartGroupItem>.TrimExcess()List<OrgChartGroupItem>.TrueForAll(Predicate<OrgChartGroupItem>)List<OrgChartGroupItem>.CapacityList<OrgChartGroupItem>.CountList<OrgChartGroupItem>.this[int]object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

Initializes a new instance of the OrgChartGroupItemCollection class.

C#
public OrgChartGroupItemCollection()

Properties

Gets or sets the node to which the OrgChartGroupItem belong.

C#
public OrgChartNode Node { get; set; }

Gets the OrgChartGroupItemRendererBase for OrgChartGroupItemCollection.

C#
public OrgChartGroupItemCollectionRendererBase Renderer { get; }

Methods

Add a new OrgChartGroupItem to the OrgChartGroupItemCollection if the collection does not contains it.

C#
public void Add(OrgChartGroupItem item)
Parameters:itemOrgChartGroupItem

The added OrgChartGroupItem

Example:
C#
This example shows how to add an <xref href="Telerik.Web.UI.OrgChartGroupItem?text=Item" data-throw-if-not-resolved="false"></xref> into OrgChartGroupItemCollection

Add an IEnumerable of OrgChartGroupItem to the OrgChartGroupItemCollection.

C#
public void AddRange(IEnumerable<OrgChartGroupItem> collection)
Parameters:collectionIEnumerable<OrgChartGroupItem>

IEnumerable ofOrgChartGroupItem

Remove all OrgChartGroupItem in the collection.

C#
public void Clear()
C#
public void Dispose()

Implements: IDisposable.Dispose()

C#
protected virtual void Dispose(bool disposing)
Parameters:disposingbool

Insert a new OrgChartGroupItem to the OrgChartGroupItemCollection on a specific position.

C#
public void Insert(int index, OrgChartGroupItem item)
Parameters:indexint

Integer position to insert at

itemOrgChartGroupItem

The added OrgChartGroupItem

Example:
C#
This example shows how to insert a <xref href="Telerik.Web.UI.OrgChartGroupItem?text=GroupItem" data-throw-if-not-resolved="false"></xref> into OrgChartGroupItemCollection on first position

Insert a collection of OrgChartGroupItem to a specified index in the OrgChartGroupItemCollection.

C#
public void InsertRange(int index, IEnumerable<OrgChartGroupItem> collection)
Parameters:indexint

Integer the position to insert at

collectionIEnumerable<OrgChartGroupItem>

IEnumerable of OrgChartGroupItem

C#
protected void OnItemAdding(OrgChartGroupItem item)
Parameters:itemOrgChartGroupItem
C#
protected void OnItemRemoving(OrgChartGroupItem item)
Parameters:itemOrgChartGroupItem

Remove a OrgChartGroupItem from the OrgChartGroupItemCollection if the collection contains it.

C#
public void Remove(OrgChartGroupItem item)
Parameters:itemOrgChartGroupItem

The removed OrgChartGroupItem

Example:
C#
This example shows how to remove an <xref href="Telerik.Web.UI.OrgChartGroupItem?text=Item" data-throw-if-not-resolved="false"></xref> from OrgChartGroupItemCollection

Remove all OrgChartGroupItem in the collection matching the passed condition.

C#
public void RemoveAll(Predicate<OrgChartGroupItem> match)
Parameters:matchPredicate<OrgChartGroupItem>

Predicate to match OrgChartGroupItem

Remove the OrgChartGroupItem on the specified position in the collection.

C#
public void RemoveAt(int index)
Parameters:indexint

Integer index

Removes a range of OrgChartGroupItem in the collection.

C#
public void RemoveRange(int index, int count)
Parameters:indexint

Integer index - the starting point of the range

countint

Integer count - the size of the range

Synchronize OrgChartGroupItemCollectionRenderer properties during OnPreRender stage.

C#
public void SyncRenderedProperties()

Implements: IOrgChartRendererContainer.SyncRenderedProperties()