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 ...
Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.