ClassGanttViewDefaultContextMenu
Represents the default context menu for a RadGanttView.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class GanttViewDefaultContextMenu : RadContextMenu, IComponent, IDisposable, IAnalyticsProvider
Inheritance: objectMarshalByRefObjectComponentRadContextMenuGanttViewDefaultContextMenu
Implements:
Inherited Members
Constructors
GanttViewDefaultContextMenu(RadGanttViewElement)
Initializes a new instance of the GanttViewDefaultContextMenu class.
Declaration
public GanttViewDefaultContextMenu(RadGanttViewElement ganttViewElement)
Parameters
ganttViewElement
The RadGanttView element.
Properties
AddChildMenuItem
Gets the add child menu item.
Declaration
public GanttViewMenuItem AddChildMenuItem { get; }
Property Value
The add child menu item.
AddMenuItem
Gets the add menu item.
Declaration
public GanttViewMenuItem AddMenuItem { get; }
Property Value
The add menu item.
AddSiblingMenuItem
Gets the add sibling menu item.
Declaration
public GanttViewMenuItem AddSiblingMenuItem { get; }
Property Value
The add sibling menu item.
DeleteMenuItem
Gets the delete menu item.
Declaration
public GanttViewMenuItem DeleteMenuItem { get; }
Property Value
The delete menu item.
GanttViewElement
Gets the gantt view element.
Declaration
public RadGanttViewElement GanttViewElement { get; }
Property Value
The gantt view element.
ProgressMenuItem
Gets the progress menu item.
Declaration
public GanttViewMenuItem ProgressMenuItem { get; }
Property Value
The progress menu item.
ProgressStep
Gets or sets the step by which the progress values will increment.
Declaration
public decimal ProgressStep { get; set; }
Property Value
The progress step.
ShowProgress
Gets or sets a value indicating whether progress menu items should be shown.
Declaration
public bool ShowProgress { get; set; }
Property Value
true if progress menu items should be shown; otherwise, false.
Methods
AddMenuItemClicked(GanttViewMenuItem)
Called when the Add menu item is clicked.
Declaration
protected virtual void AddMenuItemClicked(GanttViewMenuItem item)
Parameters
item
The menu item.
DeleteMenuItemClicked(GanttViewMenuItem)
Called when the Delete menu item is clicked.
Declaration
protected virtual void DeleteMenuItemClicked(GanttViewMenuItem item)
Parameters
item
The menu item.
Dispose(bool)
Releases unmanaged and - optionally - managed resources.
Declaration
protected override void Dispose(bool disposing)
Parameters
disposing
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Overrides
OnDropDownOpening(CancelEventArgs)
Raises the DropDownOpening event.
Declaration
protected override void OnDropDownOpening(CancelEventArgs args)
Parameters
args
The event arguments
Overrides
ProgressMenuItemClicked(GanttViewMenuItem)
Called when one of the Progress menu items is clicked.
Declaration
protected virtual void ProgressMenuItemClicked(GanttViewMenuItem item)
Parameters
item
The menu item.