New to Telerik UI for WinFormsStart a free 30-day trial

Represents an observable collection of GanttViewLinkDataItem.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
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

Initializes a new instance of the GanttViewLinkDataItemCollection class.

C#
public GanttViewLinkDataItemCollection(RadGanttViewElement ganttViewElement)
Parameters:ganttViewElementRadGanttViewElement

The gantt view element.

Properties

Gets the RadGanttViewElement that owns this collection.

C#
public RadGanttViewElement GanttViewElement { get; }
Property Value:

The gantt view element.

Gets a value indicating whether this instance needs refresh.

C#
protected bool NeedsRefresh { get; }
Property Value:

true if a refresh is needed; otherwise, false.

Methods

Removes all the items.

C#
protected override void ClearItems()

Overrides: NotifyCollection<GanttViewLinkDataItem>.ClearItems()

Inserts the item at the specified index.

C#
protected override void InsertItem(int index, GanttViewLinkDataItem item)
Parameters:indexint

The index.

itemGanttViewLinkDataItem

The item.

Exceptions:

ArgumentException

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

Raises the event.

C#
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
Parameters:argsNotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs instance containing the event data.

Overrides: NotifyCollection<GanttViewLinkDataItem>.OnCollectionChanged(NotifyCollectionChangedEventArgs)

Refreshes this instance.

C#
public void Refresh()

Removes the item at the specified index.

C#
protected override void RemoveItem(int index)
Parameters:indexint

The index.

Overrides: NotifyCollection<GanttViewLinkDataItem>.RemoveItem(int)

Resets the version of this instance.

C#
protected void ResetVersion()

Sets the item at the specified index.

C#
protected override void SetItem(int index, GanttViewLinkDataItem item)
Parameters:indexint

The index.

itemGanttViewLinkDataItem

The item.

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

Syncs the version of this instance with the binding provider.

C#
protected void SyncVersion()