private async void Operator_ChunkContentsLoaded(object sender, ContentsLoadedEventArgs e) { if (InnerState == ViewerState.OutOfPage) { return; } await Dispatcher.RunAsync(CoreDispatcherPriority.High, () => { DebugUtil.Log(() => "Adding " + e.Contents.Count + " contents to RemoteGrid"); AddContentsToCollection(e.Contents); }); }
private void RemoteContentsLoader_PartLoaded(object sender, ContentsLoadedEventArgs e) { OnPartLoaded(e); }
protected void OnPartLoaded(ContentsLoadedEventArgs e) { ChunkContentsLoaded?.Invoke(this, e); }