I have a ComboBoxItem that acts strictly as a section title. Visually, I have it set but how do I eat the click when something is selected?
I would prefer to accomplish this in xaml, if possible. TIA
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.
You should be able to accomplish this by using the ‘IsEnabled’ property on the ComboBoxItem. In my quick test, this:
Results in a ComboBox with 3 items, and “Item2” does not get selected when clicked.