New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class GanttViewDataItemView : IEnumerable

Inheritance: objectGanttViewDataItemView

Implements: IEnumerable

Constructors

Initializes a new instance of the GanttViewDataItemView class.

C#
public GanttViewDataItemView(GanttViewDataItem owner)
Parameters:ownerGanttViewDataItem

The owner.

Properties

Gets the number of elements contained in this collection.

C#
public int Count { get; }
Property Value:

The number of elements contained in this collection.

Gets a value indicating whether this instance is empty.

C#
protected bool IsEmpty { get; }
Property Value:

true if this instance is empty; otherwise, false.

Gets a value indicating whether ththis collection is read-only.

C#
public bool IsReadOnly { get; }
Property Value:

true if this collection is read-only; otherwise, false.

Gets or sets the element at the specified index.

C#
public GanttViewDataItem this[int index] { get; set; }
Parameters:indexint

The index.

Methods

Adds the item to the collection.

C#
public void Add(GanttViewDataItem item)
Parameters:itemGanttViewDataItem

The object to add.

Removes all items.

C#
public void Clear()

Determines whether the collection contains a specific value.

C#
public bool Contains(GanttViewDataItem item)
Parameters:itemGanttViewDataItem

The object to locate.

Returns:

bool

true if item is found; otherwise, false.

Copies all items to the given array.

C#
public void CopyTo(GanttViewDataItem[] array, int arrayIndex)
Parameters:arrayGanttViewDataItem[]

The array.

arrayIndexint

Index of the array.

Returns an enumerator that iterates through the collection.

C#
public IEnumerator<GanttViewDataItem> GetEnumerator()
Returns:

IEnumerator<GanttViewDataItem>

An IEnumerator that can be used to iterate through the collection.

Gets the gantt view data item enumerator.

C#
public IGanttViewDataItemEnumerator GetGanttViewDataItemEnumerator()
Returns:

IGanttViewDataItemEnumerator

Gets the gantt view data item enumerator.

C#
public IGanttViewDataItemEnumerator GetGanttViewDataItemEnumerator(GanttViewDataItem item)
Parameters:itemGanttViewDataItem

The item.

Returns:

IGanttViewDataItemEnumerator

Gets the gantt view data item enumerator.

C#
public IGanttViewDataItemEnumerator GetGanttViewDataItemEnumerator(int position)
Parameters:positionint

The position.

Returns:

IGanttViewDataItemEnumerator

Determines the index of a specific item.

C#
public int IndexOf(GanttViewDataItem item)
Parameters:itemGanttViewDataItem

The object to locate.

Returns:

int

The index of item if found in the collection; otherwise, -1.

Inserts an item to the collection at the specified index.

C#
public void Insert(int index, GanttViewDataItem item)
Parameters:indexint

The zero-based index at which item should be inserted.

itemGanttViewDataItem

The object to insert into the collection.

Removes the first occurrence of a specific object.

C#
public bool Remove(GanttViewDataItem item)
Parameters:itemGanttViewDataItem

The object to remove.

Returns:

bool

true if item was successfully removed; otherwise, false.

Removes the item at the specified index.

C#
public void RemoveAt(int index)
Parameters:indexint

The zero-based index of the item to remove.

Updates this instance.

C#
protected bool Update()
Returns:

bool

Updates the view.

C#
protected bool UpdateView()
Returns:

bool