Version

ContextMenuInitializingEventArgs Class Members

The following tables list the members exposed by ContextMenuInitializingEventArgs.

Public Constructors
 NameDescription
Public ConstructorContextMenuInitializingEventArgs ConstructorOverloaded.   
Public Properties
 NameDescription
Public PropertyAreaReturns the area of the control from which the display of the menu was triggered.  
Public PropertyCancel (Inherited from System.ComponentModel.CancelEventArgs)
Public PropertyContextMenuReturns or sets the ContextMenu that will be assigned to the control's ContextMenu property if the event is not canceled.  
Public PropertyDefaultContextMenuReturns GanttViewContextMenu that is displayed by default if the event is not canceled.  
Public PropertyLocationReturns the coordinates of the right-click that caused the menu to be displayed.  
Public PropertyTaskReturns the Task that provides context for the menu, or null if there is no active task.  
See Also