a simple xaml:
<ComboBox
Height="23" Name="status"
IsReadOnly="False"
ItemsSource="?"
Width="120">
</ComboBox>
What you need to write to С# that stick items in the drop-down list right here
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Your
ItemsSourceis a simple binding to a collection of [something] that will fill out the combolist, here’s a quick sample:That’s not a complete sample, but it gives you the idea.
It’s also worth noting that you don’t have to use the
ItemsSourceproperty, this is also acceptable: