|
using System.ComponentModel;
using System.Windows;
namespace OgreLib
{
//taken from (Alex Sarafian) http://sarafianalex.wordpress.com/2008/06/14/in-design-mode/
//
public static class Designer
{
private static readonly DependencyObject _dummy = new DependencyObject();
public static bool InDesignMode
{
get { return DesignerProperties.GetIsInDesignMode(_dummy); }
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.