Bläddra i källkod

其他-补充页面编辑快捷键

ZhouJieSheng 2 år sedan
förälder
incheckning
4513aebebe
1 ändrade filer med 17 tillägg och 0 borttagningar
  1. 17 0
      PDF Office/Views/PageEdit/PageEditContent.xaml

+ 17 - 0
PDF Office/Views/PageEdit/PageEditContent.xaml

@@ -139,6 +139,23 @@
         </ResourceDictionary>
     </UserControl.Resources>
 
+    <UserControl.InputBindings>
+        <KeyBinding Command="{Binding CopyCommand}" Gesture="Ctrl+C" />
+        <KeyBinding Command="{Binding PasteCommand}" Gesture="Ctrl+V" />
+        <KeyBinding Command="{Binding CutCommand}" Gesture="Ctrl+X" />
+        <KeyBinding Command="{Binding RightRotateCommand}" Gesture="Ctrl+R" />
+        <KeyBinding Command="{Binding LeftRotateCommand}" Gesture="Ctrl+L" />
+        <KeyBinding Command="{Binding DeleteCommand}" Gesture="Delete" />
+        <KeyBinding
+            Key="Add"
+            Command="{Binding ZoomInCommand}"
+            Modifiers="Ctrl" />
+        <KeyBinding
+            Key="Subtract"
+            Command="{Binding ZoomOutCommand}"
+            Modifiers="Ctrl" />
+    </UserControl.InputBindings>
+
     <Border BorderBrush="#F2F2F2" BorderThickness="0,1,0,0">
         <Grid
             DragLeave="Grid_DragLeave"