Class WatermarkAdorner
Adorner that draws watermark/hint/cue text over the adorned control (TextBox etc).
public class WatermarkAdorner : Adorner, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient
Namespace: Au.More
Assembly: Au.dll
Inheritance
WatermarkAdorner
Inherited Members
Constructors
| Name | Description |
|---|---|
| WatermarkAdorner(Control, string) | Initializes and adds this adorner to the AdornerLayer of the control. |
Properties
| Name | Description |
|---|---|
| Text | Gets or sets watermark text. |
Methods
| Name | Description |
|---|---|
| OnRender(DrawingContext) | |
| SetAdornerVisibility() | Sets events to show/hide the adorner depending on control text. The control must be TextBox or editable ComboBox. |