public static double GetDistance( DependencyObject obj )
https://raw.githubusercontent.com/Capgemini/Cauldron/master/LICENSE