开发者

Pivot header-like Control?

Is it any separated Control for crea开发者_如何学JAVAte something like Pivot header?

I need horizontal list on top of page, binded to my Collection with same behavior like Pivot header - left-right drags(can be done with GestureListener, i think) and with event for select new item.


You can create a horizontal ListBox using the following XAML:

<ListBox ScrollViewer.HorizontalScrollBarVisibility="Auto">
    <ListBox.ItemsPanel>
        <ItemsPanelTemplate>
            <VirtualizingStackPanel Orientation="Horizontal" />
        </ItemsPanelTemplate>
    </ListBox.ItemsPanel>
    <ListBox.ItemTemplate>
        <DataTemplate>
           <Your control... />
        </DataTemplate>
    </ListBox.ItemTemplate>
</ListBox>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜