wp7 insert XAML inside other XAML?
How can i inse开发者_C百科rt XMAL inside other XMAL?
is this possible in wp7?
If anyone know concept help me.
thanks.
Kind of like reusable components? A'la iframes in HTML
? You might be interested in UserControls
. Here's an excellent tutorial about.
So first you create a new usercontrol eg. "MyUserControl.xaml"
(File -> New item -> User Control) and add some components to it. Later on you can add a reference to it in another XAML file and use it simply: <MyProject:MyUserControl x:Name="something" />
It's all explained in the tutorial I linked :).
精彩评论