MouseLeftButtonDown event not working for Textbox in Silverlight
来源:互联网 发布:ipad pro笔记软件 编辑:程序博客网 时间:2024/05/24 00:07
Silverlight的TextBox的MouseLeftButtonDown事件不起作用。
解决办法:
用TextBox的AddHandler方法添加事件处理程序。例如
txtPassword.AddHandler(TextBox.MouseLeftButtonDownEvent, new MouseButtonEventHandler(MouseLeft), true);
=-=-=-
Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route. (摘自msdn, http://msdn.microsoft.com/en-us/library/ms598899(v=vs.95).aspx )
0 0
- MouseLeftButtonDown event not working for Textbox in Silverlight
- Open Declaration - not working in Eclipse for Zend Framework
- silverlight MouseLeftButtonDown无法触发解决办法
- asp.net textbox textchanged event not fire
- .trim() in JavaScript not working in IE
- silverlight MouseLeftButtonDown事件总是无法触发
- not working in mobile web forms!
- Default namespace not working in Dotnet API.
- udev rule not working in ubuntu 12.0
- Unwind Segue not working in iOS 8
- Why is .innerText not working in Firefox?
- Maven Dependency Search Not Working in Eclipse
- You are not working for me....................
- Number range for trans./event type WA in year 2011 does not exist
- Ajax second postback not working in Sharepoint in UpdatePanel
- Parse Xml In Js Not Working In Xampp With Ie9
- $.ajax not working in chrome but is working in firefox and IE
- silverlight中button无法触发MouseLeftButtonDown等事件
- Android 源代码结构
- 百度智能手环开源方案学习
- vim复制粘贴
- JS计算字符串的字节数
- 使用jdbc和javabean操作数据库遇到的鸡肋问题
- MouseLeftButtonDown event not working for Textbox in Silverlight
- iOS根据日期判断是刚刚、几分钟前、几小时前等的代码片段
- 图解CS版的皮肤界面编程示例
- Android 汉字首字母排序
- 《LINUX UNIX设计思想》
- C++读写文件流
- CSP路径
- Eclipse+PyDev 安装和配置
- java自学day02