Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

Refer Parent User Contols Grid In Child User Control Button Command parameter

$
0
0

Hi All,

I have DataGrid In My Parent User Control

And I have Button In My Child user Control where i have button on clicking save i need to Pass Complete DataGrid as Command parameter to my viewmodel for further Business Logic.

Like i need to pass as ElementName="ParentGrid" in Command Parameter of My Button.

Any Suggestion Would Be of great Help.


Arjun


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>