Nevron.UI.WinForm.Controls Namespace / NCommandProperties Class / CloseMenuOnClick Property


In This Topic
    CloseMenuOnClick Property
    In This Topic
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(True)>
    <System.ComponentModel.DescriptionAttribute("Gets/sets a value indicating whether the command will close its parent menu (if the parent is a menu window) when clicked.")>
    Public Property CloseMenuOnClick As System.Boolean
    'Usage
     
    
    Dim instance As NCommandProperties
    Dim value As System.Boolean
     
    instance.CloseMenuOnClick = value
     
    value = instance.CloseMenuOnClick
    [System.ComponentModel.DefaultValue(true)]
    [System.ComponentModel.Description("Gets/sets a value indicating whether the command will close its parent menu (if the parent is a menu window) when clicked.")]
    public System.bool CloseMenuOnClick {get; set;}
    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