Learn about Windows Phone7 Development (18. Windows Phone7 Toolkit)

Source: Internet
Author: User
Tags header silverlight

Before the Silverlight toolkit in the application of Windows Phone7, that should be considered a cottage version of it, because after all, not for Windows phone7 specially developed, in the use of compatibility problems, now it is not the same, the genuine came out, Make up for the deficiencies of the original control. But it's still a lot less than Silverlight toolkit.

In the Toolkit for Windows Phone7, the ContextMenu, Separator, DatePicker, Timepicker, Toggleswitch, WrapPanel controls are mainly included, unfortunately not Busyindicator and data graph control, do not know whether there will be an upgrade later to add these controls.

In addition, there are bloggers who want me to put out the examples that are written on the blog, now that I've sorted it out, I've put these examples on my own web site for example downloads from www.daisy123.com, you can download them, and in the case of questions and answers, you can discuss related technical issues. Here I will communicate the problem in time. We can also join our group in the website about us.

ContextMenu

Now finally can be long press the pop-up menu! This control is somewhat different from Silverlight, and there is no icon on Windows Phone7.

<toolkit:ContextMenuService.ContextMenu>

<toolkit:ContextMenu Height="400" HorizontalAlignment="Left" Margin="123,168,0,0" Name="contextMenu1" VerticalAlignment="Top" Width="200" BorderBrush="Red" BorderThickness="5">

<toolkit:MenuItem Header="Test1"   Click="MenuItem_Click"/>

<toolkit:MenuItem Header="Test2" Click="MenuItem_Click"/>

<toolkit:Separator/>//分隔符控件

<toolkit:MenuItem Header="Test3" Click="MenuItem_Click"/>

</toolkit:ContextMenu>

</toolkit:ContextMenuService.ContextMenu>

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.