tags:

views:

16

answers:

0

Hello All,

Suppose I have a loose xaml file with one resource in it, keyed "MyResource", and that I pull that loose xaml file into two other xaml files via ResourceDictionary.MergedDictionaries. Now suppose I put the following line of code in both of the code-behind files for the two xaml files:

object obj = FindResource("MyResource");

Will both references be to the same object, or will they be to distinct objects?

Thanks, Dave