Enables you to detect whether your app is in design mode in a visual designer.
public : static class DesignMode
static struct winrt::Windows::ApplicationModel::DesignMode
public static class DesignMode
Public Shared Class DesignMode
// This class does not provide a public constructor.
Windows 10 (introduced v10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced v1)
Visual designers like Microsoft Visual Studio and Blend for Microsoft Visual Studio 2013 enable you to build UI for UWP app by editing activated instances of your custom types. Design tools create an instance of your app in a special authoring mode, known as design mode. When your app runs in design mode, it can execute special logic that enables coordination with the visual designer.
|DesignMode2Enabled DesignMode2Enabled DesignMode2Enabled DesignMode2Enabled DesignMode2Enabled||
Used to enable or disable user code inside a XAML designer that targets the Windows 10 Fall Creators Update SDK, or later.
|DesignModeEnabled DesignModeEnabled DesignModeEnabled DesignModeEnabled DesignModeEnabled||
Gets a value that indicates whether the process is running in design mode.