TextOptions.SetTextRenderingMode Method
Silverlight
Sets the TextRenderingMode for this FrameworkElement.
Namespace: System.Windows.Media
Assembly: System.Windows (in System.Windows.dll)
public static void SetTextRenderingMode( FrameworkElement element, TextRenderingMode value )
Parameters
- element
- Type: System.Windows.FrameworkElement
The FrameworkElement to set this property on.
- value
- Type: System.Windows.Media.TextRenderingMode
The TextRenderingMode to set the FrameworkElement to.
This method provides support for the TextOptions.TextRenderingMode attached property.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.