In Focus
Jabalpur Chapter - Windows 8 Developers Day
Delhi Chapter Hands On June 22: Limited Seats Register Now
Kolkata Chapter Developer Day: May 25
C# Corner Delhi Chapter Meet, May-18, 2013 Official Recap
Istanbul Chapter May 2013 2nd Seminar Announced : Learn WinJS, Windows Store, MVC
Email :
Password :
Remember me?
Forgot password
Contribute
An Article
A Blog
A News
A Video
A Link
An Interview Question
Ask a Question
TECHNOLOGIES
.NET 4.5
Current Affairs
Leadership
SharePoint 2010
Web Development
.NET Assemblies
Databases & DBA
Learn .NET
SharePoint 2013
Web Services in C#
ADO.NET in C#
Design & Architecture
LightSwitch 2012
Silverlight with C#
Windows 8
AJAX in C#
Exception Handling C#
LINQ
Smart Devices
Windows Azure
Android Programming
Graphics Design
Mobile & Embedded
SQL
Windows Controls C#
Articles C#
Hardware
Office 2013
SQL Server 2012
Windows Forms C#
ASP.NET Controls in C#
How do I
OOP/OOD
Testing
Windows Phone 8
ASP.NET MVC with C#
HTML 5
Operating Systems
TypeScript
Windows Server 2012
ASP.NET Programming
Internet & Web
PHP
Visual C#
Windows Store Apps
C# Language
iPhone/iPad
Products
Visual Studio .NET
Workflow Foundation in C#
C# Tutorials
Java
Project Management
Visual Studio 2010
WPF
C, C++, MFC
Java and .NET
Reports using C#
Visual Studio 2012
XAML
Career Advice
JavaScript, CSS
Robotics & Hardware
WCF with C#
XML
Chapters
JQuery
Security in .NET
Request a new Category
|
View All
ANSWERS
BLOGS
VIDEOS
INTERVIEWS
BOOKS
LINKS
NEWS
CHAPTERS
CAREER ADVICE
Create Outlook Add-in by MAPI Functionality ...
Top 10 HTML5 Interview Questions
How to Enable Sign in as Different User Opti ...
How to Select Multiple Rows in Grid Using Li ...
Find and Delete Duplicate Records From SQL Table
Encrypt and Decrypt in SQL Server: Part 2
Custom Paging With GridView in ASP.NET 4.5
Introduction To Serialization In Java
Native Windows Dynamic Link Libraries (DLLs)
Resolving Dependency Using Ninject
ARTICLE
System Tray ProgressIndicator in Windows Phone 7.5 / Mango phone
Posted by
Dhananjay Kumar
in
Articles
|
F#
on
October 02, 2011
Tags:
ProgressIndicator
,
ProgressIndicator in Windows Phone
,
Windows Phone
,
Windows Phone articles
,
Windows Phone ProgressIndicator
,
Windows Phone tutorials
This article explains how to work with the Progress Indicator in the System Tray to show the progress of async operation in a Windows Phone 7.5 . Mango phone.
Tweet
4631
0
0
Reader Level:
Windows Phone 7.5 (Mango) provides a Progress Indicator in the System Tray to show the progress of an async operation.
The ProgressIndicator is a dependency object and can be data bound to the System Tray.
The ProgressIndicator class is defined as below:
Using ProgressIndicator
To use a ProgressIndicator, you first need to add the namespace:
And then create it like below:
On the async operation status you can set visibility to false:
Finally, you need to set it in the System Tray or Status Bar as below,
Putting it all together, the below listed source code will give you output as shown earlier in the post.
using
System.Windows.Media;
using
Microsoft.Phone.Controls;
using
Microsoft.Phone.Shell;
namespace
PhoneApp2
{
public
partial
class
MainPage
:
PhoneApplicationPage
{
public
MainPage()
{
InitializeComponent();
SystemTray
.SetIsVisible(
this
,
true
);
SystemTray
.SetOpacity(
this
, 0.5);
SystemTray
.SetBackgroundColor(
this
,
Colors
.Black);
SystemTray
.SetForegroundColor(
this
,
Colors
.Blue);
ProgressIndicator
progressIndicator =
new
ProgressIndicator
();
progressIndicator.IsVisible =
true
;
progressIndicator.IsIndeterminate =
true
;
progressIndicator.Text =
"Hey I am Progress Indicator"
;
SystemTray
.SetProgressIndicator(
this
, progressIndicator);
}
}
}
In this way you can use the System Tray Progress Indicator. I hope this post was useful. Thanks for reading
Login
to add your contents and source code to this article
This Feature is Sponsored By
DynamicPDF Merger is a developers dream for interacting with any existing PDF documents. Merge, append, split, form fill, flatten stamp and so much more.
Finding Square of Range of Numbers in F#
Tags:
articles
,
F# tutorials
,
fsharp
,
List.Map
,
Square of Range in F#
Working With Array in F#
Tags:
array in F#
,
F#
,
F# article
,
working with array in F#
Related Articles
Delete Secondary Tiles in Windows Phone 7.5 or Mango Phone
Restore and Preserve Page State for Windows Phone 7.5 or Mango Phone
Live Tiles in Windows Phone 7.5 or Mango phone
Schedule the Tile update in Windows Phone 7.5 or Mango Phone
RichTextBox in Windows Phone 7.1 or Mango
Consuming OData in Windows Phone 7.1 or Mango Phone
Local Database application for Windows Phone
Getting Started With Window Phone 7 (Mango) Silverlight Application
Windows Phone 7.1 [Mango] Beta Released
Reminder Application in Windows Phone Mango
post comment
COMMENT USING
PREMIUM SPONSORS
DynamicPDF Developer Components
DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and add new content to existing PDF documents from within your applications.
TRENDING UP
Create Outlook Add-in by MAPI Functionality by Using Visual Studio 2010 Outlook Project
Top 10 HTML5 Interview Questions
How to Enable Sign in as Different User Option in SharePoint 2013
How to Select Multiple Rows in Grid Using LightSwitch 2012
Find and Delete Duplicate Records From SQL Table
Encrypt and Decrypt in SQL Server: Part 2
Custom Paging With GridView in ASP.NET 4.5
Introduction To Serialization In Java
Native Windows Dynamic Link Libraries (DLLs)
Resolving Dependency Using Ninject
View All
MOST LIKED ARTICLE
WCF Introduction and Contracts - Day 1
Create SSRS Report Using Report Wizard
CREATE READ UPDATE and DELETE - CRUD Operation Using LINQ to SQL
WCF - Data Contract - Day 4
Factory Design Pattern
Follow @twitterapi
HOT KEYWORDS
Arrays
Button in Silverlight
Control in FSharp
Document comments
Ellipse in WPF
F Language
F sharp
F#
F# articles
F# Tutorials
For Loop
Fsharp
fsharp articles
FSharp List.map function
FSharp tutorials
Functional Programming
Jagged Array
Languages
Multidimensional Array
Object Oriented Programming
Other .NET Languages
TreeView in WPF
While Loop
Windows Phone articles
Windows Phone tutorials
SPONSORED BY
DynamicPDF ReportWriter Suite
PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
My Facebook Friends
WHITEPAPERS AND BOOKS
Interview Questions on SharePoint 2013
SharePoint 2010 Administration & Development
Getting Started with Managed Metadata Service in SharePoint 2010
Windows Phone 7 Hileleri
Windows Phone Development Step by Step Tutorial
Essentials of SharePoint 2010: Business Intelligence Capabilities
Working with Directories in C#
FileInfo in C#
Programming List with C#
Source Code: Graphics Programming with GDI+
View All
Poll
Result
All Polls
What is the best product to build Mobile apps?
What is the best product to build Mobile apps
PhoneGap
Icenium
Xamarin Studio
KendoUI Mobile
JQueryMobile
Native iOS/Android
What is the best product to build Mobile apps
Options
Votes
%
PhoneGap
2
2.56
Icenium
0
0.00
Xamarin Studio
1
1.28
KendoUI Mobile
2
2.56
JQueryMobile
63
80.77
Native iOS/Android
10
12.82
Total
78
100%