skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class GanttViewDataItemView

Inheritance
System.Object
GanttViewDataItemView
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
System.Collections.Generic.ICollection<T>.Count

IsEmpty

Gets a value indicating whether this instance is empty.

Declaration
protected bool IsEmpty { get; }
Property Value
System.Boolean

true if this instance is empty; otherwise, false.

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
System.Collections.Generic.ICollection<T>.IsReadOnly

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
System.Collections.Generic.IList<T>.Item[System.Int32]

Methods

Add(GanttViewDataItem)

Adds the item to the collection.

Declaration
public void Add(GanttViewDataItem item)
Parameters
GanttViewDataItem item

The object to add.

Implements
System.Collections.Generic.ICollection<T>.Add(T)

Clear()

Removes all items.

Declaration
public void Clear()
Implements
System.Collections.Generic.ICollection<T>.Clear()

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 item is found; otherwise, false.

Implements
System.Collections.Generic.ICollection<T>.Contains(T)

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
System.Collections.Generic.ICollection<T>.CopyTo(T[], System.Int32)

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
System.Collections.Generic.IEnumerable<T>.GetEnumerator()

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 item if found in the collection; otherwise, -1.

Implements
System.Collections.Generic.IList<T>.IndexOf(T)

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 item should be inserted.

GanttViewDataItem item

The object to insert into the collection.

Implements
System.Collections.Generic.IList<T>.Insert(System.Int32, T)

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 item was successfully removed; otherwise, false.

Implements
System.Collections.Generic.ICollection<T>.Remove(T)

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
System.Collections.Generic.IList<T>.RemoveAt(System.Int32)

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

Implements
System.Collections.IEnumerable.GetEnumerator()

Extension Methods

CommonExtensions.AddRange<T>(ICollection<T>, IEnumerable<T>)
CommonExtensions.ContainsAny<T>(IEnumerable<T>, IEnumerable<T>)
CommonExtensions.ForEach<T>(IEnumerable<T>, Action<T>)
CommonExtensions.RemoveLast<T>(IList<T>)
CommonExtensions.EnsureListCountAtLeast<T>(IList<T>, Int32, Func<T>)
CommonExtensions.EnsureListCount<T>(IList<T>, Int32, Func<T>)
CommonExtensions.Clone<T>(IEnumerable<T>)
ExtensionMethodsEditor.CastCovariant<TFrom, TTo>(IEnumerable<TFrom>)
SvgExtentions.Traverse<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(IEnumerable<T>, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.