The latest development tool library for Windows Phone 7

Source: Internet
Author: User

Shawn wildermuth released a new WP7 tool Library Project on codeplex, including WP7 controls, conversion classes, and help classes.

Project address: http://phoney.codeplex.com/

This is the project solution and contains the sample file.

If you have not installed the Silverlight toolkit, run it directly.ProgramThe following error will be reported:Because the testing library of Silverlight is not installed when dev10 is installed by default.

Project Description

This project contains some classes and controls for Windows Phone 7 applications, as shown below:

Standard converter, some controls, phone logs, fade-in and fade-out messages, bitlyhelper, and Twitter help

Instance

Bitlyhelper class

A class that shortens the URI by setting key-value pairs of its own keywords/usernames

Usage:

Bitlyhelper. Setcredentials ("Mybitlyapikey","Mybitlyusername");
Bitlyhelper. Shorten (Http://phoney.codeplex.com", (Result, error) =>
{
If(Error! =Null)
{
MessageBox. Show (String. Concat ("Error shortening URL :", Error. Message ));
}
Else
{
MessageBox. Show (result, 3000 );
}
});

Fadingmessage class

Create a prompt message that is displayed as follows:

Fadingmessage. Showtextmessage ("Saved ...");

Of course, you can also customize the message style:

 
FadingmessageMSG =NewFadingmessage()
{
Messagetoshow = themessage,
Verticalalignment =Verticalalignment. Top,
Horizontalalignment =Horizontalalignment. Right
};
MSG. Show (3000 );// 3 seconds

Phone log

This class is used to help you record simple logs in phone. The usage is as follows:

Phonelogger. Logerror ("Test logging message");

VaR log =Phonelogger. Logcontents;

This project also contains color, brush, font and other resources.

Project source file: http://phoney.codeplex.com/

Source files that can be directly run are provided here:

Related Article

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.