To launch the C1ComboBox with its drop-down list open, set the IsDropDownOpen property to True.
In the Designer
Complete the following steps:
1. Click the C1ComboBox control once to select it.
2. In the Properties window, select the IsDropDownOpen check box.
3. Run the program and observe that the drop-down list is open upon page load.
In XAML
Complete the following steps:
1. Add
IsDropDownOpen="True"
to the <c1:C1ComboBox>
tag
so that the markup resembles the following:
<c1:C1ComboBox HorizontalAlignment="Left" Width="249" IsDropDownOpen="True">
2. Run the program and observe that the drop-down list is open upon page load.
In Code
Complete the following steps:
1. Open the MainPage.xaml.cs page.
2. Add the following code beneath the InitializeComponent() method:
C1ComboBox1.IsDropDownOpen = True
•C#
c1ComboBox1.IsDropDownOpen = true;
3. Run the program and observe that the drop-down list is open upon page load.
This Topic Illustrates the Following:
In this topic, you set the IsDropDownOpen property to True so that the drop-down list would be open at run time. You can also use this property to open the drop-down list when a user mouses over the C1ComboBox control (see Opening the Drop-Down List on MouseOver).