When I try and run my application through the emulator it breaks and I get this message
” Set property ‘Microsoft.Phone.Controls.ListPicker.ItemCountThreshold’ threw an exception. “
any ideas?
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.
The problem is that you should not use ListPickerItem directly; if you want to declare the items directly in XAML use string or any other class!
Check this sample:
As you can see here, all it takes is to not use ListPickerItem!
Also, remove the ItemCountThreshold property; that is a readonly property and shouldn’t be set in XAML!