Windows Dev Center

StatusBar class

Provides methods and properties for interacting with the status bar on a window (app view).

Syntax


/* For information about creating or accessing this object, see Remarks. */

Members

The StatusBar class has these types of members:

Events

The StatusBar class has these events.

EventDescription
Hiding This event is raised when the status bar is being hidden.
Showing This event is raised when the status bar is being shown.

 

Methods

The StatusBar class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.

MethodDescription
GetForCurrentView Gets the status bar for the current window (app view).
HideAsync Hides the status bar.
ShowAsync Shows the status bar.

 

Properties

The StatusBar class has these properties.

PropertyAccess typeDescription

BackgroundColor

Read/writeGets or sets the background color of the status bar. The alpha channel of the color is not used.

BackgroundOpacity

Read/writeGets or sets the opacity of the background color of the status bar.

ForegroundColor

Read/writeGets or sets the foreground color of the status bar. The alpha channel of the color is not used.

OccludedRect

Read-onlyGets the region of the core window currently occluded by the status bar.

ProgressIndicator

Read-onlyGets the progress indicator for the status bar.

 

Remarks

To obtain an object of this type, call StatusBar.GetForCurrentView.

Requirements (Windows 10 device family)

Device family

Mobile

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.UI.ViewManagement
Windows::UI::ViewManagement [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.UI.ViewManagement
Windows::UI::ViewManagement [C++]

Metadata

Windows.WinMD

Attributes

[MarshalingBehavior(Agile)]
[Version(0x06030000)]

See also

Object

 

 

Show:
© 2015 Microsoft