SetTextHintingMode Method
Collapse the table of content
Expand the table of content

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.

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.

ExceptionCondition
ArgumentNullException

The target is null.

This method provides support for the TextOptions.TextHintingMode attached property.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft