Represents an observable collection of GanttViewDataItem.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class GanttViewDataItemCollection : NotifyCollection<GanttViewDataItem>, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Inheritance: objectCollection<GanttViewDataItem>NotifyCollection<GanttViewDataItem>GanttViewDataItemCollection
Implements:
Inherited Members
Constructors
Initializes a new instance of the GanttViewDataItemCollection class.
public GanttViewDataItemCollection(GanttViewDataItem owner)
The owner.
Properties
Gets the gantt view.
public RadGanttViewElement GanttViewElement { get; }
The tree view.
Gets a value indicating whether this instance is empty.
protected bool IsEmpty { get; }
true if this instance is empty; otherwise, false.
Gets a value indicating whether the collection needs a refresh.
protected bool NeedsRefresh { get; }
true if a refresh is needed; otherwise, false.
Gets the owner.
[Browsable(false)]
public GanttViewDataItem Owner { get; }
The owner.
Methods
Removes all the items.
protected override void ClearItems()
Overrides:
Gets the gantt view data item enumerator.
public IGanttViewDataItemEnumerator GetGanttViewDataItemEnumerator()
Gets the gantt view data item enumerator.
public IGanttViewDataItemEnumerator GetGanttViewDataItemEnumerator(GanttViewDataItem item)
The item.
Returns:Gets the gantt view data item enumerator.
public IGanttViewDataItemEnumerator GetGanttViewDataItemEnumerator(int position)
The position.
Returns:Inserts the item at the specified index.
protected override void InsertItem(int index, GanttViewDataItem item)
The index.
itemGanttViewDataItemThe item.
Exceptions:Overrides:
Raises the event.
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
The NotifyCollectionChangedEventArgs instance containing the event data.
Overrides:
Raises the NotifyCollectionChanged event.
protected virtual void OnCollectionItemChanged(GanttViewDataItem item)
The item.
Raises the NotifyCollectionChanging event.
protected virtual void OnCollectionItemChanging(GanttViewDataItem item)
The item.
Refreshes this instance.
public void Refresh()
Removes the item at the specified index.
Resets the version of this collection.
protected void ResetVersion()
Sets the item at the specified index.
protected override void SetItem(int index, GanttViewDataItem item)
The index.
itemGanttViewDataItemThe item.
Overrides:
Syncs the version of this collection with the binding provider.
protected void SyncVersion()
Updates this instance.
protected void Update()