Class GanttViewDataItemCollection
Represents an observable collection of Gantt
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 Gantt
Declaration
public GanttViewDataItemCollection(GanttViewDataItem owner)
Parameters
Gantt The owner. |
Properties
GanttViewElement
Gets the gantt view.
Declaration
public RadGanttViewElement GanttViewElement { get; }
Property Value
Rad The tree view. |
IsEmpty
Gets a value indicating whether this instance is empty.
Declaration
protected bool IsEmpty { get; }
Property Value
System.
|
NeedsRefresh
Gets a value indicating whether the collection needs a refresh.
Declaration
protected bool NeedsRefresh { get; }
Property Value
System.
|
Owner
Gets the owner.
Declaration
public GanttViewDataItem Owner { get; }
Property Value
Gantt 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(Int32)
Gets the gantt view data item enumerator.
Declaration
public IGanttViewDataItemEnumerator GetGanttViewDataItemEnumerator(int position)
Parameters
System. The position. |
Returns
GetGanttViewDataItemEnumerator(GanttViewDataItem)
Gets the gantt view data item enumerator.
Declaration
public IGanttViewDataItemEnumerator GetGanttViewDataItemEnumerator(GanttViewDataItem item)
Parameters
Gantt The item. |
Returns
InsertItem(Int32, GanttViewDataItem)
Inserts the item at the specified index.
Declaration
protected override void InsertItem(int index, GanttViewDataItem item)
Parameters
System. The index. |
Gantt The item. |
Overrides
Exceptions
System.
|
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Raises the Collection
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
Parameters
Notify The Notify |
Overrides
OnCollectionItemChanged(GanttViewDataItem)
Raises the NotifyCollectionChanged event.
Declaration
protected virtual void OnCollectionItemChanged(GanttViewDataItem item)
Parameters
Gantt The item. |
OnCollectionItemChanging(GanttViewDataItem)
Raises the NotifyCollectionChanging event.
Declaration
protected virtual void OnCollectionItemChanging(GanttViewDataItem item)
Parameters
Gantt 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. 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. The index. |
Gantt 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()