New to Telerik UI for WinFormsStart a free 30-day trial

Represents the default context menu for a RadGanttView.

Definition

Constructors

Initializes a new instance of the GanttViewDefaultContextMenu class.

C#
public GanttViewDefaultContextMenu(RadGanttViewElement ganttViewElement)
Parameters:ganttViewElementRadGanttViewElement

The RadGanttView element.

Properties

Gets the add child menu item.

C#
public GanttViewMenuItem AddChildMenuItem { get; }
Property Value:

The add child menu item.

Gets the add menu item.

C#
public GanttViewMenuItem AddMenuItem { get; }
Property Value:

The add menu item.

Gets the add sibling menu item.

C#
public GanttViewMenuItem AddSiblingMenuItem { get; }
Property Value:

The add sibling menu item.

Gets the delete menu item.

C#
public GanttViewMenuItem DeleteMenuItem { get; }
Property Value:

The delete menu item.

Gets the gantt view element.

C#
public RadGanttViewElement GanttViewElement { get; }
Property Value:

The gantt view element.

Gets the progress menu item.

C#
public GanttViewMenuItem ProgressMenuItem { get; }
Property Value:

The progress menu item.

Gets or sets the step by which the progress values will increment.

C#
public decimal ProgressStep { get; set; }
Property Value:

The progress step.

Gets or sets a value indicating whether progress menu items should be shown.

C#
public bool ShowProgress { get; set; }
Property Value:

true if progress menu items should be shown; otherwise, false.

Methods

Called when the Add menu item is clicked.

C#
protected virtual void AddMenuItemClicked(GanttViewMenuItem item)
Parameters:itemGanttViewMenuItem

The menu item.

Called when the Delete menu item is clicked.

C#
protected virtual void DeleteMenuItemClicked(GanttViewMenuItem item)
Parameters:itemGanttViewMenuItem

The menu item.

Releases unmanaged and - optionally - managed resources.

C#
protected override void Dispose(bool disposing)
Parameters:disposingbool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Overrides: RadContextMenu.Dispose(bool)

Raises the DropDownOpening event.

C#
protected override void OnDropDownOpening(CancelEventArgs args)
Parameters:argsCancelEventArgs

The event arguments

Overrides: RadContextMenu.OnDropDownOpening(CancelEventArgs)

Called when one of the Progress menu items is clicked.

C#
protected virtual void ProgressMenuItemClicked(GanttViewMenuItem item)
Parameters:itemGanttViewMenuItem

The menu item.