diff --git a/Xamarin.Forms.Core/DesignMode.cs b/Xamarin.Forms.Core/DesignMode.cs new file mode 100644 index 00000000000..256bf7e3cf4 --- /dev/null +++ b/Xamarin.Forms.Core/DesignMode.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Xamarin.Forms.Core +{ + public static class DesignMode + { + /// + /// Enables you to detect whether your app is running in a visual designer or previewer. + /// Applications should not set this property. Instead, this is used by tools that will run an + /// application in a visual designer or previewer. + /// + /// + /// A public setter to allow for third-party tools to enable this. + /// + public static bool DesignModeEnabled { get; set; } + } +}