Watermark 类
包含附加属性支持文本框和组合框控件的水印的帮助器选件类:HintText:一个附加属性演示了控件的ImageSource提示文本:指向图像的图像源可以显示在控件或图像中的附加属性:指向该图像显示在控件中的附加属性
继承层次结构
System.Object
Microsoft.TeamFoundation.Controls.WPF.Watermark
命名空间: Microsoft.TeamFoundation.Controls.WPF
程序集: Microsoft.TeamFoundation.Controls(在 Microsoft.TeamFoundation.Controls.dll 中)
语法
声明
Public NotInheritable Class Watermark
public static class Watermark
Watermark 类型公开以下成员。
附加属性
名称 | 说明 | |
---|---|---|
![]() |
HasActualText | |
![]() |
HintText | |
![]() |
Image | |
![]() |
ShowImageOnRight | |
![]() |
ShowToolTip | |
![]() |
WatermarkState |
页首
方法
页首
字段
名称 | 说明 | |
---|---|---|
![]() ![]() |
HasActualTextProperty | |
![]() ![]() |
HintTextProperty | |
![]() ![]() |
ImageProperty | |
![]() ![]() |
ShowImageOnRightProperty | |
![]() ![]() |
ShowToolTipProperty | |
![]() ![]() |
WatermarkStateProperty |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。