View Single Post
Old 06-06-2008   #2 (permalink)
Tom Shelton


 
 

Re: Is it possible to include XAML files into another XAML file?

On 2008-06-06, star-italia <star-italia@xxxxxx> wrote:
Quote:

> Hi, Is it possible to include a XAML file into another XAML file?
>
> For example If i have
> - Window1.xaml
> - Window2.xaml
>
> and both have a treeview with a custom Style, can i describe the style
> in a trvStyle.xaml and then include it in both windows?
>
> Thanks in advance
I don't know of anyway to do that (that doesn't mean there isn't -
but If this is the same application, you could define the style
in the application resources, and then it will be available globablly.

--
Tom Shelton
My System SpecsSystem Spec