Upgrade of Silverlight for Windows Phone Toolkit

Source: Internet
Author: User
Tags silverlight

After PDC 10, many developers moved their eyes to the mobile application development platform. Windows Phone 7 is one of the mobile application platforms and the latest mobile platform operating system launched by Microsoft. As the core development technology of Windows Phone 7, Silverlight once again demonstrates its powerful functions and advantages. To facilitate Windows Phone 7 developers to create applications, the Microsoft Silverlight team has released a set of Silverlight for Windows Phone Toolkit development controls. Currently, more than 10 independent controls are included for the Windows Phone development platform. November 3, Silverlight
For Windows Phone Toolkit development control package upgrade, four new Windows Phone controls are introduced:

  • AutoCompleteBox
  • ListPicker
  • LongListSelector
  • Page Transitions

 

AutoCompleteBoxThis control is no stranger to everyone. It is often used on Google and Baidu search engine platforms. It can automatically search for relevant characters and associate the input text.

 

 

<Toolkit: AutoCompleteBox ItemsSource = "{StaticResource words}"/>

 

ListPickerThe control is similar to the ComboBox control. When a user selects the control, a list of options is displayed, from which the user can select the required options.

 

 

<Toolkit: ListPicker Header = "background"> <br/> <sys: String> Option 1 </sys: String> <br/> <sys: string> Option 2 </sys: String> <br/> <sys: String> Option 3 </sys: String> <br/> </toolkit: ListPicker>

LongListSelectorThis control is an extension of the ListBox control. Based on the original ListBox, some special functions are added, such as parallel list and grouping list.

 

 

 

<Toolkit: longListSelector <br/> ItemsSource = "{StaticResource movies}" <br/> ListHeaderTemplate = "{StaticResource movieListHeader}" <br/> GroupHeaderTemplate = "{StaticResource identifier}" <br/> GroupFooterTemplate = "{StaticResource movieGroupFooter}" <br/> GroupItemTemplate = "{StaticResource groupItemHeader}" <br/> ItemTemplate = "{StaticResource movieItemTemplate}"> <br/> </ toolkit: longListSelector>

Page TransitionsTo provide page animation switching effect.

 

RootFrame = new TransitionFrame ();

 

<Toolkit: TransitionService. navigationInTransition> <br/> <toolkit: NavigationInTransition. backward> <br/> <toolkit: TurnstileTransition Mode = "BackwardIn"/> <br/> </toolkit: NavigationInTransition. backward> <br/> <toolkit: NavigationInTransition. forward> <br/> <toolkit: TurnstileTransition Mode = "ForwardIn"/> <br/> </toolkit: NavigationInTransition. forward> <br/> </toolkit: NavigationInTransition> <br/> </toolkit: TransitionService. navigationInTransition> <br/> <toolkit: TransitionService. navigationOutTransition> <br/> <toolkit: NavigationOutTransition. backward> <br/> <toolkit: TurnstileTransition Mode = "BackwardOut"/> <br/> </toolkit: NavigationOutTransition. backward> <br/> <toolkit: NavigationOutTransition. forward> <br/> <toolkit: TurnstileTransition Mode = "ForwardOut"/> <br/> </toolkit: NavigationOutTransition. forward> <br/> </toolkit: NavigationOutTransition> <br/> </toolkit: TransitionService. navigationOutTransition> <br/>
 

 

In addition to the above four new controls, the current Silverlight for Windows Phone Toolkit also includes the following controls:

  • GestureService/GestureListener
  • ContextMenu
  • DatePicker
  • TimePicker
  • ToggleSwitch
  • WrapPanel

Silverlight for Windows Phone Toolkit is an open-source project. You can download the project source code and routine code on the project official website for reference.

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.