I am trying to access parent window from user control.
userControl1 uc1 = new userControl1(); mainGrid.Children.Add(uc1);
through this co
Thanks for help me guys. i got another solution
((this.Parent) as Window).Content = new userControl2();
this is perfectly works