tags:

views:

629

answers:

0

I have a button in my ListView group header that performs operations on the group as a whole, and I am having trouble binding the Click event to an ICommand in my view model. I'm using SimpleCommand from C# Disciples if that's any help.

http://marlongrech.wordpress.com/2008/11/26/avoiding-commandbinding-in-the-xaml-code-behind-files/

I have tried variations of RelativeSource/FindAncestor, but they were to no avail.

I tried code behind, and of course, it worked great. But the spec calls for MVVM.

Any ideas?