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

Apptacular Apps 386 Reputation points
2020-06-15T00:02:11.45+00:00

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

<TextBlock Text="&#x1F6B2;" Style="{StaticResource HeaderTextBlockStyle}"/>
Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Accepted answer
  1. Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,851 Reputation points
    2020-06-15T02:28:11.467+00:00

    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

    0 comments No comments

0 additional answers

Sort by: Most helpful