Example #1
0
 // Token: 0x0600787B RID: 30843 RVA: 0x002250E8 File Offset: 0x002232E8
 internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, Key key, ModifierKeys modifierKeys, ExecutedRoutedEventHandler executedRoutedEventHandler, CanExecuteRoutedEventHandler canExecuteRoutedEventHandler)
 {
     CommandHelpers.PrivateRegisterCommandHandler(controlType, command, executedRoutedEventHandler, canExecuteRoutedEventHandler, new InputGesture[]
     {
         new KeyGesture(key, modifierKeys)
     });
 }
Example #2
0
 // Token: 0x06007877 RID: 30839 RVA: 0x00225075 File Offset: 0x00223275
 internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, InputGesture inputGesture)
 {
     CommandHelpers.PrivateRegisterCommandHandler(controlType, command, executedRoutedEventHandler, canExecuteRoutedEventHandler, new InputGesture[]
     {
         inputGesture
     });
 }
Example #3
0
 // Token: 0x06007874 RID: 30836 RVA: 0x00225035 File Offset: 0x00223235
 internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, Key key)
 {
     CommandHelpers.PrivateRegisterCommandHandler(controlType, command, executedRoutedEventHandler, null, new InputGesture[]
     {
         new KeyGesture(key)
     });
 }
Example #4
0
 // Token: 0x0600787D RID: 30845 RVA: 0x00225144 File Offset: 0x00223344
 internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, CanExecuteRoutedEventHandler canExecuteRoutedEventHandler, string srid1, string srid2)
 {
     CommandHelpers.PrivateRegisterCommandHandler(controlType, command, executedRoutedEventHandler, canExecuteRoutedEventHandler, new InputGesture[]
     {
         KeyGesture.CreateFromResourceStrings(SR.Get(srid1), SR.Get(srid2))
     });
 }
Example #5
0
 // Token: 0x06007876 RID: 30838 RVA: 0x00225069 File Offset: 0x00223269
 internal static void RegisterCommandHandler(Type controlType, RoutedCommand command, ExecutedRoutedEventHandler executedRoutedEventHandler, CanExecuteRoutedEventHandler canExecuteRoutedEventHandler)
 {
     CommandHelpers.PrivateRegisterCommandHandler(controlType, command, executedRoutedEventHandler, canExecuteRoutedEventHandler, null);
 }