如何将搜索图像放在文本框中 [英] how to put search image in textbox
本文介绍了如何将搜索图像放在文本框中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将搜索图像放入文本框
解决方案
文本框不包含图像 - 它们只支持文本。
创建文本框那样做,你要么必须创建自己的UserControl(可能包含TextBox),要么改为使用RichTextBox。
这取决于你想要的是什么实现
how to put search image in textbox
解决方案
Textboxes do not contain images - they only support text.
to create a textbox that did, you would either have to create your own UserControl (possibly containing a TextBox) or perhaps use a RichTextBox instead.
It really depends on what you are trying to achieve.
这篇关于如何将搜索图像放在文本框中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文