Setting a FontFamily Consolas to Editor and Entry controls

Haviv Elbsz 2,006 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.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,070 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,826 Reputation points Microsoft Vendor
    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