TextOptions.SetTextHintingMode Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Sets the TextHintingMode for this FrameworkElement.
Assembly: System.Windows (in System.Windows.dll)
public static void SetTextHintingMode( FrameworkElement target, TextHintingMode textHintingMode )
Parameters
- target
- Type: System.Windows.FrameworkElement
The FrameworkElement to set this property on.
- textHintingMode
- Type: System.Windows.Media.TextHintingMode
The TextHintingMode to set the FrameworkElement to.
| Exception | Condition |
|---|---|
| ArgumentNullException | The target is null. |
This method provides support for the TextOptions.TextHintingMode attached property.
Show: