开发者

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 :).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜