Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / ENMenuItemCloseOnClick Enumeration


In This Topic
    ENMenuItemCloseOnClick Enumeration
    In This Topic
    Enumerates the ways in which a menu item can close when clicked.
    Syntax
    'Declaration
     
    
    Public Enum ENMenuItemCloseOnClick 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As ENMenuItemCloseOnClick
    public enum ENMenuItemCloseOnClick : System.Enum 
    Members
    MemberDescription
    AutomaticCloses the owner menu with OK result if the item has no sub items. Otherwise does nothing.
    CloseCancelCloses the owner menu with Cancel result, which closes only the owner menu, and selects the owner menu item (if any).
    CloseNoneCloses the owner menu with None result, which closes only the owner menu.
    CloseOKCloses the owner menu with OK result, which subsequently closes the entire menu structure.
    NeverThe menu item never closes.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             Nevron.Nov.UI.ENMenuItemCloseOnClick

    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also