Class GanttViewLinkDataItem
Represents a data item used by RadGanttView to store links.
Inheritance
Inherited Members
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 |
|
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.FieldCount
IDataItem.get_Item(Int32)
Declaration
object IDataItem.get_Item(int index)
Parameters
|
System.Int32
index
|
Returns
|
System.Object
|
Implements
IDataItem.get_Item(String)
Declaration
object IDataItem.get_Item(string name)
Parameters
|
System.String
name
|
Returns
|
System.Object
|
Implements
IDataItem.IndexOf(String)
Declaration
int IDataItem.IndexOf(string name)
Parameters
|
System.String
name
|
Returns
|
System.Int32
|
Implements
IDataItem.Item[Int32]
Declaration
object IDataItem.this[] { get; set; }
Parameters
|
System.Int32
index
|
Returns
|
System.Object
|
Implements
IDataItem.Item[String]
Declaration
object IDataItem.this[] { get; set; }
Parameters
|
System.String
name
|
Returns
|
System.Object
|
Implements
IDataItem.set_Item(Int32, Object)
Declaration
void IDataItem.set_Item(int index, object value)
Parameters
|
System.Int32
index
|
|
System.Object
value
|
Implements
IDataItem.set_Item(String, Object)
Declaration
void IDataItem.set_Item(string name, object value)
Parameters
|
System.String
name
|
|
System.Object
value
|