ClassGanttViewLinkDataItem
Represents a data item used by RadGanttView to store links.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class GanttViewLinkDataItem : IDataItem, INotifyPropertyChanged
Inheritance: objectGanttViewLinkDataItem
Implements:
Constructors
GanttViewLinkDataItem()
Declaration
public GanttViewLinkDataItem()
Properties
DataBoundItem
Gets the data bound item of this link.
Declaration
public object DataBoundItem { get; }
Property Value
The data bound item.
EndItem
Gets or sets the end item for this link.
Declaration
public GanttViewDataItem EndItem { get; set; }
Property Value
The end item.
GanttViewElement
Gets the RadGanttViewElement that owns this link.
Declaration
public RadGanttViewElement GanttViewElement { get; }
Property Value
The gantt view element.
Lines
Gets the points wehre this link will be drawn.
Declaration
protected List<Point> Lines { get; }
Property Value
List<Point>
The lines.
LinkType
Gets or sets the type of this link.
Declaration
public TasksLinkType LinkType { get; set; }
Property Value
The type of the link.
StartItem
Gets or sets the start item for this link.
Declaration
public GanttViewDataItem StartItem { get; set; }
Property Value
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 event.
Declaration
protected virtual void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters
e
The PropertyChangedEventArgs instance containing the event data.
OnNotifyPropertyChanged(string)
Raises the event.
Declaration
protected virtual void OnNotifyPropertyChanged(string name)
Parameters
name
The name of the property that changed.
SetDataBoundItem(bool, object)
Sets the data bound item for this link.
Declaration
protected virtual void SetDataBoundItem(bool dataBinding, object value)
Parameters
dataBinding
if set to true the method assumes the value is set through data binding.
value
The value.
Exceptions
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 Value
Implements