public static void AddMotionTrackingUpdatedHandlerHandledEventsToo(DependencyObject d, MotionTrackingEventHandler handler, bool handledEventsToo) { UIElement element = d as UIElement; if (element != null) { element.AddHandler(MotionTrackingUpdatedEvent, handler, handledEventsToo); } }
public static void RemoveMotionTrackingLostHandler(DependencyObject d, MotionTrackingEventHandler handler) { UIElement element = d as UIElement; if (element != null) { element.RemoveHandler(MotionTrackingLostEvent, handler); } }
public static void AddMotionTrackingUpdatedHandler(DependencyObject d, MotionTrackingEventHandler handler) { AddMotionTrackingUpdatedHandlerHandledEventsToo(d, handler, false); }