Class
GanttViewLinkDataItem

Represents a data item used by RadGanttView to store links.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class GanttViewLinkDataItem : IDataItem, INotifyPropertyChanged

Inheritance: objectGanttViewLinkDataItem

Implements: IDataItemINotifyPropertyChanged

Constructors

GanttViewLinkDataItem()

Declaration

cs-api-definition
public GanttViewLinkDataItem()

Properties

DataBoundItem

Gets the data bound item of this link.

Declaration

cs-api-definition
public object DataBoundItem { get; }

Property Value

object

The data bound item.

EndItem

Gets or sets the end item for this link.

Declaration

cs-api-definition
public GanttViewDataItem EndItem { get; set; }

Property Value

GanttViewDataItem

The end item.

GanttViewElement

Gets the RadGanttViewElement that owns this link.

Declaration

cs-api-definition
public RadGanttViewElement GanttViewElement { get; }

Property Value

RadGanttViewElement

The gantt view element.

Lines

Gets the points wehre this link will be drawn.

Declaration

cs-api-definition
protected List<Point> Lines { get; }

Property Value

List<Point>

The lines.

LinkType

Gets or sets the type of this link.

Declaration

cs-api-definition
public TasksLinkType LinkType { get; set; }

Property Value

TasksLinkType

The type of the link.

Selected

Declaration

cs-api-definition
public bool Selected { get; set; }

Property Value

bool

StartItem

Gets or sets the start item for this link.

Declaration

cs-api-definition
public GanttViewDataItem StartItem { get; set; }

Property Value

GanttViewDataItem

The start item.

Methods

HideEndItemHandle()

Declaration

cs-api-definition
public virtual void HideEndItemHandle()

HideItemsHandles()

Declaration

cs-api-definition
public virtual void HideItemsHandles()

HideStartItemHandle()

Declaration

cs-api-definition
public virtual void HideStartItemHandle()

OnNotifyPropertyChanged(PropertyChangedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnNotifyPropertyChanged(PropertyChangedEventArgs e)

Parameters

e

PropertyChangedEventArgs

The PropertyChangedEventArgs instance containing the event data.

OnNotifyPropertyChanged(string)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnNotifyPropertyChanged(string name)

Parameters

name

string

The name of the property that changed.

SetDataBoundItem(bool, object)

Sets the data bound item for this link.

Declaration

cs-api-definition
protected virtual void SetDataBoundItem(bool dataBinding, object value)

Parameters

dataBinding

bool

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

value

object

The value.

Exceptions

InvalidOperationException

DataBoundItem can not be set explicitly in bound mode.

ShowEndItemHandle()

Declaration

cs-api-definition
public virtual void ShowEndItemHandle()

ShowItemsHandles()

Declaration

cs-api-definition
public virtual void ShowItemsHandles()

ShowStartItemHandle()

Declaration

cs-api-definition
public virtual void ShowStartItemHandle()

Events

PropertyChanged

Occurs when a property value changes.

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged