I have a problem with figuring out how to refer to a Canvas in another XAML file in my project, for example there is a Canvas object containing some labels, images called MyLayout and is stored in MyLayout.xaml I want to use this Canvas in the main Window of the application in Window.xaml - how can this be done, as there will be multiple layouts that will be needed to be loaded into the Window - all XAML is within the project and compiled it cannot be loaded from a file - how to I reference the Canvas Object in the MyLayout.xaml file in the Window.xaml this can be in XAML, VB.NET code or even C#. I have searched for hours trying to figure this out - how to use an object from one XAML file in another - how is this done?
Thanks in advance - hope someone knows how to do this