Progressbar self-learning notes (1)

Source: Internet
Author: User

1.

<Controls:ProgressOverlay Name="progressOverlay" >   <Controls:ProgressOverlay.Content>      <TextBlock>Loading</TextBlock>   </Controls:ProgressOverlay.Content></Controls:ProgressOverlay>

 

A text progress bar is searched on the Internet, and the code is concise. However, every time we join the project, we find it useless. Why?

Cause: the Coding4Fun is the old DLL and cannot be used in version 1.61. So we need to reference the DLL of the old version;

2.

You can use SystemTray to start with the design interface's XAML deployment case and program release. First<phone:PhoneApplicationPage>Add the following conformances to the parameter:

<Phone: PhoneApplicationpage... xmlns: shell = "clr-namespace: Microsoft. phone. shell; assembly = Microsoft. phone "... shell: SystemTray. backgroundColor = "<Background Color>" shell: SystemTray. foregroundColor = "<foreground colors>" shell: SystemTray. opacity = "<transparency>" shell: SystemTray. isVisible = "<indicates whether an action is triggered>">... </phone: phoneapplicationpage>

These features are used to specify the SystemTray to control some basic sensory elements, but there is still no way to make it a response, you also need to specify ProgressIndicator in the program. The program operation example is as follows:

Using Microsoft. phone. shell ;... // create a ProgressIndicator and set it to SystemTrayProgressIndicator pi = new ProgressIndicator (); pi. text = "Loading... "; pi. isIndeterminate = true; pi. isVisible = true; SystemTray. setProgressIndicator (this, pi );... // enable SystemTray to indicate or hide SystemTray. isVisible = <true | false>;

The effect is as follows (BackgrounColor="Blue" ForegroundColor="White"):

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.