System.Windows.Media Namesp ...


.NET Framework Class Library
ClearTypeHint Enumeration

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

An enumeration that specifies a hint to the rendering engine that text can be rendered with ClearType.

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

Visual Basic (Declaration)
Public Enumeration ClearTypeHint
Visual Basic (Usage)
Dim instance As ClearTypeHint
C#
public enum ClearTypeHint
Visual C++
public enum class ClearTypeHint
F#
type ClearTypeHint
XAML Attribute Usage
<object property="enumerationMemberName" .../>
Members

Member nameDescription
AutoThe rendering engine uses ClearType when it is possible. If opacity is introduced, ClearType is disabled for that subtree.
EnabledThe rendering engine re-enables ClearType for the current subtree. Where opacity is introduced in this subtree, ClearType is disabled.
Remarks

Use the RenderOptions..::.ClearTypeHint attached property to control how text is rendered on a translucent background. For more information, see RenderOptions..::.ClearTypeHint.

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information

.NET Framework

Supported in: 4

.NET Framework Client Profile

Supported in: 4
See Also

Reference

Page view tracker