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

Generic base collection for Gantt entities, providing typed enumeration and basic collection operations.

Definition

Constructors

C#
public BaseCollection()
C#
public BaseCollection(IGantt owner)
Parameters:ownerIGantt

Properties

C#
public IGantt Owner { get; }

Gets or sets the at the specified index.

C#
public T this[int index] { get; set; }
Parameters:indexint

The zero-based index of the item to get or set.

Property Value:

The item at the specified index.

Methods

C#
public virtual void Add(T entity)
Parameters:entityT
C#
public virtual void AddRange(IEnumerable<T> entities)
Parameters:entitiesIEnumerable<T>
C#
public IEnumerator<T> GetEnumerator()
Returns:

IEnumerator<T>

Implements: IEnumerable<T>.GetEnumerator()

C#
protected override void SetDirtyObject(object o)
Parameters:oobject

Overrides: StateManagedCollection.SetDirtyObject(object)