Class
GanttViewLinkDataItemCollection

Represents an observable collection of GanttViewLinkDataItem.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class GanttViewLinkDataItemCollection : NotifyCollection<GanttViewLinkDataItem>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged

Inheritance: objectCollection<GanttViewLinkDataItem>NotifyCollection<GanttViewLinkDataItem>GanttViewLinkDataItemCollection

Implements: ICollectionIEnumerableIListINotifyCollectionChangedINotifyPropertyChanged

Inherited Members NotifyCollection<GanttViewLinkDataItem>.EmptyNotifyCollection<GanttViewLinkDataItem>.Move(int, int)NotifyCollection<GanttViewLinkDataItem>.AddRange(params GanttViewLinkDataItem[])NotifyCollection<GanttViewLinkDataItem>.AddRange(IEnumerable<GanttViewLinkDataItem>)NotifyCollection<GanttViewLinkDataItem>.BeginUpdate()NotifyCollection<GanttViewLinkDataItem>.EndUpdate()NotifyCollection<GanttViewLinkDataItem>.EndUpdate(bool)NotifyCollection<GanttViewLinkDataItem>.DeferRefresh()NotifyCollection<GanttViewLinkDataItem>.MoveItem(int, int)NotifyCollection<GanttViewLinkDataItem>.CreateEventArguments(NotifyCollectionChangedAction)NotifyCollection<GanttViewLinkDataItem>.CreateEventArguments(NotifyCollectionChangedAction, object, int)NotifyCollection<GanttViewLinkDataItem>.CreateEventArguments(NotifyCollectionChangedAction, object, object, int)NotifyCollection<GanttViewLinkDataItem>.OnPropertyChanged(PropertyChangedEventArgs)NotifyCollection<GanttViewLinkDataItem>.OnPropertyChanged(string)NotifyCollection<GanttViewLinkDataItem>.VersionNotifyCollection<GanttViewLinkDataItem>.SuspendedNotifyCollection<GanttViewLinkDataItem>.CollectionChangedNotifyCollection<GanttViewLinkDataItem>.PropertyChangedCollection<GanttViewLinkDataItem>.Add(GanttViewLinkDataItem)Collection<GanttViewLinkDataItem>.Clear()Collection<GanttViewLinkDataItem>.CopyTo(GanttViewLinkDataItem[], int)Collection<GanttViewLinkDataItem>.Contains(GanttViewLinkDataItem)Collection<GanttViewLinkDataItem>.GetEnumerator()Collection<GanttViewLinkDataItem>.IndexOf(GanttViewLinkDataItem)Collection<GanttViewLinkDataItem>.Insert(int, GanttViewLinkDataItem)Collection<GanttViewLinkDataItem>.Remove(GanttViewLinkDataItem)Collection<GanttViewLinkDataItem>.RemoveAt(int)Collection<GanttViewLinkDataItem>.CountCollection<GanttViewLinkDataItem>.ItemsCollection<GanttViewLinkDataItem>.this[int]

Constructors

GanttViewLinkDataItemCollection(RadGanttViewElement)

Initializes a new instance of the GanttViewLinkDataItemCollection class.

Declaration

cs-api-definition
public GanttViewLinkDataItemCollection(RadGanttViewElement ganttViewElement)

Parameters

ganttViewElement

RadGanttViewElement

The gantt view element.

Properties

GanttViewElement

Gets the RadGanttViewElement that owns this collection.

Declaration

cs-api-definition
public RadGanttViewElement GanttViewElement { get; }

Property Value

RadGanttViewElement

The gantt view element.

NeedsRefresh

Gets a value indicating whether this instance needs refresh.

Declaration

cs-api-definition
protected bool NeedsRefresh { get; }

Property Value

bool

true if a refresh is needed; otherwise, false.

Methods

ClearItems()

Removes all the items.

Declaration

cs-api-definition
protected override void ClearItems()

Overrides NotifyCollection<GanttViewLinkDataItem>.ClearItems()

InsertItem(int, GanttViewLinkDataItem)

Inserts the item at the specified index.

Declaration

cs-api-definition
protected override void InsertItem(int index, GanttViewLinkDataItem item)

Parameters

index

int

The index.

item

GanttViewLinkDataItem

The item.

Exceptions

ArgumentException

Overrides NotifyCollection<GanttViewLinkDataItem>.InsertItem(int, GanttViewLinkDataItem)

OnCollectionChanged(NotifyCollectionChangedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs args)

Parameters

args

NotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs instance containing the event data.

Overrides NotifyCollection<GanttViewLinkDataItem>.OnCollectionChanged(NotifyCollectionChangedEventArgs)

Refresh()

Refreshes this instance.

Declaration

cs-api-definition
public void Refresh()

RemoveItem(int)

Removes the item at the specified index.

Declaration

cs-api-definition
protected override void RemoveItem(int index)

Parameters

index

int

The index.

Overrides NotifyCollection<GanttViewLinkDataItem>.RemoveItem(int)

ResetVersion()

Resets the version of this instance.

Declaration

cs-api-definition
protected void ResetVersion()

SetItem(int, GanttViewLinkDataItem)

Sets the item at the specified index.

Declaration

cs-api-definition
protected override void SetItem(int index, GanttViewLinkDataItem item)

Parameters

index

int

The index.

item

GanttViewLinkDataItem

The item.

Overrides NotifyCollection<GanttViewLinkDataItem>.SetItem(int, GanttViewLinkDataItem)

SyncVersion()

Syncs the version of this instance with the binding provider.

Declaration

cs-api-definition
protected void SyncVersion()