This topic has not yet been rated - Rate this topic

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.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ