Class GanttViewDataItemCollection
Represents an observable collection of GanttViewDataItem.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class GanttViewDataItemCollection : NotifyCollection<GanttViewDataItem>, IList<GanttViewDataItem>, ICollection<GanttViewDataItem>, IList, ICollection, IReadOnlyList<GanttViewDataItem>, IReadOnlyCollection<GanttViewDataItem>, IEnumerable<GanttViewDataItem>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged
Constructors
GanttViewDataItemCollection(GanttViewDataItem)
Initializes a new instance of the GanttViewDataItemCollection class.
Declaration
public GanttViewDataItemCollection(GanttViewDataItem owner)
Parameters
GanttViewDataItem
owner
The owner. |
Properties
GanttViewElement
Gets the gantt view.
Declaration
public RadGanttViewElement GanttViewElement { get; }
Property Value
RadGanttViewElement
The tree view. |
IsEmpty
Gets a value indicating whether this instance is empty.
Declaration
protected bool IsEmpty { get; }
Property Value
System.Boolean
|
NeedsRefresh
Gets a value indicating whether the collection needs a refresh.
Declaration
protected bool NeedsRefresh { get; }
Property Value
System.Boolean
|
Owner
Gets the owner.
Declaration
public GanttViewDataItem Owner { get; }
Property Value
GanttViewDataItem
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
IGanttViewDataItemEnumerator
|
GetGanttViewDataItemEnumerator(Int32)
Gets the gantt view data item enumerator.
Declaration
public IGanttViewDataItemEnumerator GetGanttViewDataItemEnumerator(int position)
Parameters
System.Int32
position
The position. |
Returns
IGanttViewDataItemEnumerator
|
GetGanttViewDataItemEnumerator(GanttViewDataItem)
Gets the gantt view data item enumerator.
Declaration
public IGanttViewDataItemEnumerator GetGanttViewDataItemEnumerator(GanttViewDataItem item)
Parameters
GanttViewDataItem
item
The item. |
Returns
IGanttViewDataItemEnumerator
|
InsertItem(Int32, GanttViewDataItem)
Inserts the item at the specified index.
Declaration
protected override void InsertItem(int index, GanttViewDataItem item)
Parameters
System.Int32
index
The index. |
GanttViewDataItem
item
The item. |
Overrides
Exceptions
System.ArgumentException
|
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Raises the CollectionChanged event.
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
Parameters
NotifyCollectionChangedEventArgs
args
The NotifyCollectionChangedEventArgs instance containing the event data. |
Overrides
OnCollectionItemChanged(GanttViewDataItem)
Raises the NotifyCollectionChanged event.
Declaration
protected virtual void OnCollectionItemChanged(GanttViewDataItem item)
Parameters
GanttViewDataItem
item
The item. |
OnCollectionItemChanging(GanttViewDataItem)
Raises the NotifyCollectionChanging event.
Declaration
protected virtual void OnCollectionItemChanging(GanttViewDataItem item)
Parameters
GanttViewDataItem
item
The item. |
Refresh()
Refreshes this instance.
Declaration
public void Refresh()
RemoveItem(Int32)
Removes the item at the specified index.
Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32
index
The index. |
Overrides
ResetVersion()
Resets the version of this collection.
Declaration
protected void ResetVersion()
SetItem(Int32, GanttViewDataItem)
Sets the item at the specified index.
Declaration
protected override void SetItem(int index, GanttViewDataItem item)
Parameters
System.Int32
index
The index. |
GanttViewDataItem
item
The item. |
Overrides
SyncVersion()
Syncs the version of this collection with the binding provider.
Declaration
protected void SyncVersion()
Update()
Updates this instance.
Declaration
protected void Update()