Click here to Skip to main content
15,908,020 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am creating User control in WPF consists of DataGrid.

I Load this Usercontrol in my Window1.xaml When i select a row from DataGrid the button needs to be enable in Window1.xaml.

Please help to find the way.....

Thank you very much........
Posted

1 solution

Set event that will raise when your row isSelected in usercontrol and when event will be raised, enable button in Window1.xaml
 
Share this answer
 
Comments
sunilsvsnlr2007 7-Oct-13 10:20am    
Can i know how...

Do you able to provide sample code.....
Alexander Dymshyts 7-Oct-13 11:01am    
Sample of raising events?
sunilsvsnlr2007 7-Oct-13 11:24am    
Thank you very much
Alexander Dymshyts 7-Oct-13 11:30am    
Glad that it helped you)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900