Estoy usando listbox y wrappanel para mostrar datos.Cómo envolver ItemsPanel en LongListSelector?
Por ejemplo:
<ListBox ItemTemplate="{StaticResource ItemTemplateListBoxAnimation}">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<toolkit:WrapPanel ItemHeight="150" ItemWidth="150">
</toolkit:WrapPanel>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
<DataTemplate x:Key="ItemTemplateListBoxAnimation">
<Grid Width="130" Height="130">
<Image Source="{Binding Image}"/>
</Grid>
</DataTemplate>
ella es mirada como:
Ahora necesito utilizar LongListSelector y el resultado de agrupación:
<toolkit:LongListSelector ItemTemplate="{StaticResource ItemTemplateListBoxAnimation}">
<toolkit:LongListSelector.GroupItemsPanel>
<ItemsPanelTemplate>
<toolkit:WrapPanel/>
</ItemsPanelTemplate>
</toolkit:LongListSelector.GroupItemsPanel>
</toolkit:LongListSelector>
Pero se ve como:
Necesito llegar:
Sus suposiciones? Gracias
Excelente respuesta! Aunque es un poco raro para mí, me quedaré con ListBox por ahora. – MEMark