question

SamihELSAKHAWI avatar image
0 Votes"
SamihELSAKHAWI asked SamihELSAKHAWI commented

Disable Maui Blazor title bar

Hi,

I'm actually working on a Maui Blazor project to work on Windows, and for this project, I created a custom top bar, where I include some buttons etc... (n°2 on the picture below).

47s1b.png

But I would like to know how can I remove the default window bar (n°1 on the picture). I didn't found a propertie that can fill this purpose (except for WPF).

Any tips?

Thank you.

Regards, Samih.


dotnet-aspnet-core-blazordotnet-maui
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @SamihELSAKHAWI , .NET MAUI can be written for Windows 11 and Windows 10 version 1809 or higher, using Windows UI Library (WinUI) 3.
WinUI 3 does not provide any APIs to support full screen mode. A WinUI 3 app can use Windows App SDK APIs for this, but the XAML Window does not hide the title bar in this case, see Title bar customization - Show and hide the title bar.


0 Votes 0 ·
SamihELSAKHAWI avatar image SamihELSAKHAWI WenyanZhang-MSFT ·

Hi,

My app doesn't work on fullscreen mode. As you said, it's not possible to hide the title bar? Can I remove or disable the resize button?

Thank you

0 Votes 0 ·

0 Answers