简体   繁体   中英

Bidirectional Virtualization in the Windows store apps

I have a requirement like to load the data in the Bidirectional Virtualization in my ItemsControl.

VirtualizingStackPanel basically supports either Horizontal or Vertical orientation support. Is there any way to achieve this in Windows Store apps ?

One thing I might try if I really wanted to hack support for what you are saying into the existing controls would be to split your list into two and bind them to two ListViews , then put the ListViews in a StackPanel , the StackPanel into a ScrollViewer and apply some RenderTransforms to the upper ListView and its items to make it scroll up instead of down when you first load it. Oh and make sure to synchronize the sizes of the inner ListViews to the size of the outer ScrollViewer so that when you reach that transition point - the outer ScrollViewer would serve to flip between the visible ListViews .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM