private void LoadArticle() { var action = Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => { ContentCollection.BeginLoad(LiPTT.CurrentArticle); ArticleHeader.DataContext = LiPTT.CurrentArticle; SplitViewPaneContent.DataContext = LiPTT.CurrentArticle; ControlVisible = true; }); }
private void InitBoard(PTTClient sender, LiPttEventArgs e) { if (e.State == PttState.Board) { LiPTT.PttEventEchoed -= InitBoard; var action = Dispatcher.RunAsync(CoreDispatcherPriority.Normal, () => { ContentCollection.BeginLoad(); }); } }