Where is ProgressRing Control? - c#

I am trying to write a Windows Phone 8 SDK-based application. I keep seeing mention of a ProgressRing control but I don't see it in the Toolbox or in the xaml designer.
How do I use this?

ProgressRing is part of the Win8 UI controls, not WP8. In WP8 you should use SystemTray.ProgressIndicator instead which is part of the windows phone UI shell. See here and here for samples.

See below blog link for simple copy&paste code to exactly replicate the Windows ProgressRing (uses the actual style code). Works perfectly, just added it to my WP8 project:
http://briandunnington.github.io/progressring-wp8.html
There is more info about adapting it to WP8 in the answer to this question:
How to Use ProgressRing in Windows Phone 8
Download this app for your phone to see it in action.

ProgressRing is not available for Windows Phone 7 or 8, you have to use ProgressBar or rather the PerformanceProgressBar:
http://www.windowsphonegeek.com/articles/WP7-PerformanceProgressBar-in-depth

Related

What is the alternative of Pivot Control in Windows 8.1?

I am migrating my Windows Phone 8 app to Windows Universal Apps. I am currently working on Windows 8.1 project.In my Windows Phone 8 app , I used Pivot Control to show multiple pages and for each App bar was different and in that when I used to slide the other view was visible. I showed different listbox on each page and the values comes from database. I want to do the same for Windows 8.1 but I found that there is not a Pivot Control in Windows 8.1. Can anyone suggest me any control using which I can do that. If possible explain me with some code.
Please help.
See XAML controls comparison between Windows Phone 8 and Windows 8 on MSDN.
Not all controls are available for both Windows and Windows Phone. Specifically, there is no direct analogue to the Pivot on Windows 8.1. You will need to either redesign your UI to use a different control or write your own (or find a 3rd party control) Pivot control.
Two likely options are a FlipView or a Hub Control, but the specifics will really depend on the details of your app.

textbox under commandbar of windows phone 8.1

Is it possible to add/include a textbox under commandbar of windows phone 8.1 app as present in Internet Explorer 10..
This is not possible, you can only use AppBarButton and AppBarToggleButton.
Apps like IE and the app store where you can see rectangular buttons in the command bar, are special apps in which Microsoft can do whathever they want.
But you could try to implement your own custom CommandBar that immitates the system command bar, but this seems like too much work and error prone.
Yolo
This project aims to create useful controls for WinRT (Windows Phone, Windows 8.1, and later XBOX One). The first one is a customizable AppBar control, which is in a early stage of development.
You can use this app bar to suit your requirements.

How to Draw chart in windows phone 8 or 8.1 without using external library?

How can I can draw a simple chart in Windows Phone 8 or 8.1 without using an external library, I want to use C# + XAML code only.
I searched for a free library to do that on Windows Phone 8.1 (universal app) but I couldn't find any. All libraries I've found supported Windows Phone 8 or 7, not Windows Phone 8.1.
I made in answer in this similar question How to do Chart on Windows Phone Universal App
It might be able to help you. Telerik has an API that costs money and Google have a free one where you can get Charts through http requests. Check my reply - you might wanna use one of these. My answer is not about drawing it through XAML / C# which can be quite comprehensive.
To Draw it yourself through code you probably wanna create a Custom Control. Here is a few links to get you started:
http://code.msdn.microsoft.com/windowsapps/WPF-Line-Graph-Basics-033dd90e
http://msdn.microsoft.com/en-us/magazine/ee291567.aspx
Using the default tools is very hard, you can use telerik controls, though

UI controls difference between WP8 and WP7

I have worked on WP7 app development(C# and XAML). I need to work on a windows phone 8 app development. I googled on what are all the API difference between WP7 and WP8 SDKs, especially I want to know whether there are any changes in UI controls available in WP7 SDK. I have not found any luck. Please point me to the right place where I can get the proper info.
Read What's new in Windows Phone SDK 8.0 - it give you all, what you need.
Exactly for controls:
Windows Phone 8 features the following new controls:
Windows Phone 8 includes a LongListSelector control that you can use to group, display, and scroll through long lists of data. It also
provides a mechanism for users to jump to a specific section of a
list.
In Windows Phone 8, Pivot and Panorama controls have been removed from the SDK and are now located in the phone’s read-only memory
(ROM). This way your app can use a separate native input thread, which
means a significant increase in the input responsiveness of these
controls. The working set memory of the Panorama control also has been
reduced.
The WebBrowser control is now based on Internet Explorer 10, which offers HTML5 and expanded CSS support for richer in-browser
experiences.
The performance of the ProgressBar control has been improved. You should use this control to report value-based or indeterminate
progress.
I hope my answer will be helpful.
there is lost of API changes instead of UI,
You can refer the below mentioned URL for the same.
Download pdf poster Windows Phone API Quick Start
Hope it helps

Launching the Windows Store listing from Win RT / Windows 8 app

On Windows Phone there's a marketplace review task.
Is there any way to implement the equivalent functionality in WinRT apps?
I realize that there's the "rate and review" button in the Charms bar, however, this is not what I need, as I want to integrate a button inside the app to launch the review UI.
It may seem trivial, however, this is one of the most important requirements!
This is not a duplicate of is there an equivalent of wp7's marketplacereviewtask for windows 8 / winrt / metro style? because the questioner was happy with the Charms bar method.
thanks
This can be done in C# this way:
Windows.System.Launcher.LaunchUriAsync(new Uri("ms-windows-store:REVIEW?PFN=PACKAGENAME"));
Where Package Name is to be replaced with yours, which can be found in Package.appxmanifest under the packaging tab.

Categories