ClassGanttViewLinkDataItemCollection
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
GanttViewLinkDataItemCollection(RadGanttViewElement)
Initializes a new instance of the GanttViewLinkDataItemCollection class.
Declaration
public GanttViewLinkDataItemCollection(RadGanttViewElement ganttViewElement)
Parameters
ganttViewElement
The gantt view element.
Properties
GanttViewElement
Gets the RadGanttViewElement that owns this collection.
Declaration
public RadGanttViewElement GanttViewElement { get; }
Property Value
The gantt view element.
NeedsRefresh
Gets a value indicating whether this instance needs refresh.
Declaration
protected bool NeedsRefresh { get; }
Property Value
true if a refresh is needed; otherwise, false.
Methods
ClearItems()
Removes all the items.
Declaration
protected override void ClearItems()
Overrides
InsertItem(int, GanttViewLinkDataItem)
Inserts the item at the specified index.
Declaration
protected override void InsertItem(int index, GanttViewLinkDataItem item)
Parameters
index
The index.
item
The item.
Exceptions
Overrides
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Raises the event.
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
Parameters
args
NotifyCollectionChangedEventArgs
The NotifyCollectionChangedEventArgs instance containing the event data.
Overrides
RemoveItem(int)
Removes the item at the specified index.
Declaration
protected override void RemoveItem(int index)
Parameters
index
The index.
Overrides
ResetVersion()
Resets the version of this instance.
Declaration
protected void ResetVersion()
SetItem(int, GanttViewLinkDataItem)
Sets the item at the specified index.
Declaration
protected override void SetItem(int index, GanttViewLinkDataItem item)
Parameters
index
The index.
item
The item.
Overrides
SyncVersion()
Syncs the version of this instance with the binding provider.
Declaration
protected void SyncVersion()