Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItem Class / CloseDropDown Method / CloseDropDown(Boolean) Method
true if the dropdowns of all parent and child SmartItems should also be closed; false otherwise.


In This Topic
    CloseDropDown(Boolean) Method
    In This Topic
    Closes the SmartItem's and all its child SmartItems', dropdowns.
    Syntax
    'Declaration
     
    Public Overloads Sub CloseDropDown( _
       ByVal allLevels As Boolean _
    ) 
    'Usage
     
    Dim instance As SmartItem
    Dim allLevels As Boolean
     
    instance.CloseDropDown(allLevels)
    public void CloseDropDown( 
       bool allLevels
    )

    Parameters

    allLevels
    true if the dropdowns of all parent and child SmartItems should also be closed; false otherwise.
    Remarks

    In the case where the SmartItem does not have a dropdown, nothing will happen.

    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