Watermark Class
A helper class that contains attached properties to support watermarks for TextBox and ComboBox controls: HintText: an attached property that shows what is the hint text for the control ImageSource: an attached property that points to the image source for the image to show inside the control or Image: an attached property that points to the image to show inside the control
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Controls.WPF.Watermark
Namespace: Microsoft.TeamFoundation.Controls.WPF
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public NotInheritable Class Watermark
public static class Watermark
public ref class Watermark abstract sealed
[<AbstractClass>]
[<Sealed>]
type Watermark = class end
public final class Watermark
The Watermark type exposes the following members.
Attached Properties
Name | Description | |
---|---|---|
HasActualText | ||
HintText | ||
Image | ||
ShowImageOnRight | ||
ShowToolTip | ||
WatermarkState |
Top
Methods
Top
Fields
Name | Description | |
---|---|---|
HasActualTextProperty | ||
HintTextProperty | ||
ImageProperty | ||
ShowImageOnRightProperty | ||
ShowToolTipProperty | ||
WatermarkStateProperty |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.