[Proposal] StatusBarEffect
See original GitHub issueStatusBarEffect
- Proposed
- Prototype
- Implementation
- iOS Support
- Android Support
- macOS Support
- Windows Support
- Unit Tests: Not Started
- Sample
- Documentation
Summary
Set the color and style of the status bar
Detailed Design
StatusBarEffect.shared.cs
public class StatusBarEffect : RoutingEffect
{
public static readonly BindableProperty ColorProperty;
public static readonly BindableProperty StyleProperty;
public static Color GetColor(BindableObject bindable);
public static StatusBarStyle GetStyle(BindableObject bindable);
}
Usage Syntax
XAML Usage
<ContentPage local:StatusBarEffect.Color="Blue">
</ContentPage>
C# Usage
class MyPage : ContentPage
{
public MyPage()
{
StatusBarEffect.SetColor(this, Colors.Black);
}
}
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:36 (35 by maintainers)
Top Results From Across the Web
New Feature Proposals
New Feature Proposals · Closed · Proposal Submitted · Proposal Championed · Proposal Approved · Pull Request Approved (Pending Documentation) · Documentation Approved....
Read more >Not able to set status bar background in Xamarin.iOS
I need to change status bar UI, where background is black and text colour is white, in Xamarin.iOS (not forms). For that I...
Read more >Effects for the Status Bar Sample - Jorge Ramirez
Forms Project in the Solution Explorer, and add a new class, name it StatusBarEffect. Your StatusBarEffect.cs class file should look like this:
Read more >Proposal Status
The Proposal Status mapping allows you to change the way your institution's proposal statuses are categorized for reporting purposes in the Platform.
Read more >FINAL FANTASY XIV Forum
PB going up to 45 seconds would make it impossible to ever plan around. ... active gauges to blacklist whatever status bar effect...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @pictos, what’s the state on this one?
I’m a bit confused with the different issues here and in the MAUI project… Are you going to implement it in the CommunityToolkit or will the MAUI team add it directly in MAUI? And has any work on it already started?
I’ll need the feature for a customer project… So if nothing has been implemented yet (nor is in the pipeline to do so shortly), any tips on how to implement it myself? I need to set it dynamically (in case the user switches themes on runtime), currently just for iOS and Android.
Thanks in advance 😃 Any info/help is appreciated!
than call “UpdateStatusBarColor();” when you need to change color. this code from App.xaml.cs