Class GanttViewDataItemView
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class GanttViewDataItemView : IList<GanttViewDataItem>, ICollection<GanttViewDataItem>, IEnumerable<GanttViewDataItem>, IEnumerable
Constructors
GanttViewDataItemView(GanttViewDataItem)
Initializes a new instance of the GanttViewDataItemView class.
Declaration
public GanttViewDataItemView(GanttViewDataItem owner)
Parameters
GanttViewDataItem
owner
The owner. |
Properties
Count
Gets the number of elements contained in this collection.
Declaration
public int Count { get; }
Property Value
System.Int32
The number of elements contained in this collection. |
Implements
IsEmpty
Gets a value indicating whether this instance is empty.
Declaration
protected bool IsEmpty { get; }
Property Value
System.Boolean
|
IsReadOnly
Gets a value indicating whether ththis collection is read-only.
Declaration
public bool IsReadOnly { get; }
Property Value
System.Boolean
true if this collection is read-only; otherwise, false. |
Implements
Item[Int32]
Gets or sets the element at the specified index.
Declaration
public GanttViewDataItem this[int index] { get; set; }
Parameters
System.Int32
index
The index. |
Property Value
GanttViewDataItem
|
Implements
Methods
Add(GanttViewDataItem)
Adds the item to the collection.
Declaration
public void Add(GanttViewDataItem item)
Parameters
GanttViewDataItem
item
The object to add. |
Implements
Clear()
Removes all items.
Declaration
public void Clear()
Implements
Contains(GanttViewDataItem)
Determines whether the collection contains a specific value.
Declaration
public bool Contains(GanttViewDataItem item)
Parameters
GanttViewDataItem
item
The object to locate. |
Returns
System.Boolean
true if |
Implements
CopyTo(GanttViewDataItem[], Int32)
Copies all items to the given array.
Declaration
public void CopyTo(GanttViewDataItem[] array, int arrayIndex)
Parameters
GanttViewDataItem[]
array
The array. |
System.Int32
arrayIndex
Index of the array. |
Implements
GetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public IEnumerator<GanttViewDataItem> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<GanttViewDataItem>
An IEnumerator that can be used to iterate through the collection. |
Implements
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
|
IndexOf(GanttViewDataItem)
Determines the index of a specific item.
Declaration
public int IndexOf(GanttViewDataItem item)
Parameters
GanttViewDataItem
item
The object to locate. |
Returns
System.Int32
The index of |
Implements
Insert(Int32, GanttViewDataItem)
Inserts an item to the collection at the specified index.
Declaration
public void Insert(int index, GanttViewDataItem item)
Parameters
System.Int32
index
The zero-based index at which |
GanttViewDataItem
item
The object to insert into the collection. |
Implements
Remove(GanttViewDataItem)
Removes the first occurrence of a specific object.
Declaration
public bool Remove(GanttViewDataItem item)
Parameters
GanttViewDataItem
item
The object to remove. |
Returns
System.Boolean
true if |
Implements
RemoveAt(Int32)
Removes the item at the specified index.
Declaration
public void RemoveAt(int index)
Parameters
System.Int32
index
The zero-based index of the item to remove. |
Implements
Update()
Updates this instance.
Declaration
protected bool Update()
Returns
System.Boolean
|
UpdateView()
Updates the view.
Declaration
protected bool UpdateView()
Returns
System.Boolean
|
Explicit Interface Implementations
IEnumerable.GetEnumerator()
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
|