Setting a FontFamily Consolas to Editor and Entry controls

Haviv Elbsz 2,091 Reputation points
2022-08-21T19:12:12.763+00:00

Hello All

In my Maui application I want to add
FontFamily Consolas .

I tried the Editor FontFamily property
for this but it does not work.

please can someone guide me
how to do it.

Thank you very much.

Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
    2022-08-22T07:28:44.403+00:00

    Hello,

    In MAUI, there is an official documentation about how to set a FontFamily in your controls, please refer to Fonts in .NET MAUI.

    In my side, I've tested to set a FontFamily to Editor and Entry controls, and it works fine.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.