如何将自定义控件的数据访问LightSwitch Beta2屏幕中添加的代码隐藏文件 [英] How to access the Custom Control's data into code behind file added in LightSwitch Beta2 screen

查看:99
本文介绍了如何将自定义控件的数据访问LightSwitch Beta2屏幕中添加的代码隐藏文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在LightSwitch Beta2屏幕中添加了一个Multiline testBox作为SilverLight自定义控件。如何将该控件内输入的数据访问到代码隐藏文件中?


提前致谢


Wahid

解决方案

Wahid,请参阅Karol的文章,解释如何使用LightSwitch中的自定义控件:

http://blogs.msdn.com/b/lightswitch/archive/ 2011/01/13 /使用定制的控件到增强-电灯开关的应用程序的UI部分-1.aspx


I have added a Multiline testBox as a SilverLight custom control into LightSwitch Beta2 screen. How can I access data entered inside that control into codebehind file?

Thanks in advance


Wahid

解决方案

Wahid, please go through Karol's article that explains working with custom controls in LightSwitch: http://blogs.msdn.com/b/lightswitch/archive/2011/01/13/using-custom-controls-to-enhance-lightswitch-application-ui-part-1.aspx


这篇关于如何将自定义控件的数据访问LightSwitch Beta2屏幕中添加的代码隐藏文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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