开发者

wp7 insert XAML inside other XAML?

开发者 https://www.devze.com 2023-04-10 02:12 出处:网络
How can i inse开发者_C百科rt XMAL inside other XMAL? is this possible in wp7? If anyone know concept help me.

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

精彩评论

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