SystemTray.IsVisible Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the visibility of the system tray on the current application page.
Namespace: Microsoft.Phone.Shell
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
Syntax
Public Shared Property IsVisible As Boolean
public static bool IsVisible { get; set; }
<object IsVisible="bool" .../>
Property Value
Type: System..::.Boolean
true if the system tray is visible; otherwise, false.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | There is no active PhoneApplicationPage object. |
Remarks
This property cannot be accessed using XAML syntax. It can be accessed only when there is a page loaded.
The system tray is also referred to as the status bar.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0
Platforms
Windows Phone
See Also
Reference
Microsoft.Phone.Shell Namespace