TextBoxHelper.

SetWatermark(DependencyObject, string) Method

Namespace
MahApps.Metro.Controls
Containing Type
TextBoxHelper

Syntax

[Category(AppName.MahApps)]
[AttachedPropertyBrowsableForType(typeof(TextBoxBase))]
[AttachedPropertyBrowsableForType(typeof(PasswordBox))]
[AttachedPropertyBrowsableForType(typeof(ComboBox))]
[AttachedPropertyBrowsableForType(typeof(DatePicker))]
[AttachedPropertyBrowsableForType(typeof(TimePickerBase))]
[AttachedPropertyBrowsableForType(typeof(NumericUpDown))]
[AttachedPropertyBrowsableForType(typeof(HotKeyBox))]
[AttachedPropertyBrowsableForType(typeof(ColorPicker))]
public static void SetWatermark(DependencyObject obj, string value)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType
AttachedPropertyBrowsableForType

Parameters

Name Type Description
obj DependencyObject
value string

Return Value

Type Description
void