This question is locked. New answers and comments are not allowed.
Hi,
I see your demo where you can customize the content of a group header row by setting the GroupHeaderTemplate property, which is great. However, I need to add a button as part of the content, but when I bind the Command property of the button to a property of my view model, nothing gets hooked up. I'm assuming this is because my view model is not the data context for the group header row. Can you provide an explanation of how I can handle a button click through command binding?
Thanks,
Terry
I see your demo where you can customize the content of a group header row by setting the GroupHeaderTemplate property, which is great. However, I need to add a button as part of the content, but when I bind the Command property of the button to a property of my view model, nothing gets hooked up. I'm assuming this is because my view model is not the data context for the group header row. Can you provide an explanation of how I can handle a button click through command binding?
Thanks,
Terry