Hello,
CommunityToolkit popup do not have this feature, you can add feature request in the CommunityToolkit GitHub page
Based on your screenshot, if you want to change the popup page's outside color to black for the windows platform.
Here is a way to change it.
Firstly, please open App.xaml
in Platforms/Windows/Windows/App.xaml
path.
Then copy content about <maui:MauiWinUIApplication.Resources>
to <maui:MauiWinUIApplication>
tag like following code, then you can set popup page's outside color to black
<maui:MauiWinUIApplication
...
>
<maui:MauiWinUIApplication.Resources>
<SolidColorBrush x:Key="SystemControlPageBackgroundMediumAltMediumBrush" Color="{StaticResource SystemAltMediumColor}" />
<Color x:Key="SystemAltMediumColor">#ff000000</Color>
</maui:MauiWinUIApplication.Resources>
</maui:MauiWinUIApplication>
Best Regards,
Leon Lu
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.