1,977
社区成员
![](https://csdnimg.cn/release/cmsfe/public/img/topic.427195d5.png)
![](https://csdnimg.cn/release/cmsfe/public/img/me.40a70ab0.png)
![](https://csdnimg.cn/release/cmsfe/public/img/task.87b52881.png)
![](https://csdnimg.cn/release/cmsfe/public/img/share-circle.3e0b7822.png)
<ComboBox Name="combo1">
<ComboBox.Items>
<ComboBoxItem Content="0" Selected="ComboBoxItem_Selected_1"/>
<ComboBoxItem Content="1" Selected="ComboBoxItem_Selected_2"/>
<ComboBoxItem Content="2" Selected="ComboBoxItem_Selected_3"/>
<ComboBoxItem Content="3" Selected="ComboBoxItem_Selected_4"/>
<ComboBoxItem Content="4" Selected="ComboBoxItem_Selected_5"/>
<ComboBoxItem Content="5" Selected="ComboBoxItem_Selected_6"/>
<ComboBoxItem Content="6" Selected="ComboBoxItem_Selected_7"/>
<ComboBoxItem Content="7" Selected="ComboBoxItem_Selected_8"/>
<ComboBoxItem Content="8" Selected="ComboBoxItem_Selected_9"/>
<ComboBoxItem Content="9" Selected="ComboBoxItem_Selected_10"/>
</ComboBox.Items>
</ComboBox>
<Button Content="Click Me" Click="Button_Click_1" />
<x:Code>
<![CDATA[
void Button_Click_1(object sender, EventArgs e)
{
combo1.SelectedIndex = 0;
}
]]>
</x:Code>