/// <summary> /// Registers a class handler for a routed event. /// </summary> /// <param name="classType">The type of the class that is declaring class handling.</param> /// <param name="routedEvent">A <see cref="RoutedEvent"/> which identifies the event to handle.</param> /// <param name="handler">The delegate that represents the class handler to register.</param> /// <param name="handledEventsToo">A value indicating whether to invoke the handler even if it has already been handled.</param> public static void RegisterClassHandler(Type classType, RoutedEvent routedEvent, Delegate handler, Boolean handledEventsToo) { RoutedEventClassHandlers.RegisterClassHandler(classType, routedEvent, handler, handledEventsToo); }
/// <summary> /// Registers a class handler for a routed event. /// </summary> /// <param name="classType">The type of the class that is declaring class handling.</param> /// <param name="routedEvent">A <see cref="RoutedEvent"/> which identifies the event to handle.</param> /// <param name="handler">The delegate that represents the class handler to register.</param> public static void RegisterClassHandler(Type classType, RoutedEvent routedEvent, Delegate handler) { RoutedEventClassHandlers.RegisterClassHandler(classType, routedEvent, handler); }