I have 2 Datatemplates. One contain a grid , second one contain a button. I need to send command parameters of button as selected grid items.
How can i do this ?
Take a look at this article. Maybe it'll help you:
http://www.dev102.com/2008/08/07/how-to-access-a-wpf-control-which-is-located-in-a-datatemplate/