locked
How to set Segoe UI Symbol by code?

    Question

  • Hi all,

    I can set TextBlock's Text is Segoe UI Symbol in .xaml
    But, if I want set Segoe UI Symbol by coding in .cpp. It doesn't show Segoe UI Symbol

    Example:
    Set  Segoe UI Symbol in .xaml

    <TextBlock x:Name="SEGOUITEXT" Text="&#xE26E;" FontFamily="Segoe UI Symbol" >
    

    Result :

    Set  Segoe UI Symbol by coding in .cpp

    SEGOUITEXT->Text = "&#xE26E;";
    Result :

    So, my question is "How to set Segoe UI Symbol by code in .cpp ?" 

    Thanks

    Wednesday, September 12, 2012 5:58 AM

Answers