ClearTypeHint Enum


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

public enum class ClearTypeHint
public enum ClearTypeHint
type ClearTypeHint = 
Public Enum ClearTypeHint


Auto 0

The rendering engine uses ClearType when it is possible. If opacity is introduced, ClearType is disabled for that subtree.

Enabled 1

The rendering engine re-enables ClearType for the current subtree. Where opacity is introduced in this subtree, ClearType is disabled.


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

Applies to

See also