Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
When setting the status bar colour using StatusBarBehavior or the Platform.StatusBar API in .NET 10 Release Candidate, the colour and style are not applied as expected. The same code works correctly in previous versions (e.g., .NET 9).
Expected Behavior
The Colour and style should be applied
Steps To Reproduce
Create a new .NET 10 RC MAUI project.
Install the latest CommunityToolkit.Maui package (12.3.0)
Add the following XAML to a page:
<ContentPage.Behaviors>
<toolkit:StatusBarBehavior
StatusBarColor="Red"
StatusBarStyle="LightContent"/>
</ContentPage.Behaviors>
Link to public reproduction project repository
https://github.com/lennard393/CommunityToolkit.StatusbarColor-Bug/tree/master/CommunityToolkit.StatusbarColor
Environment
- .NET MAUI CommunityToolkit: 12.3.0
- OS: Windows 10 Build 10.0.19041.0
- .NET MAUI: 10
Anything else?
No response
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
When setting the status bar colour using StatusBarBehavior or the Platform.StatusBar API in .NET 10 Release Candidate, the colour and style are not applied as expected. The same code works correctly in previous versions (e.g., .NET 9).
Expected Behavior
The Colour and style should be applied
Steps To Reproduce
Create a new .NET 10 RC MAUI project.
Install the latest CommunityToolkit.Maui package (12.3.0)
Add the following XAML to a page:
<ContentPage.Behaviors>
<toolkit:StatusBarBehavior
StatusBarColor="Red"
StatusBarStyle="LightContent"/>
</ContentPage.Behaviors>
Link to public reproduction project repository
https://github.com/lennard393/CommunityToolkit.StatusbarColor-Bug/tree/master/CommunityToolkit.StatusbarColor
Environment
Anything else?
No response