Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class GanttViewDataItemView : IEnumerable
Inheritance: objectGanttViewDataItemView
Implements:
Constructors
Initializes a new instance of the GanttViewDataItemView class.
public GanttViewDataItemView(GanttViewDataItem owner)
The owner.
Properties
Gets the number of elements contained in this collection.
public int Count { get; }
The number of elements contained in this collection.
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 ththis collection is read-only.
public bool IsReadOnly { get; }
true if this collection is read-only; otherwise, false.
Gets or sets the element at the specified index.
Methods
Adds the item to the collection.
Removes all items.
public void Clear()
Determines whether the collection contains a specific value.
public bool Contains(GanttViewDataItem item)
The object to locate.
Returns:true if item is found; otherwise, false.
Copies all items to the given array.
public void CopyTo(GanttViewDataItem[] array, int arrayIndex)
The array.
arrayIndexintIndex of the array.
Returns an enumerator that iterates through the collection.
public IEnumerator<GanttViewDataItem> GetEnumerator()
IEnumerator<GanttViewDataItem>
An IEnumerator that can be used to iterate through the collection.
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:Determines the index of a specific item.
public int IndexOf(GanttViewDataItem item)
The object to locate.
Returns:The index of item if found in the collection; otherwise, -1.
Inserts an item to the collection at the specified index.
public void Insert(int index, GanttViewDataItem item)
The zero-based index at which item should be inserted.
The object to insert into the collection.
Removes the first occurrence of a specific object.
public bool Remove(GanttViewDataItem item)
The object to remove.
Returns:true if item was successfully removed; otherwise, false.
Removes the item at the specified index.
Updates the view.