Summary
Sets 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 void SetWatermarkTrimming(DependencyObject obj, TextTrimming value)
Attributes
| Type |
Description |
| Category |
|
| AttachedPropertyBrowsableForType |
|
| AttachedPropertyBrowsableForType |
|
| AttachedPropertyBrowsableForType |
|
| AttachedPropertyBrowsableForType |
|
| AttachedPropertyBrowsableForType |
|
| AttachedPropertyBrowsableForType |
|
| AttachedPropertyBrowsableForType |
|
| AttachedPropertyBrowsableForType |
|
Parameters
| Name |
Type |
Description |
| obj |
DependencyObject |
|
| value |
TextTrimming |
|
Return Value