TextOptions.SetTextHintingMode Method
Silverlight
Sets the TextHintingMode for this FrameworkElement.
Namespace: System.Windows.Media
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.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.