如何让滚动查看器包含两个屏幕大小的网格?
我想到的一件事是将网格大小设置为程序化的屏幕尺寸,但我认为MS有更好的解决方案。
我提出的分组:
<SematicZoom.ZoomedIn>
<ScrollViewer //Horizontal>
<StackPanel //Orientation is Horizontal>
<Grid Height = "{Binding ScreenHeight}" Width = "{Binding ScreenWidth}">
//Content
</Grid>
<Grid Height = "{Binding ScreenHeight}" Width = "{Binding ScreenWidth}">
//Content
</Grid>
</StackPanel>
</ScrollViewer>
</SematicZoom.ZoomedIn>