Provides methods and properties for interacting with the status bar assocaited with an app view (window). The status bar is a user experience that the system presents on the top edge (typically) of the screen that allows users to control behavior of the device and can present progres.
public : sealed class StatusBar : IStatusBar
struct winrt::Windows::UI::ViewManagement::StatusBar : IStatusBar
public sealed class StatusBar : IStatusBar
Public NotInheritable Class StatusBar Implements IStatusBar
// This class does not provide a public constructor.
Windows 10 requirements
Windows Mobile Extension SDK (introduced v10.0.10240.0)
Windows.Phone.PhoneContract (introduced v1)
To obtain an object of this type, call StatusBar.GetForCurrentView.
|BackgroundColor BackgroundColor BackgroundColor BackgroundColor BackgroundColor||
Gets or sets the background color of the status bar. The alpha channel of the color is not used.
|BackgroundOpacity BackgroundOpacity BackgroundOpacity BackgroundOpacity BackgroundOpacity||
Gets or sets the opacity of the background color of the status bar.
|ForegroundColor ForegroundColor ForegroundColor ForegroundColor ForegroundColor||
Gets or sets the foreground color of the status bar. The alpha channel of the color is not used.
|OccludedRect OccludedRect OccludedRect OccludedRect OccludedRect||
Gets the region of the core window currently occluded by the status bar.
|ProgressIndicator ProgressIndicator ProgressIndicator ProgressIndicator ProgressIndicator||
Gets the progress indicator for the status bar.
|GetForCurrentView() GetForCurrentView() GetForCurrentView() GetForCurrentView() GetForCurrentView()||
Gets the status bar for the current window (app view).
|HideAsync() HideAsync() HideAsync() HideAsync() HideAsync()||
Hides the status bar.
|ShowAsync() ShowAsync() ShowAsync() ShowAsync() ShowAsync()||
Shows the status bar.
|Hiding Hiding Hiding Hiding Hiding||
This event is raised when the status bar is being hidden.
|Showing Showing Showing Showing Showing||
This event is raised when the status bar is being shown.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.