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
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 
- AutoCompleteBox
- ListPicker
- LongListSelector
- Page Transitions
- GestureService/GestureListener
- ContextMenu
- DatePicker
- TimePicker
- ToggleSwitch
- WrapPanel
6b7ba5ed-c0dd-4ab7-aafd-bef8f9494feb|0|.0
Tags:
.Net