ClassGanttViewDataItemCollection
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
GanttViewDataItemCollection(GanttViewDataItem)
Initializes a new instance of the GanttViewDataItemCollection class.
Declaration
public GanttViewDataItemCollection(GanttViewDataItem owner)
Parameters
owner
The owner.
Properties
GanttViewElement
Gets the gantt view.
Declaration
public RadGanttViewElement GanttViewElement { get; }
Property Value
The tree view.
IsEmpty
Gets a value indicating whether this instance is empty.
Declaration
protected bool IsEmpty { get; }
Property Value
true if this instance is empty; otherwise, false.
NeedsRefresh
Gets a value indicating whether the collection needs a refresh.
Declaration
protected bool NeedsRefresh { get; }
Property Value
true if a refresh is needed; otherwise, false.
Owner
Gets the owner.
Declaration
[Browsable(false)]
public GanttViewDataItem Owner { get; }
Property Value
The owner.
Methods
ClearItems()
Removes all the items.
Declaration
protected override void ClearItems()
Overrides
GetGanttViewDataItemEnumerator()
Gets the gantt view data item enumerator.
Declaration
public IGanttViewDataItemEnumerator GetGanttViewDataItemEnumerator()
Returns
GetGanttViewDataItemEnumerator(GanttViewDataItem)
Gets the gantt view data item enumerator.
Declaration
public IGanttViewDataItemEnumerator GetGanttViewDataItemEnumerator(GanttViewDataItem item)
Parameters
item
The item.
Returns
GetGanttViewDataItemEnumerator(int)
Gets the gantt view data item enumerator.
Declaration
public IGanttViewDataItemEnumerator GetGanttViewDataItemEnumerator(int position)
Parameters
position
The position.
Returns
InsertItem(int, GanttViewDataItem)
Inserts the item at the specified index.
Declaration
protected override void InsertItem(int index, GanttViewDataItem 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
OnCollectionItemChanged(GanttViewDataItem)
Raises the NotifyCollectionChanged event.
Declaration
protected virtual void OnCollectionItemChanged(GanttViewDataItem item)
Parameters
item
The item.
OnCollectionItemChanging(GanttViewDataItem)
Raises the NotifyCollectionChanging event.
Declaration
protected virtual void OnCollectionItemChanging(GanttViewDataItem item)
Parameters
item
The item.
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 collection.
Declaration
protected void ResetVersion()
SetItem(int, GanttViewDataItem)
Sets the item at the specified index.
Declaration
protected override void SetItem(int index, GanttViewDataItem item)
Parameters
index
The index.
item
The item.
Overrides
SyncVersion()
Syncs the version of this collection with the binding provider.
Declaration
protected void SyncVersion()