System.Windows.Media Namesp ...


.NET Framework Class Library for Silverlight
TextOptions Class

Provides options for controlling the rendering behavior of text.

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

Visual Basic (Declaration)
Public NotInheritable Class TextOptions
Visual Basic (Usage)
You do not need to declare an instance of a static class in order to access its members.
C#
public static class TextOptions
Remarks

By default, Silverlight optimizes text for readability. Although this is usually desirable, it can have a large performance impact when you animate text. This is because during animation Silverlight is constantly redrawing the optimized text, and this optimization takes significant resources. When animating text, you will likely get better performance by turning off this readability optimization by setting the TextHintingMode property to Animated and then setting it back to Fixed when the animation ends.

Inheritance Hierarchy

System..::.Object
  System.Windows.Media..::.TextOptions
Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms

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

See Also

Reference

Tags :


Page view tracker