Beispiel #1
0
 public HotPage()
 {
     this.InitializeComponent();
     this.Loaded += HotPage_Loaded;
     hotVM        = new HotVM();
     toView       = new ToView();
 }
Beispiel #2
0
 public HotPage()
 {
     this.InitializeComponent();
     hotVM            = new HotVM();
     this.DataContext = hotVM;
     if (SettingHelper.GetValue <bool>(SettingHelper.UI.CACHE_HOME, true))
     {
         this.NavigationCacheMode = NavigationCacheMode.Enabled;
     }
     else
     {
         this.NavigationCacheMode = NavigationCacheMode.Disabled;
     }
 }