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
Initializes a new instance of the GanttViewDefaultContextMenu class.
public GanttViewDefaultContextMenu(RadGanttViewElement ganttViewElement)
The RadGanttView element.
Properties
Gets the add child menu item.
public GanttViewMenuItem AddChildMenuItem { get; }
The add child menu item.
Gets the add menu item.
public GanttViewMenuItem AddMenuItem { get; }
The add menu item.
Gets the add sibling menu item.
public GanttViewMenuItem AddSiblingMenuItem { get; }
The add sibling menu item.
Gets the delete menu item.
public GanttViewMenuItem DeleteMenuItem { get; }
The delete menu item.
Gets the gantt view element.
public RadGanttViewElement GanttViewElement { get; }
The gantt view element.
Gets the progress menu item.
public GanttViewMenuItem ProgressMenuItem { get; }
The progress menu item.
Gets or sets the step by which the progress values will increment.
public decimal ProgressStep { get; set; }
The progress step.
Gets or sets a value indicating whether progress menu items should be shown.
public bool ShowProgress { get; set; }
true if progress menu items should be shown; otherwise, false.
Methods
Called when the Add menu item is clicked.
protected virtual void AddMenuItemClicked(GanttViewMenuItem item)
The menu item.
Called when the Delete menu item is clicked.
protected virtual void DeleteMenuItemClicked(GanttViewMenuItem item)
The menu item.
Releases unmanaged and - optionally - managed resources.
protected override void Dispose(bool disposing)
true to release both managed and unmanaged resources; false to release only unmanaged resources.
Overrides:
Raises the DropDownOpening event.
protected override void OnDropDownOpening(CancelEventArgs args)
The event arguments
Overrides:
Called when one of the Progress menu items is clicked.
protected virtual void ProgressMenuItemClicked(GanttViewMenuItem item)
The menu item.