question

ApptacularApps-8305 avatar image
0 Votes"
ApptacularApps-8305 asked ·

How set emoji in TextBlock to outline only/black & white

Is it possible to show emoji characters without colour? The code used always shows them in colour.

 <TextBlock Text="&#x1F6B2;" Style="{StaticResource HeaderTextBlockStyle}"/>
windows-uwpwindows-uwp-xaml
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

NicoZhu-MSFT avatar image
0 Votes"
NicoZhu-MSFT answered ·

Hello,

Welcome to Micorsoft Q&A,

Is it possible to show emoji characters without colour? The code used always shows them in colour.

Sure, TextBlock has IsColorFontEnabled property, if we set it as False, the emoji characters will tun into black & white.

  <TextBlock Text="&#x1F6B2;"  IsColorFontEnabled="False" Style="{StaticResource HeaderTextBlockStyle}"/>

Thanks,

Nico Zhu


· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.