Changed ValueChanged event handler type from RoutedEventHandler to RoutedPropertyChangedEventHandler<double?>