IsVisible Property
Collapse the table of content
Expand the table of content

ProgressIndicator.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 progress indicator on 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.

'Declaration
Public Property IsVisible As Boolean
<object IsVisible="bool" .../>

Property Value

Type: System.Boolean
true if the progress indicator is visible; otherwise, false.

The system tray is also referred to as the status bar.

The following code example shows how to use the ProgressIndicator class.

Imports Microsoft.Phone.Shell

Partial Public Class MainPage
    Inherits PhoneApplicationPage

    Dim prog As ProgressIndicator
    
    Public Sub New()
        InitializeComponent()

        SystemTray.SetIsVisible(Me, true)
        SystemTray.SetOpacity(Me, 0)

        prog = new ProgressIndicator()
        prog.IsVisible = true
        prog.IsIndeterminate = true

        SystemTray.SetProgressIndicator(Me, prog)
    End Sub
End Class

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft