【问题标题】:Silverlight PivotViewer Semantic Zoom Two PivotViewerTemplates Displayed SimultaneouslySilverlight PivotViewer 语义缩放同时显示两个 PivotViewer 模板
【发布时间】:2013-01-23 04:10:02
【问题描述】:

我在 Silverlight 5 用户控件中使用 PivotViewer 控件。我定义了两个 PivotViewerTemplates 以利用语义缩放。定义的第一个模板的 MaxWidth 为 300,第二个模板没有设置 MaxWidth。在 PivotViewer 控件中的某个“缩放”处,两个 PivotViewerTemplate 都同时显示(此时两个模板也有些透明)。就好像它在从一个 PivotViewerTemplate 转换到另一个之间卡住了一样。

如何防止两个 PivotViewerTempaltes 同时显示?

【问题讨论】:

    标签: silverlight silverlight-5.0 pivotviewer semantic-zoom


    【解决方案1】:

    您看到的是两个模板之间的过渡效果。在进行大规模过渡时,它会提供平滑的动画。但是,根据您的 MaxWidth 和集合中的项目数量,它可能会有点粘。

    您会发现,如果您使用 MaxWidth,您可以最大限度地减少您收藏的效果。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多