Example #1
0
        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);
            });
        }
Example #2
0
 private void RemoteContentsLoader_PartLoaded(object sender, ContentsLoadedEventArgs e)
 {
     OnPartLoaded(e);
 }
Example #3
0
 protected void OnPartLoaded(ContentsLoadedEventArgs e)
 {
     ChunkContentsLoaded?.Invoke(this, e);
 }