How do you change the color of the burger bar in maui when using shell

2.1k Views Asked by At

Looked everywhere but could not find it

How do you change the color of the burger bar in maui when using shell

Thanks

1

There are 1 best solutions below

5
On BEST ANSWER

If you want to change the color of the burger icon in a MAUI Shell Flyout, you can set the ForegroundColor:

<Shell
    x:Class="MAUIApp1.AppShell"
    xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:local="clr-namespace:MAUIApp1"
    FlyoutBackgroundColor="Black"
    Shell.ForegroundColor="Orange">

</Shell>

Maybe this helps, too: Change Hamburger Menu Icon in .NET MAUI app

Or this: How to get the default shell flyout icon to react when android dark theme is switched on/off