0

问题是我想处理 3 级缩放。

最低级别 - 级别之间的文章 - 最高级别 - 年

对于这个例子,我使用了自定义控件和背景。

顶级 - 是蓝色的。之间的水平 - 是红色的。最低级别的 GridView - 填充了 30 项自定义控件。

问题是我为什么不能滚动我的最低级别的GridView。

这是我的xml:

<SemanticZoom Grid.Row="1">
            <SemanticZoom.ZoomedInView>
                <GridView>
                    <SemanticZoom Grid.Row="1">
                        <SemanticZoom.ZoomedInView>
                            <GridView x:Name="NewsListBox">
                                <GridView.Background>
                                    <SolidColorBrush Color="#FF006C67" Opacity="0.5"/>
                                </GridView.Background>
                                <GridView.ItemsPanel>
                                    <ItemsPanelTemplate>
                                        <WrapGrid ItemHeight="200" MaximumRowsOrColumns="5" VerticalChildrenAlignment="Center" />
                                    </ItemsPanelTemplate>
                                </GridView.ItemsPanel>
                            </GridView>
                        </SemanticZoom.ZoomedInView>
                        <SemanticZoom.ZoomedOutView>
                            <GridView Background="Red"/>
                        </SemanticZoom.ZoomedOutView>
                    </SemanticZoom>
                </GridView>
            </SemanticZoom.ZoomedInView>
            <SemanticZoom.ZoomedOutView>
                <GridView Background="Blue"/>
            </SemanticZoom.ZoomedOutView>
        </SemanticZoom>
4

1 回答 1

0

Windows 8 的语义缩放控件设计为仅提供两个级别。这是基于用户研究发现超过两个级别混淆用户。请参阅此处的设计指南。我建议您将语义缩放与页面导航结合使用。

于 2013-12-13T18:48:31.490 回答