Version

ToggleDropdown Method

Changes the list portion of the control between dropped down and closed up.
Syntax
'Declaration
 
Public Sub ToggleDropdown() 
public void ToggleDropdown()
Remarks

You can use this method to switch the combo between its dropped down and closed up states. If the combo is closed up, it will drop down when you invoke this method. If the combo is dropped down, it will close up when you invoke this method.

To determine the current state of the control, use the UltraDropDownBase.IsDroppedDown property.

Example
Following code toggles the drop down status of the UltraCombo. That is it drops down the drop-down of the UltraCombo if it's not dropped down already, and closes it up if it's dropped down already.

Me.UltraCombo1.ToggleDropdown()
this.ultraCombo1.ToggleDropdown( );
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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