Version

DefaultContextMenu Property

Returns GanttViewContextMenu that is displayed by default if the event is not canceled.
Syntax
'Declaration
 
Public ReadOnly Property DefaultContextMenu As GanttViewContextMenu
public GanttViewContextMenu DefaultContextMenu {get;}
Remarks

Each time the ContextMenuInitializing is fired, the MenuItems collection is re-populated with the default menu items based on the context and the current state of the control. Any of these items can be removed at this time, and they will not be displayed, but each item must be removed each time the event is fired.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also