如何将值从一个xaml页传递到另一个xaml页 [英] How to pass the values from one xaml page to another xaml page

查看:101
本文介绍了如何将值从一个xaml页传递到另一个xaml页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如何在Silverlight Business Application中将值从一个xaml页传递到另一个xaml页.

谢谢,
Swapna.

解决方案

为此,请使用文件后面的代码-xaml和代码隐藏文件只是两个部分类文件-都是同一类的一部分.

我混合使用了全局静态对象和querystring参数.


此链接将为您提供答案.

< a href ="http://www.dotnetcurry.com/ShowArticle.aspx?ID=166"> http://www.dotnetcurry.com/ShowArticle.aspx?ID = 166</a> [< a href ="http://www.dotnetcurry.com/ShowArticle.aspx?ID=166" target ="_ blank" title =新窗口"> ^</a>]


Hi,

How to pass values from one xaml page to another xaml page in Silverlight Business Application.

Thanks,
Swapna.

解决方案

Use the code behind file for this - the xaml and the codebehind files are just two partial class files - both part of the same class.


I use a mix of a global static object and querystring parameters.


This link will give you the answer.

<a href="http://www.dotnetcurry.com/ShowArticle.aspx?ID=166">http://www.dotnetcurry.com/ShowArticle.aspx?ID=166</a>[<a href="http://www.dotnetcurry.com/ShowArticle.aspx?ID=166" target="_blank" title="New Window">^</a>]


这篇关于如何将值从一个xaml页传递到另一个xaml页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆