Windows phone 7 轴心式头球控制?
是否有用于创建类似Pivot header的单独控件Windows phone 7 轴心式头球控制?,windows-phone-7,pivot,Windows Phone 7,Pivot,是否有用于创建类似Pivot header的单独控件 我需要页面顶部的水平列表,绑定到我的集合中,具有与Pivot header相同的行为-左右拖动(我认为可以使用GestureListener完成)和用于选择新项目的事件。您可以使用以下XAML创建水平列表框: <ListBox ScrollViewer.HorizontalScrollBarVisibility="Auto"> <ListBox.ItemsPanel> <ItemsPane
我需要页面顶部的水平列表,绑定到我的集合中,具有与Pivot header相同的行为-左右拖动(我认为可以使用GestureListener完成)和用于选择新项目的事件。您可以使用以下XAML创建水平
列表框
:
<ListBox ScrollViewer.HorizontalScrollBarVisibility="Auto">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel Orientation="Horizontal" />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
<ListBox.ItemTemplate>
<DataTemplate>
<Your control... />
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>