menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ContextMenuHelper - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ContextMenuHelper

    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()
    Namespace: Syncfusion.Windows.Forms.Chart
    Assembly: Syncfusion.Chart.Windows.dll
    Syntax
    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

    GetContextMenuItems(ContextMenu)

    Declaration
    public static Menu.MenuItemCollection GetContextMenuItems(ContextMenu contextMenu)
    Parameters
    Type Name Description
    System.Windows.Forms.ContextMenu contextMenu
    Returns
    Type
    System.Windows.Forms.Menu.MenuItemCollection

    GetIndex(MenuItem)

    Declaration
    public static int GetIndex(MenuItem menuItem)
    Parameters
    Type Name Description
    System.Windows.Forms.MenuItem menuItem
    Returns
    Type
    System.Int32

    GetMenuItems(MenuItem)

    Declaration
    public static Menu.MenuItemCollection GetMenuItems(MenuItem menuItem)
    Parameters
    Type Name Description
    System.Windows.Forms.MenuItem menuItem
    Returns
    Type
    System.Windows.Forms.Menu.MenuItemCollection

    GetParent(MenuItem)

    Declaration
    public static Menu GetParent(MenuItem menuItem)
    Parameters
    Type Name Description
    System.Windows.Forms.MenuItem menuItem
    Returns
    Type
    System.Windows.Forms.Menu
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved