how to custom title view in maui?

mc 3,541 Reputation points
2023-05-29T12:42:59.1866667+00:00

I am not using shell

MainPage=new MainPage();

how to custom the title view and the closebutton?

User's image

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,750 questions
{count} votes

Accepted answer
  1. Leon Lu (Shanghai Wicresoft Co,.Ltd.) 66,561 Reputation points Microsoft Vendor
    2023-06-01T05:14:57.48+00:00

    Hello,

    Sorry for my delay, here are no API could custom the title bar in MAUI.

    But this feature request was added in MAUI github. Please waiting for PG's update in following thread.

    Provide a cross platform API for customizing the TitleBar of desktop apps #13023

    Best Regards,

    Leon Lu


    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