private static void OnLineExtentsOverrideChanged(DependencyObject o, DependencyPropertyChangedEventArgs e) { ((CustomTrackerControl)o).UpdatePositionAndLineExtents(); }