如何在Silverlight4.0中动态扩展文本框控件的宽度 [英] How to dynamically extend width of textbox control in silverlight4.0

查看:58
本文介绍了如何在Silverlight4.0中动态扩展文本框控件的宽度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要动态创建textBox控件,我希望在该控件中,每当用户输入文本并按Enter时,文本框控件的宽度就会自动增加.

I Want to dynamically create textBox Control in which I want that whenever a user enter text and press enter, the width of textbox control automatically increases.

推荐答案

不是确定您的确切要求,但最简单的方法是在用户向控件中输入数据并按Enter时增加文本框的宽度.
Not sure what your exact requirement but at the simplest level just increase the width of the text box as the user types data into the control and presses Enter.


这篇关于如何在Silverlight4.0中动态扩展文本框控件的宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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