Hello all,
I have a datagrid that lists a bunch of people and a context menu to perform some actions on those people - I'm using commands.
My context menu looks like this:
*
-Add To Policy
-Policy1
-Policy2
-Policy3
-Delete
-Open
-Blah Blah Blah
My problem is this. When adding a person to a policy, I need to pass both the datagridrowcontext (a person) and the policy (a policy) to the command via containerbindings as a CommandParameter.
1. How can I get a reference back to the datagridrow datacontext object (the person)?
2. Can I pass in an object like "
ps:AddResourceToPolicyCommandParameter
" with those parameters once I retrieve them?