MAUI hide title bar but preserve resize feature
I am able to hide the entire title bar like this. This works great.
The reason for doing this is Title bar customisation so it fits with the rest of my application.
Two issues:
- Not being able to drag the window, well obviously but I could probably re implement this easily.
- Resize is set to false, the window cannot be resized anymore. If I re-enable it, there is a small margin at the top that shows up. See attached image, this is the top titlebar that forms. Its slim, but still behaves like a titlebar that is just empty.
Now the question is, can i re implement resizing in some way? Or allow it with out the titlebar showing up again?
There is little information on how to actually achieve this in MAUI. This is the only working way that I have found yet.
Code for hiding the title bar:
0 Replies