x 或在文本框内交叉以清除文本框 [英] x or cross inside a textbox to clear the text box

查看:18
本文介绍了x 或在文本框内交叉以清除文本框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的文本框中放置一个十字按钮,对于我正在开发的 wp7 应用程序,如下所示:http://silverscratch.blogspot.com/2010/03/watermarked-textbox-part-i.html 我不喜欢这个解决方案.

I want to put a cross button in my text boxes, for a wp7 app i am working on, something like this: http://silverscratch.blogspot.com/2010/03/watermarked-textbox-part-i.html I dont like this solution.

我认为一定有更好的方法.有什么想法吗?

I think there must be a better way. any ideas ?

推荐答案

试试同一作者的另一篇文章 这里 (存档)

Try the other article by the same author here (archive)

它是自定义控件而不是用户控件.

It is a custom control rather than a user control.

这篇关于x 或在文本框内交叉以清除文本框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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