Class TextBoxWatermarkHelper
Inheritance
Object
TextBoxWatermarkHelper
Assembly: Sdl.Desktop.Platform.Controls.dll
Syntax
public class TextBoxWatermarkHelper : DependencyObject
Constructors
TextBoxWatermarkHelper()
Declaration
public TextBoxWatermarkHelper()
Fields
IsWatermarkVisibleProperty
Declaration
public static readonly DependencyProperty IsWatermarkVisibleProperty
Field Value
Type |
Description |
DependencyProperty |
|
WatermarkTextProperty
Declaration
public static readonly DependencyProperty WatermarkTextProperty
Field Value
Type |
Description |
DependencyProperty |
|
Methods
GetIsWatermarkVisible(TextBox)
Declaration
public static bool GetIsWatermarkVisible(TextBox control)
Parameters
Type |
Name |
Description |
TextBox |
control |
|
Returns
GetWatermarkText(TextBox)
Declaration
public static string GetWatermarkText(TextBox control)
Parameters
Type |
Name |
Description |
TextBox |
control |
|
Returns
SetWatermarkText(TextBox, String)
Declaration
public static void SetWatermarkText(TextBox control, string text)
Parameters
Type |
Name |
Description |
TextBox |
control |
|
String |
text |
|
Extension Methods