Inheritance
System.Object
ContextMenuHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Syncfusion.Chart.Windows.dll
public static class ContextMenuHelper
Methods
AddItem(Menu.MenuItemCollection, String, EventHandler)
Declaration
public static void AddItem(Menu.MenuItemCollection menuItemCollection, string text, EventHandler eventHandler)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Menu.MenuItemCollection |
menuItemCollection |
|
System.String |
text |
|
System.EventHandler |
eventHandler |
|
AddMenuItem(Menu.MenuItemCollection, String, EventHandler)
Declaration
public static void AddMenuItem(Menu.MenuItemCollection menuItemCollection, string text, EventHandler eventHandler)
Parameters
Type |
Name |
Description |
System.Windows.Forms.Menu.MenuItemCollection |
menuItemCollection |
|
System.String |
text |
|
System.EventHandler |
eventHandler |
|
Declaration
public static Menu.MenuItemCollection GetContextMenuItems(ContextMenu contextMenu)
Parameters
Type |
Name |
Description |
System.Windows.Forms.ContextMenu |
contextMenu |
|
Returns
Type |
System.Windows.Forms.Menu.MenuItemCollection |
Declaration
public static int GetIndex(MenuItem menuItem)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MenuItem |
menuItem |
|
Returns
Declaration
public static Menu.MenuItemCollection GetMenuItems(MenuItem menuItem)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MenuItem |
menuItem |
|
Returns
Type |
System.Windows.Forms.Menu.MenuItemCollection |
Declaration
public static Menu GetParent(MenuItem menuItem)
Parameters
Type |
Name |
Description |
System.Windows.Forms.MenuItem |
menuItem |
|
Returns
Type |
System.Windows.Forms.Menu |