Class TextBoxWatermarkHelper
Inheritance
System.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 |
System.Windows.DependencyProperty |
|
WatermarkTextProperty
Declaration
public static readonly DependencyProperty WatermarkTextProperty
Field Value
Type |
Description |
System.Windows.DependencyProperty |
|
Methods
GetIsWatermarkVisible(TextBox)
Declaration
public static bool GetIsWatermarkVisible(TextBox control)
Parameters
Type |
Name |
Description |
System.Windows.Controls.TextBox |
control |
|
Returns
Type |
Description |
System.Boolean |
|
GetWatermarkText(TextBox)
Declaration
public static string GetWatermarkText(TextBox control)
Parameters
Type |
Name |
Description |
System.Windows.Controls.TextBox |
control |
|
Returns
Type |
Description |
System.String |
|
SetWatermarkText(TextBox, String)
Declaration
public static void SetWatermarkText(TextBox control, string text)
Parameters
Type |
Name |
Description |
System.Windows.Controls.TextBox |
control |
|
System.String |
text |
|
Extension Methods