O'Reilly logo

Windows® Phone 8 Unleashed by Daniel Vaughan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sample Overview

The WrapPanel sample is located within the ControlExamples/WindowsPhoneToolkit/WrapPanel directory in the WPUnleashed.Examples project in the downloadable sample code.

The WrapPanelView.xaml presents two WrapPanels, one with the default horizontal orientation, the other with a vertical orientation. Each WrapPanel contains five TextBox child elements, as shown in the following excerpt:

<StackPanel x:Name="ContentPanel" Grid.Row="1">    <TextBlock Text="horizontal wrap panel"        Style="{StaticResource LabelTextIndentedStyle}" />    <toolkit:WrapPanel ItemHeight="120" ItemWidth="120" Height="280"            Background="DimGray">        <TextBox Text="1" Background="Blue"            Style="{StaticResource ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required