Rick Mueller

Rick Mueller

  • NA
  • 3
  • 21.6k

Passing click event/Data to UserControl

Oct 1 2010 3:25 PM
Hello,
I have a usercontrol in my Mainwindow xaml. 
I have  button on my Mainwindow.

When I click the button I want to fire a event in the usercontrol.
 Currently:
The Usercontrol x:Name ="UCTile"
 I'm getting a assembly reference error/

any thoughts?
  private void Left_hand(object sender, RoutedEventArgs e)
  {
   UCTile qtv = new UCTile();
qtv.PrintTile.MinimizedItemsPosition = Dock.Left;





Answers (2)