TextOptions.GetTextHintingMode Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets the TextHintingMode for this FrameworkElement.

Namespace:  System.Windows.Media
Assembly:  System.Windows (in System.Windows.dll)

Syntax

Public Shared Function GetTextHintingMode ( _
    target As FrameworkElement _
) As TextHintingMode
public static TextHintingMode GetTextHintingMode(
    FrameworkElement target
)

Parameters

Return Value

Type: System.Windows.Media..::.TextHintingMode
The TextHintingMode for this FrameworkElement.

Exceptions

Exception Condition
ArgumentNullException

target is nullNothingnullptra null reference (Nothing in Visual Basic).

Remarks

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

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

TextOptions Class

System.Windows.Media Namespace