Sticky title in ListView and GridView WinRT xaml

How can I perform a behavior in which the title of the ListView or GridView group will not scroll with the content, but remains fixed until the content ends, and then the next title lights up.

Behavior can be seen in the Finance app in the Windows 8 Release Preview when you view GridView items.

I do not expect all the code, but I would like to hear some ideas, links, code snippets, samples, etc. that will help me get started.

thank

+5
source share
2 answers

, listview datatemplate . gridview gridviewcolumns .

+3

ListView ScrollViewer. SrollViewer ListView , ScrollViewer, TopHeader.

<ScrollViewer>
    <ScrollViewer.TopHeader>
        ... Your header content here ...
    </ScrollViewer.TopHeader>
    <ListView HorizontalAlignment="Left" VerticalAlignment="Top">
        ... Your body content here ...
    </ListView>
</ScrollViewer>
0

All Articles