Class GanttViewDataItem
Represents the data item Rad
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class GanttViewDataItem : RadObject, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, IDataItem
Constructors
GanttViewDataItem()
Fields
CurrentProperty
EnabledProperty
IsAllowDropState
Declaration
protected const int IsAllowDropState = 4
Field Value
System.
|
IsExpandedState
Declaration
protected const int IsExpandedState = 2
Field Value
System.
|
IsMouseOverProperty
ReadOnlyProperty
SelectedProperty
state
Declaration
protected BitVector32 state
Field Value
System.
|
SuspendNotificationsState
Declaration
protected const int SuspendNotificationsState = 1
Field Value
System.
|
VisibleProperty
Properties
ContextMenu
Gets or sets the context menu associated to the item.
Declaration
public virtual RadContextMenu ContextMenu { get; set; }
Property Value
Rad Returns an instance of Rad |
Remarks
This property could be used to associate a custom menu and replace the ganttview's default. If the context menu is invoked by right-clicking an item, the ganttview's menu will not be shown and the context menu assigned to this item will be shown instead.
See Also
Current
Gets or sets a value indicating whether this instance is current.
Declaration
public bool Current { get; set; }
Property Value
System.
|
DataBoundItem
Gets the data bound item.
Declaration
public object DataBoundItem { get; }
Property Value
System. The data bound item. |
Enabled
Gets or sets a value indicating whether this instance is enabled.
Declaration
public bool Enabled { get; set; }
Property Value
System.
|
End
Gets or sets the end.
Declaration
public DateTime End { get; set; }
Property Value
System. The end. |
Expanded
Gets or sets a value indicating whether this item is expanded.
Declaration
public bool Expanded { get; set; }
Property Value
System.
|
GanttViewElement
Index
Gets the index of this item in its parent items collection.
Declaration
public int Index { get; }
Property Value
System. The index. |
IsAttached
Gets a value indicating whether this data item is used in the RadGanttView.
Declaration
public bool IsAttached { get; }
Property Value
System.
|
Item[GanttViewTextViewColumn]
Gets or sets the value within the specified column of this item.
Declaration
public object this[GanttViewTextViewColumn column] { get; set; }
Parameters
Gantt The column. |
Property Value
System. The value. |
Items
Gets the child items of this item.
Declaration
public GanttViewDataItemCollection Items { get; }
Property Value
Gantt The child items. |
Level
Gets the hierarchy level of this task.
Declaration
public int Level { get; }
Property Value
System. The level. |
NextItem
Gets the next item.
Declaration
public GanttViewDataItem NextItem { get; }
Property Value
Gantt The next item. |
Parent
Gets the parent of this data item.
Declaration
public GanttViewDataItem Parent { get; }
Property Value
Gantt The parent. |
PrevVisibleItem
Gets the prev visible item.
Declaration
public GanttViewDataItem PrevVisibleItem { get; }
Property Value
Gantt The prev visible item. |
Progress
Gets or sets the progress.
Declaration
public decimal Progress { get; set; }
Property Value
System. The progress. |
ReadOnly
Gets or sets a value indicating whether the item is read only.
Declaration
public bool ReadOnly { get; set; }
Property Value
System.
|
Selected
Gets or sets a value indicating whether this instance is selected.
Declaration
public bool Selected { get; set; }
Property Value
System.
|
Start
Gets or sets the start.
Declaration
public DateTime Start { get; set; }
Property Value
System. The start. |
Tag
Gets or sets the tag.
Declaration
public object Tag { get; set; }
Property Value
System. The tag. |
Title
Gets or sets the title.
Declaration
public string Title { get; set; }
Property Value
System. The title. |
Visible
Gets or sets a value indicating whether this Gantt
Declaration
public bool Visible { get; set; }
Property Value
System.
|
Methods
CreateChildItemsCollection()
Called when the collection that will hold this children of this item is being created.
Declaration
protected virtual GanttViewDataItemCollection CreateChildItemsCollection()
Returns
Expand()
Expands this item.
Declaration
public void Expand()
NotifyExpandedChanged(GanttViewDataItem)
Notifies the Rad
Declaration
protected virtual void NotifyExpandedChanged(GanttViewDataItem item)
Parameters
Gantt The item. |
OnChildAdded(GanttViewDataItem)
Called when a child item is added.
Declaration
protected virtual void OnChildAdded(GanttViewDataItem child)
Parameters
Gantt The child item that is added. |
OnChildEndChanged(GanttViewDataItem)
Called when the End property of a child item changes.
Declaration
protected virtual void OnChildEndChanged(GanttViewDataItem child)
Parameters
Gantt The child item which End changed. |
OnChildProgressChanged(GanttViewDataItem)
Called when the Progress property of a child item changes.
Declaration
protected virtual void OnChildProgressChanged(GanttViewDataItem child)
Parameters
Gantt The child item which Progress changed. |
OnChildRemoved(GanttViewDataItem)
Called when a child item is removed.
Declaration
protected virtual void OnChildRemoved(GanttViewDataItem child)
Parameters
Gantt The child item that is removed. |
OnChildStartChanged(GanttViewDataItem)
Called when the Start property of a child item changes.
Declaration
protected virtual void OnChildStartChanged(GanttViewDataItem child)
Parameters
Gantt The child item which Start changed. |
OnNotifyPropertyChanged(PropertyChangedEventArgs)
Raises the standard .NET PropertyChanged event.
Declaration
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.
|
Overrides
SetBooleanProperty(String, Int32, Boolean)
Sets a boolean property.
Declaration
protected virtual bool SetBooleanProperty(string propertyName, int propertyKey, bool value)
Parameters
System. Name of the property. |
System. The property key. |
System. The new value. |
Returns
System.
|
SetDataBoundItem(Boolean, Object)
Sets the data bound item for this data item.
Declaration
protected virtual void SetDataBoundItem(bool dataBinding, object value)
Parameters
System. if set to |
System. The value. |
Exceptions
System. DataBoundItem can not be set explicitly in bound mode. |
ToString()
Declaration
public override string ToString()
Returns
System.
|
Overrides
Explicit Interface Implementations
IDataItem.DataBoundItem
Declaration
object IDataItem.DataBoundItem { get; set; }
Returns
System.
|
Implements
IDataItem.FieldCount
IDataItem.get_Item(Int32)
Declaration
object IDataItem.get_Item(int index)
Parameters
System.
|
Returns
System.
|
Implements
IDataItem.get_Item(String)
Declaration
object IDataItem.get_Item(string name)
Parameters
System.
|
Returns
System.
|
Implements
IDataItem.IndexOf(String)
Declaration
int IDataItem.IndexOf(string name)
Parameters
System.
|
Returns
System.
|
Implements
IDataItem.Item[Int32]
Declaration
object IDataItem.this[] { get; set; }
Parameters
System.
|
Returns
System.
|
Implements
IDataItem.Item[String]
Declaration
object IDataItem.this[] { get; set; }
Parameters
System.
|
Returns
System.
|
Implements
IDataItem.set_Item(Int32, Object)
Declaration
void IDataItem.set_Item(int index, object value)
Parameters
System.
|
System.
|
Implements
IDataItem.set_Item(String, Object)
Declaration
void IDataItem.set_Item(string name, object value)
Parameters
System.
|
System.
|