可用于自身或导航至 Frame 内部的空白页。
Inheritance: Windows.UI.Xaml.Controls.Page
Ejemplo n.º 1
0
 public FirstPage()
 {
     this.InitializeComponent();
     this.NavigationCacheMode = NavigationCacheMode.Enabled;
     this.DataContext         = viewmodel;
     firstpage                   = this;
     go_back_sb.Completed       += Go_back_sb_Completed;
     this.SizeChanged           += FirstPage_SizeChanged;
     Window.Current.SizeChanged += Current_SizeChanged;
     second_frame.Navigated     += Second_frame_Navigated;
 }
 public FirstPage()
 {
     this.InitializeComponent();
     this.NavigationCacheMode = NavigationCacheMode.Enabled;
     this.DataContext = viewmodel;
     firstpage = this;
     go_back_sb.Completed += Go_back_sb_Completed;
     this.SizeChanged += FirstPage_SizeChanged;
     Window.Current.SizeChanged += Current_SizeChanged;
     second_frame.Navigated += Second_frame_Navigated;
 }