question

ApptacularApps-8305 avatar image
0 Votes"
ApptacularApps-8305 asked NicoZhu-MSFT edited

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-uwp
5 |1600 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 NicoZhu-MSFT edited

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


5 |1600 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.