WP7 (Windows Phone 7) WrapPanel

by Vahid 23. February 2011 16:16

I cannot believe that I spent half day figuring out how to wrap controls in a stackpanle control in WP7 Sad smile 

but anyway I finally came to know that I should use WrapPanel instead of StackPanel. so please don’t make my mistake and download the Silverlight toolkit for WP7 from here and then make a reference to “Microsoft.Phone.Controls.Toolkit.dll” assembly from this address:

C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v7.0\Toolkit\Nov10\Bin\Microsoft.Phone.Controls.Toolkit.dll

and them import the controls to your page using this command:

xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"

the toolkit has got the following controls which are really savers Winking smile

  • AutoCompleteBox
  • ListPicker
  • LongListSelector
  • Page Transitions
  • GestureService/GestureListener
  • ContextMenu
  • DatePicker
  • TimePicker
  • ToggleSwitch
  • WrapPanel

Tags:

.Net

Comments

4/23/2011 7:36:27 PM #

cheap Calvin Klein Jeans

hallo,you guys. I was introduced by one of my classmats to browse your weblog. I like the design of the website greatly. The article is very awesome. Please keep on the good work. I certainly will check out it oftenly and introduce it to my collegue.

cheap Calvin Klein Jeans United States

4/24/2011 8:55:11 PM #

Cairns

I wrote about a similar topic on my site yesterday. I won't bother giving the site because then I'll look like a spammer

Cairns United States