文本框默认值变为斜体 [英] Textbox default value goes italic type

查看:135
本文介绍了文本框默认值变为斜体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

有人可以给我链接有关教程的链接的方法,该教程如何在文本框中设置斜体且不透明度较低的输入格式的默认示例?我不知道如何搜索我的定义.因为某些系统上的某些文本框以斜体样式给出了文本框格式的示例,并且当用户填充输入内容时,文本框变为常规字体样式.任何人都可以帮忙吗?

Hi all,

can someone give me link about tutorial on how to set a default example of input format in italic and less opacity on the textbox? I don''t know how to search on my definition. Because some of the textbox on some system give an example of format on the textbox with italic style and when user fill the input, the textbox goes regular font style..Anyone could help?

推荐答案

我认为您要查找的关键字是水印".

此CP文章. [ ^ ]

希望对您有所帮助.
I think the keyword you are looking for is "watermark".

Here is the google search.[^]

The second result is this CP Article.[^]

Hope it helps.


textbox.Font =新字体(this.Font,FontStyle.italic);
而且通过asp.net无法实现不透明.我们必须使用银色光源或wpf.
textbox.Font = new Font(this.Font, FontStyle.italic);
And opacity is not possible through asp.net.we have to use either silver light or wpf.


这篇关于文本框默认值变为斜体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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