Represents an observable collection of GanttViewLinkDataItem.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class GanttViewLinkDataItemCollection : NotifyCollection<GanttViewLinkDataItem>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Inheritance: objectCollection<GanttViewLinkDataItem>NotifyCollection<GanttViewLinkDataItem>GanttViewLinkDataItemCollection
Implements:
Inherited Members
Constructors
Initializes a new instance of the GanttViewLinkDataItemCollection class.
public GanttViewLinkDataItemCollection(RadGanttViewElement ganttViewElement)
The gantt view element.
Properties
Gets the RadGanttViewElement that owns this collection.
public RadGanttViewElement GanttViewElement { get; }
The gantt view element.
Gets a value indicating whether this instance needs refresh.
protected bool NeedsRefresh { get; }
true if a refresh is needed; otherwise, false.
Methods
Removes all the items.
protected override void ClearItems()
Overrides:
Inserts the item at the specified index.
protected override void InsertItem(int index, GanttViewLinkDataItem item)
The index.
itemGanttViewLinkDataItemThe item.
Exceptions:Overrides:
Raises the event.
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
The NotifyCollectionChangedEventArgs instance containing the event data.
Overrides:
Refreshes this instance.
public void Refresh()
Removes the item at the specified index.
Resets the version of this instance.
protected void ResetVersion()
Sets the item at the specified index.
protected override void SetItem(int index, GanttViewLinkDataItem item)
The index.
itemGanttViewLinkDataItemThe item.
Overrides:
Syncs the version of this instance with the binding provider.
protected void SyncVersion()