Avalonia
Avalonia copied to clipboard
Add Status Bar Api
What does the pull request do?
Adds Status Bar api through ITopLevelWithPlatformStatusBar
, with color and visibility properties. The Api can be accessed on any Control instance, but is only applied when using the TopLevel's Content, ie the MainView. This Api is targeted toward mobile platforms.
New Properties in Control
;
Color StatusBarColor { get; set; }
bool? IsStatusBarVisible { get; set; }
What is the current behavior?
What is the updated/expected behavior with this PR?
How was the solution implemented (if it's not obvious)?
Checklist
- [ ] Added unit tests (if possible)?
- [ ] Added XML documentation to any related classes?
- [ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation
Breaking changes
Obsoletions / Deprecations
Fixed issues
You can test this PR using the following package version. 11.0.999-cibuild0025421-beta
. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]
If this only applies to the TopLevel why are we defining the property on Control level?
You can test this PR using the following package version. 11.0.999-cibuild0025556-beta
. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]
Replaced StatusBarColor
with StatusBarTheme
You can test this PR using the following package version. 11.0.999-cibuild0025566-beta
. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]
You can test this PR using the following package version. 11.0.999-cibuild0025772-beta
. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]
You can test this PR using the following package version. 11.0.999-cibuild0025964-beta
. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]
You can test this PR using the following package version. 11.0.999-cibuild0026621-beta
. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]
Replaced with https://github.com/AvaloniaUI/Avalonia/pull/9641