Summary
Gets the text trimming behavior to employ when watermark overflows the content area.
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 TextTrimming GetWatermarkTrimming(DependencyObject obj)
Attributes
Type |
Description |
Category |
|
AttachedPropertyBrowsableForType |
|
AttachedPropertyBrowsableForType |
|
AttachedPropertyBrowsableForType |
|
AttachedPropertyBrowsableForType |
|
AttachedPropertyBrowsableForType |
|
AttachedPropertyBrowsableForType |
|
AttachedPropertyBrowsableForType |
|
AttachedPropertyBrowsableForType |
|
Parameters
Name |
Type |
Description |
obj |
DependencyObject |
|
Return Value
Type |
Description |
TextTrimming |
One of the System.Windows.TextTrimming values that specifies the text trimming behavior to employ. The default is System.Windows.TextTrimming.None .
|