User avatar
jsantos
Site Admin
Posts: 2904
Joined: 20 Jan 2012, 17:18
Contact:

Re: Dynamic Xaml Instantiation

19 Aug 2014, 12:07

That behavior is correct. FindName doesn't not jump inside another XAML. It is explained here:

Why doesnt Window.FindName() discover the x:Name of a button in a child UserControl?

If you look for in the loaded var, it should work.
 
wwizz
Posts: 3
Joined: 17 Aug 2014, 21:27

Re: Dynamic Xaml Instantiation

19 Aug 2014, 22:16

Thanks, it works!

Who is online

Users browsing this forum: Bing [Bot] and 2 guests