ProgressIndicator.Text Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets the text of the progress indicator on the system tray on the current application page.
Assembly: Microsoft.Phone (in Microsoft.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
The following code example shows how to use the ProgressIndicator class.
using Microsoft.Phone.Shell; namespace SystemTrayTest { public partial class MainPage : PhoneApplicationPage { ProgressIndicator prog; public MainPage() { InitializeComponent(); SystemTray.SetIsVisible(this, true); SystemTray.SetOpacity(this, 0); prog = new ProgressIndicator(); prog.IsVisible = true; prog.IsIndeterminate = true; prog.Text = "Click me..."; SystemTray.SetProgressIndicator(this, prog); } } }
Show: