/// <summary> /// Removes a handler for the <see cref="NewContactEvent"/> attached event. /// </summary> /// <param name="element"><see cref="UIElement"/> or <see cref="ContentElement"/> that listens to this event.</param> /// <param name="handler">The handler.</param> public static void RemoveNewContactHandler(DependencyObject element, NewContactEventHandler handler) { removeHandlerMethod.Invoke(element, NewContactEvent, handler); }
/// <summary> /// Adds a handler for the <see cref="NewContactEvent"/> attached event. /// </summary> /// <param name="element"><see cref="UIElement"/> or <see cref="ContentElement"/> that listens to this event.</param> /// <param name="handler">The handler.</param> public static void AddNewContactHandler(DependencyObject element, NewContactEventHandler handler) { addHandlerMethod.Invoke(element, NewContactEvent, handler); }