Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin Forms UWP Hide Title Bar

I was wondering if anyone knew how to hide the title (gray) bar of a Xamarin Forms Universal Windows Platform application? I've seen some solutions for Android floating around, but I can't extrapolate an equivalent.

One of the Android solutions I've stumbled across: RequestWindowFeature(WindowFeatures.NoTitle);

enter image description here

Any suggestions/ideas would be greatly appreciated, thanks!

like image 774
indubitablee Avatar asked May 31 '16 15:05

indubitablee


People also ask

How do I hide the title bar in xamarin?

So simply built your own navigation or use custom renderers to remove the bar (maybe there is a property on the navigation page for this also). With Contant page use the following attribute in place. Navigation. PopModalAsync();

Where is the title bar in Windows 10?

The title bar sits at the top of an app on the base layer. Its main purpose is to allow users to be able to identify the app via its title, move the app window, and minimize, maximize, or close the app.


1 Answers

Solution:

NavigationPage.SetHasNavigationBar(this, false);

in the codebehind.

like image 138
indubitablee Avatar answered Sep 28 '22 07:09

indubitablee