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

Represents the default context menu for a RadGanttView.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class GanttViewDefaultContextMenu : RadContextMenu, IComponent, IDisposable, IAnalyticsProvider

Inheritance: objectMarshalByRefObjectComponentRadContextMenuGanttViewDefaultContextMenu

Implements: IAnalyticsProviderIComponentIDisposable

Inherited Members RadContextMenu.Show()RadContextMenu.Show(int, int)RadContextMenu.Show(Point)RadContextMenu.Show(Point, RadDirection)RadContextMenu.Show(Control, int, int)RadContextMenu.Show(Control, Point)RadContextMenu.Show(Control, Point, RadDirection)RadContextMenu.Show(RadItem, int, int)RadContextMenu.Show(RadItem, Point)RadContextMenu.Show(RadItem, Point, RadDirection)RadContextMenu.Show(RadItem, int, RadDirection)RadContextMenu.OnDropDownClosing(CancelEventArgs)RadContextMenu.OnDropDownOpened()RadContextMenu.OnDropDownClosed()RadContextMenu.ItemsRadContextMenu.ThemeNameRadContextMenu.ImageListRadContextMenu.DropDownRadContextMenu.AnimationEnabledRadContextMenu.AnimationFramesRadContextMenu.AnimationTypeRadContextMenu.EnableAnalyticsRadContextMenu.DropDownOpeningRadContextMenu.DropDownClosingRadContextMenu.DropDownOpenedRadContextMenu.DropDownClosedComponent.Dispose()Component.GetService(Type)Component.ToString()Component.CanRaiseEventsComponent.EventsComponent.SiteComponent.ContainerComponent.DesignModeComponent.DisposedMarshalByRefObject.MemberwiseClone(bool)MarshalByRefObject.GetLifetimeService()MarshalByRefObject.InitializeLifetimeService()MarshalByRefObject.CreateObjRef(Type)...

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.