瀏覽代碼

ComPDFKit.Tool(win)-滑动条更改事件

liyijie 3 月之前
父節點
當前提交
933b1ae813
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Demo/Examples/ComPDFKit.Tool/CPDFViewerTool.xaml

+ 1 - 1
Demo/Examples/ComPDFKit.Tool/CPDFViewerTool.xaml

@@ -12,7 +12,7 @@
              >
     <ScrollViewer Focusable="False" CanContentScroll="True"
                   HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"
-                  MouseUp="ScrollViewer_MouseUp" MouseDown="ScrollViewer_MouseDown">
+                  MouseUp="ScrollViewer_MouseUp" MouseDown="ScrollViewer_MouseDown" ScrollChanged="ScrollViewer_ScrollChanged">
         <compdfkitviewer:CPDFViewer x:Name="PDFViewer"></compdfkitviewer:CPDFViewer>
     </ScrollViewer>
 </UserControl>