Hello,
Please open App.xaml
in Platforms/Windows folder, then add the following to change the background:
XML
<maui:MauiWinUIApplication.Resources>
<SolidColorBrush x:Key="MenuFlyoutItemBackground">Blue</SolidColorBrush>
</maui:MauiWinUIApplication.Resources>
About the TextColor, you are not able to set it for now, because there is a known issue on WinUI3. Please refer to Setting Foreground on MenuBarItem doesn't work #7070 and menuflyout background incorrect after live color mode change #9241 and wait for their updates.
Best Regards,
Wenyan Zhang
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.