Use this property if you need to determine the current state of the dropdown.
To drop down an UltraCombo control in code, use the PerformAction(UltraComboAction) method and specify an UltraComboAction of UltraComboAction.Dropdown.
To drop down an UltraDropDown control in code, use the UltraGrid.PerformAction method of the UltraGrid control. Make sure the appropriate cell is active and use and specify an UltraGridAction of UltraGridAction.EnterEditModeAndDropdown.
Imports Infragistics.Shared Imports Infragistics.Win Imports Infragistics.Win.UltraWinGrid Imports System.Diagnostics Private Sub Button9_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles button9.Click If Me.UltraCombo1.IsDroppedDown Then Debug.WriteLine("The UltraCombo's drop down is dropped down.") Else Debug.WriteLine("The UltraCombo's drop down is closed up.") End If End Sub
using Infragistics.Shared; using Infragistics.Win; using Infragistics.Win.UltraWinGrid; using System.Diagnostics; private void button2_Click(object sender, System.EventArgs e) { if ( this.ultraCombo1.IsDroppedDown ) { Debug.WriteLine( "The UltraCombo's drop down is dropped down." ); } else { Debug.WriteLine( "The UltraCombo's drop down is closed up." ); } }
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