public RecommendPage() { this.InitializeComponent(); this.Loaded += RecommendPage_Loaded; recommendVM = new RecommendVM(); toView = new ToView(); }
public RecommendPage() { this.InitializeComponent(); if (SettingHelper.GetValue <bool>(SettingHelper.UI.CACHE_HOME, true)) { this.NavigationCacheMode = NavigationCacheMode.Enabled; } else { this.NavigationCacheMode = NavigationCacheMode.Disabled; } recommendVM = new RecommendVM(); this.DataContext = recommendVM; }