2014-09-03 37 views
2

當在windows phone 8.1應用程序中加載新頁面時,如何禁用頁面加載動畫(種類轉向樣式)?我厭倦了在網上搜索,但我找不到任何有用的東西。如何在WP 8.1中加載時禁用頁面動畫?

+1

也許[這個答案](http://stackoverflow.com/a/24160696/2681948)會有所幫助。 – Romasz 2014-09-03 07:12:23

+0

轉到app.xaml.cs並刪除ContentTransitions – MatDev8 2014-09-04 14:14:49

回答

1

得到的答案

public MyPage() 
{ 
    this.InitializeComponent(); 
    Frame myFrame =(Frame)Window.Current.Content; 
    myFrame.ContentTransitions = null; 
} 
相關問題