Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TextHintingMode Enumeration

Specifies whether text rendering is optimized for readability or for dynamic presentation.

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

public enum TextHintingMode
<object property = "enumMemberName"/>

Member nameDescription
Supported by Silverlight for Windows PhoneFixedThe default text render mode.
Supported by Silverlight for Windows PhoneAnimatedTurns off text rendering optimizations.

By default, Silverlight optimizes text for readability. Although this is usually desirable, it can have a large performance impact when you animate the scale or rotation of text. This is because changing size or rotation results in recalculating how the glyph is most legible at that font size and position – and an animation changes that size or position 60 times a second.

When animating the rotation or scale of text, you will likely get better performance by turning off this readability optimization by setting the TextOptions.TextHintingMode attached property to Animated and then setting it back to Fixed when the animation ends.

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.

Community Additions

Show:
© 2014 Microsoft