2013-12-13 39 views
0

問題是我想處理3個lvl縮放。SemanticZoom處理3個級別

最低水平 - 文章 水平之間 - Mounths 頂級 - 年

在這個例子中我使用了自定義的控制和背景。

頂級 - 是藍色的。 級別 - 紅色。 最低級別的GridView - 充滿了30項自定義控件。

問題是,我有些爲什麼不能滾動我最低級別的GridView。

這是我的XAML:

<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> 

回答

0

爲Windows 8的語義縮放控制被設計成只提供兩個級別。這是基於用戶研究發現,超過兩個層次的用戶感到困惑。請參閱設計指南here。我建議您將語義縮放與頁面導航結合使用。