ProgressIndicator Constructor
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Creates a new instance of the ProgressIndicator class.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
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
Show: