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

Represents a data item used by RadGanttView to store links.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class GanttViewLinkDataItem : IDataItem, INotifyPropertyChanged

Inheritance: objectGanttViewLinkDataItem

Implements: IDataItemINotifyPropertyChanged

Constructors

C#
public GanttViewLinkDataItem()

Properties

Gets the data bound item of this link.

C#
public object DataBoundItem { get; }
Property Value:

The data bound item.

Gets or sets the end item for this link.

C#
public GanttViewDataItem EndItem { get; set; }
Property Value:

The end item.

Gets the RadGanttViewElement that owns this link.

C#
public RadGanttViewElement GanttViewElement { get; }
Property Value:

The gantt view element.

Gets the points wehre this link will be drawn.

C#
protected List<Point> Lines { get; }
Property Value:

The lines.

Gets or sets the type of this link.

C#
public TasksLinkType LinkType { get; set; }
Property Value:

The type of the link.

C#
public bool Selected { get; set; }

Gets or sets the start item for this link.

C#
public GanttViewDataItem StartItem { get; set; }
Property Value:

The start item.

Methods

C#
public virtual void HideEndItemHandle()
C#
public virtual void HideItemsHandles()
C#
public virtual void HideStartItemHandle()

Raises the event.

C#
protected virtual void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters:ePropertyChangedEventArgs

The PropertyChangedEventArgs instance containing the event data.

Raises the event.

C#
protected virtual void OnNotifyPropertyChanged(string name)
Parameters:namestring

The name of the property that changed.

Sets the data bound item for this link.

C#
protected virtual void SetDataBoundItem(bool dataBinding, object value)
Parameters:dataBindingbool

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

valueobject

The value.

Exceptions:

InvalidOperationException

DataBoundItem can not be set explicitly in bound mode.

C#
public virtual void ShowEndItemHandle()
C#
public virtual void ShowItemsHandles()
C#
public virtual void ShowStartItemHandle()

Events

Occurs when a property value changes.

C#
public event PropertyChangedEventHandler PropertyChanged

Implements: INotifyPropertyChanged.PropertyChanged