本文介绍了SemanticZoom可以默认显示ZoomedOutView吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
SemanticZoom控件默认显示 ZoomedInView,现在我想先显示ZoomedOutView,我试过这段代码:
The SemanticZoom control is show the ZoomedInView by default , now I want to show the ZoomedOutView first, I had tried this code:
void Page_Loaded(object sender, RoutedEventArgs e)
{
if (semanticZoom.IsZoomedInViewActive)
{
semanticZoom.ToggleActiveView();
}
}
我的预期结果是
实际结果是:
now semanticZoom将显示 ZoomedOutView,但ZoomedOutView将被拉伸。
now semanticZoom will show the ZoomedOutView, but the ZoomedOutView will be stretched.
推荐答案
这篇关于SemanticZoom可以默认显示ZoomedOutView吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!