Share via


TextBlock.IsColorFontEnabled Property

Definition

Gets or sets a value that determines whether font glyphs that contain color layers, such as Segoe UI Emoji, are rendered in color.

public:
 property bool IsColorFontEnabled { bool get(); void set(bool value); };
bool IsColorFontEnabled();

void IsColorFontEnabled(bool value);
public bool IsColorFontEnabled { get; set; }
var boolean = textBlock.isColorFontEnabled;
textBlock.isColorFontEnabled = boolean;
Public Property IsColorFontEnabled As Boolean
<TextBlock IsColorFontEnabled="bool" />

Property Value

Boolean

bool

true if color glyphs show in color; otherwise, false. The default is true.

Remarks

A font can include multiple colored layers for each glyph. For example, the Segoe UI Emoji font defines color versions of the Emoticon and other Emoji characters. By default, the IsColorFontEnabled property is true and fonts with these additional layers are rendered in color.

Some glyphs in multi-color fonts have different layout metrics when rendered in color.

Applies to