ComponentOne Menus and Toolbars for WinForms
C1.Win.C1Command.4.5.2 Assembly / C1.Win.C1Command Namespace / C1CommandHolder Class / GetC1ContextMenu Method
The control or NotifyIcon for which to retrieve the context menu.

In This Topic
    GetC1ContextMenu Method (C1CommandHolder)
    In This Topic
    Gets a context menu contained within the C1CommandHolder.
    Syntax
    'Declaration
     
    Public Function GetC1ContextMenu( _
       ByVal control As System.Object _
    ) As C1ContextMenu
    public C1ContextMenu GetC1ContextMenu( 
       System.object control
    )

    Parameters

    control
    The control or NotifyIcon for which to retrieve the context menu.
    Requirements

    Target Platforms: 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