This topic has not yet been rated - Rate this topic

TextOptions Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Defines a set of attached properties that affect the way text is displayed in an element.

System.Object
  System.Windows.Media.TextOptions

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

public static class TextOptions

The TextOptions type exposes the following members.

  Name Description
Public attached property TextFormattingMode Gets the TextFormattingMode for the element. This is an attached property.
Public attached property TextHintingMode Gets the TextHintingMode for the element. This is an attached property.
Public attached property TextRenderingMode Sets the TextRenderingMode for the element. This is an attached property.
Top
  Name Description
Public method Static member GetTextFormattingMode Gets the TextFormattingMode for the specified element.
Public method Static member GetTextHintingMode Gets the TextHintingMode for the specified element.
Public method Static member GetTextRenderingMode Gets the TextRenderingMode for the specified element.
Public method Static member SetTextFormattingMode Sets the TextFormattingMode for the specified element.
Public method Static member SetTextHintingMode Sets the TextHintingMode for the specified element.
Public method Static member SetTextRenderingMode Sets the TextRenderingMode for the specified element.
Top
  Name Description
Public field Static member TextFormattingModeProperty Identifies the TextFormattingMode attached property.
Public field Static member TextHintingModeProperty Identifies the TextHintingMode attached property.
Public field Static member TextRenderingModeProperty Identifies the TextRenderingMode attached property.
Top

.NET Framework

Supported in: 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8 Release Preview, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 SP2, Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)