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