skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue 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 Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    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 GanttViewLinkDataItem

Represents a data item used by RadGanttView to store links.

Inheritance
System.Object
GanttViewLinkDataItem
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 GanttViewLinkDataItem : IDataItem, INotifyPropertyChanged

Constructors

GanttViewLinkDataItem()

Declaration
public GanttViewLinkDataItem()

Properties

DataBoundItem

Gets the data bound item of this link.

Declaration
public object DataBoundItem { get; }
Property Value
System.Object

The data bound item.

EndItem

Gets or sets the end item for this link.

Declaration
public GanttViewDataItem EndItem { get; set; }
Property Value
GanttViewDataItem

The end item.

GanttViewElement

Gets the RadGanttViewElement that owns this link.

Declaration
public RadGanttViewElement GanttViewElement { get; }
Property Value
RadGanttViewElement

The gantt view element.

Lines

Gets the points wehre this link will be drawn.

Declaration
protected List<Point> Lines { get; }
Property Value
System.Collections.Generic.List<System.Drawing.Point>

The lines.

LinkType

Gets or sets the type of this link.

Declaration
public TasksLinkType LinkType { get; set; }
Property Value
TasksLinkType

The type of the link.

Selected

Declaration
public bool Selected { get; set; }
Property Value
System.Boolean

StartItem

Gets or sets the start item for this link.

Declaration
public GanttViewDataItem StartItem { get; set; }
Property Value
GanttViewDataItem

The start item.

Methods

HideEndItemHandle()

Declaration
public virtual void HideEndItemHandle()

HideItemsHandles()

Declaration
public virtual void HideItemsHandles()

HideStartItemHandle()

Declaration
public virtual void HideStartItemHandle()

OnNotifyPropertyChanged(PropertyChangedEventArgs)

Raises the NotifyPropertyChanged event.

Declaration
protected virtual void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.ComponentModel.PropertyChangedEventArgs e

The System.ComponentModel.PropertyChangedEventArgs instance containing the event data.

OnNotifyPropertyChanged(String)

Raises the NotifyPropertyChanged event.

Declaration
protected virtual void OnNotifyPropertyChanged(string name)
Parameters
System.String name

The name of the property that changed.

SetDataBoundItem(Boolean, Object)

Sets the data bound item for this link.

Declaration
protected virtual void SetDataBoundItem(bool dataBinding, object value)
Parameters
System.Boolean dataBinding

if set to true the method assumes the value is set through data binding.

System.Object value

The value.

Exceptions
System.InvalidOperationException

DataBoundItem can not be set explicitly in bound mode.

ShowEndItemHandle()

Declaration
public virtual void ShowEndItemHandle()

ShowItemsHandles()

Declaration
public virtual void ShowItemsHandles()

ShowStartItemHandle()

Declaration
public virtual void ShowStartItemHandle()

Events

PropertyChanged

Occurs when a property value changes.

Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler

Explicit Interface Implementations

IDataItem.DataBoundItem

Declaration
object IDataItem.DataBoundItem { get; set; }
Returns
System.Object

Implements
IDataItem.DataBoundItem

IDataItem.FieldCount

Declaration
int IDataItem.FieldCount { get; }
Returns
System.Int32

Implements
IDataItem.FieldCount

IDataItem.get_Item(Int32)

Declaration
object IDataItem.get_Item(int index)
Parameters
System.Int32 index

Returns
System.Object

Implements
Telerik.WinControls.Data.IDataItem.get_Item(System.Int32)

IDataItem.get_Item(String)

Declaration
object IDataItem.get_Item(string name)
Parameters
System.String name

Returns
System.Object

Implements
Telerik.WinControls.Data.IDataItem.get_Item(System.String)

IDataItem.IndexOf(String)

Declaration
int IDataItem.IndexOf(string name)
Parameters
System.String name

Returns
System.Int32

Implements
IDataItem.IndexOf(String)

IDataItem.Item[Int32]

Declaration
object IDataItem.this[] { get; set; }
Parameters
System.Int32 index

Returns
System.Object

Implements
IDataItem.Item[Int32]

IDataItem.Item[String]

Declaration
object IDataItem.this[] { get; set; }
Parameters
System.String name

Returns
System.Object

Implements
IDataItem.Item[String]

IDataItem.set_Item(Int32, Object)

Declaration
void IDataItem.set_Item(int index, object value)
Parameters
System.Int32 index

System.Object value

Implements
Telerik.WinControls.Data.IDataItem.set_Item(System.Int32, System.Object)

IDataItem.set_Item(String, Object)

Declaration
void IDataItem.set_Item(string name, object value)
Parameters
System.String name

System.Object value

Implements
Telerik.WinControls.Data.IDataItem.set_Item(System.String, System.Object)

Extension Methods

SvgExtentions.Traverse<T>(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.