Is there a way to check if WPF is currently executing in design mode or not? Is there a way to check if WPF is currently executing in design mode or not? wpf wpf