コード例 #1
0
 public static void AddRoutedHandler(this UIElement uie, RoutedEvent routedEvent, Delegate handler)
 {
     uie.AddHandlerInt(routedEvent, handler, false);
 }
コード例 #2
0
 public static void AddRoutedHandler(this UIElement uie, RoutedEvent routedEvent, Delegate handler, bool handledEventsToo)
 {
     uie.AddHandlerInt(routedEvent, handler, true);
 }
コード例 #3
0
 public static void RemoveRoutedHandler(this UIElement uie, RoutedEvent routedEvent, Delegate handler)
 {
     uie.RemoveHandlerInt(routedEvent, handler);
 }
コード例 #4
0
 internal static void AddHandlerInt(this UIElement uie, RoutedEvent routedEvent, Delegate handler, bool handledEventsToo)
 {
     uie.AddHandler(routedEvent, handler, handledEventsToo);
 }
コード例 #5
0
 internal static void RemoveHandlerInt(this UIElement uie, RoutedEvent routedEvent, Delegate handler)
 {
     uie.RemoveHandler(routedEvent, handler);
 }
コード例 #6
0
 internal static void AddHandlerInt(this UIElement uie, RoutedEvent routedEvent, Delegate handler)
 {
     EventManager.AddHandler(uie, routedEvent, handler, false);
 }
コード例 #7
0
 internal static void RemoveHandlerInt(this UIElement uie, RoutedEvent routedEvent, Delegate handler)
 {
     EventManager.RemoveHandler(uie, routedEvent, handler);
 }