Summary
Gets a value that indicates the horizontal alignment of the watermark.
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 TextAlignment GetWatermarkAlignment(DependencyObject obj)
Attributes
| Type |
Description |
| Category |
|
| AttachedPropertyBrowsableForType |
|
| AttachedPropertyBrowsableForType |
|
| AttachedPropertyBrowsableForType |
|
| AttachedPropertyBrowsableForType |
|
| AttachedPropertyBrowsableForType |
|
| AttachedPropertyBrowsableForType |
|
| AttachedPropertyBrowsableForType |
|
| AttachedPropertyBrowsableForType |
|
Parameters
| Name |
Type |
Description |
| obj |
DependencyObject |
|
Return Value
| Type |
Description |
| TextAlignment |
One of the System.Windows.TextAlignment values that specifies the desired alignment. The default is System.Windows.TextAlignment.Left.
|