ComponentOne Menus and Toolbars for WinForms
C1.Win.Command.8 Assembly / C1.Win.Command Namespace / C1CommandLink Class / OpenSubmenu Method
True - opens all the tree of menu. False - opens only the current submenu.

In This Topic
    OpenSubmenu Method (C1CommandLink)
    In This Topic
    Opens a submenu for linked C1CommandMenu.
    Syntax
    'Declaration
     
    Public Sub OpenSubmenu( _
       Optional ByVal allTree As System.Boolean _
    ) 
    public void OpenSubmenu( 
       System.bool allTree
    )

    Parameters

    allTree
    True - opens all the tree of menu. False - opens only the current submenu.
    Remarks
    Opens a submenu, if the linked command is of C1CommandMenu type. Otherwise, does nothing.
    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