Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Hide titleview in shell navbar with search handler?

$
0
0

I have a single ShellContent set to my Shell:

public App()
{
    InitializeComponent();

    var shell = new AppShell();
    shell.FlyoutBehavior = FlyoutBehavior.Disabled;
    shell.CurrentItem = new ShellContent() { ContentTemplate = new DataTemplate(() => new MyPage()) };
    MainPage = shell;
}

And it looks like this, notice the height of the navbar:

It does not take the same height has in the docs. How can I hide the titleview - the area above the search handler?


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>