TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
person
NA
96
0
Combo box check box object
Dec 7 2009 10:27 AM
Hi,
I have a combobox whose itemstemplate is a check box whos itemsource is a collection of objects, say a Person.
Each person has a name and so this will be the checkboxes content.
However now I want to find out which checkbox in the comboboxs' collection is checked, though when I call - (this.MainComboBox.Item[i] as CheckBox).IsChecked - fails because there is "no" check box.
How do I access the IsChecked property of the items in the combobox given that the item source is a collection on objects?
Thanks greatly in advance.
Person.
Reply
Answers (
6
)
ControlTemplate TemplateBinding Newbie Question
Object Children