When you set an observable collection as the item source of a context menu it lists the type of the each item…i would like to bind the name field of those items in the collection to the header…I cant seem to figure out how to
Share
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.
Use DisplayMemberPath and put the name of the property on your item. Or you could use the ItemTemplate property.
Example: