public HotPage() { this.InitializeComponent(); this.Loaded += HotPage_Loaded; hotVM = new HotVM(); toView = new ToView(); }
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; } }