Class
GanttViewDefaultContextMenu

Represents the default context menu for a RadGanttView.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
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

GanttViewDefaultContextMenu(RadGanttViewElement)

Initializes a new instance of the GanttViewDefaultContextMenu class.

Declaration

cs-api-definition
public GanttViewDefaultContextMenu(RadGanttViewElement ganttViewElement)

Parameters

ganttViewElement

RadGanttViewElement

The RadGanttView element.

Properties

AddChildMenuItem

Gets the add child menu item.

Declaration

cs-api-definition
public GanttViewMenuItem AddChildMenuItem { get; }

Property Value

GanttViewMenuItem

The add child menu item.

AddMenuItem

Gets the add menu item.

Declaration

cs-api-definition
public GanttViewMenuItem AddMenuItem { get; }

Property Value

GanttViewMenuItem

The add menu item.

AddSiblingMenuItem

Gets the add sibling menu item.

Declaration

cs-api-definition
public GanttViewMenuItem AddSiblingMenuItem { get; }

Property Value

GanttViewMenuItem

The add sibling menu item.

DeleteMenuItem

Gets the delete menu item.

Declaration

cs-api-definition
public GanttViewMenuItem DeleteMenuItem { get; }

Property Value

GanttViewMenuItem

The delete menu item.

GanttViewElement

Gets the gantt view element.

Declaration

cs-api-definition
public RadGanttViewElement GanttViewElement { get; }

Property Value

RadGanttViewElement

The gantt view element.

ProgressMenuItem

Gets the progress menu item.

Declaration

cs-api-definition
public GanttViewMenuItem ProgressMenuItem { get; }

Property Value

GanttViewMenuItem

The progress menu item.

ProgressStep

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

Declaration

cs-api-definition
public decimal ProgressStep { get; set; }

Property Value

decimal

The progress step.

ShowProgress

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

Declaration

cs-api-definition
public bool ShowProgress { get; set; }

Property Value

bool

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

Methods

AddMenuItemClicked(GanttViewMenuItem)

Called when the Add menu item is clicked.

Declaration

cs-api-definition
protected virtual void AddMenuItemClicked(GanttViewMenuItem item)

Parameters

item

GanttViewMenuItem

The menu item.

DeleteMenuItemClicked(GanttViewMenuItem)

Called when the Delete menu item is clicked.

Declaration

cs-api-definition
protected virtual void DeleteMenuItemClicked(GanttViewMenuItem item)

Parameters

item

GanttViewMenuItem

The menu item.

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

Declaration

cs-api-definition
protected override void Dispose(bool disposing)

Parameters

disposing

bool

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

Overrides RadContextMenu.Dispose(bool)

OnDropDownOpening(CancelEventArgs)

Raises the DropDownOpening event.

Declaration

cs-api-definition
protected override void OnDropDownOpening(CancelEventArgs args)

Parameters

args

CancelEventArgs

The event arguments

Overrides RadContextMenu.OnDropDownOpening(CancelEventArgs)

ProgressMenuItemClicked(GanttViewMenuItem)

Called when one of the Progress menu items is clicked.

Declaration

cs-api-definition
protected virtual void ProgressMenuItemClicked(GanttViewMenuItem item)

Parameters

item

GanttViewMenuItem

The menu item.