Export (0) Print
Expand All

TextOptions Class

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.

  NameDescription
Public attached propertyTextFormattingModeGets the TextFormattingMode for the element. This is an attached property.
Public attached propertyTextHintingModeGets the TextHintingMode for the element. This is an attached property.
Public attached propertyTextRenderingModeSets the TextRenderingMode for the element. This is an attached property.
Top

  NameDescription
Public methodStatic memberGetTextFormattingModeGets the TextFormattingMode for the specified element.
Public methodStatic memberGetTextHintingModeGets the TextHintingMode for the specified element.
Public methodStatic memberGetTextRenderingModeGets the TextRenderingMode for the specified element.
Public methodStatic memberSetTextFormattingModeSets the TextFormattingMode for the specified element.
Public methodStatic memberSetTextHintingModeSets the TextHintingMode for the specified element.
Public methodStatic memberSetTextRenderingModeSets the TextRenderingMode for the specified element.
Top

  NameDescription
Public fieldStatic memberTextFormattingModePropertyIdentifies the TextFormattingMode attached property.
Public fieldStatic memberTextHintingModePropertyIdentifies the TextHintingMode attached property.
Public fieldStatic memberTextRenderingModePropertyIdentifies the TextRenderingMode attached property.
Top

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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.

Community Additions

ADD
Show:
© 2014 Microsoft