DesignerProperties.IsInDesignTool Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a value that indicates whether the element is running in the context of a designer.
Assembly: System.Windows (in System.Windows.dll)
Property Value
Type: System.Booleantrue if the element is running in the context of a designer; otherwise, false.
Show: