DesignMode.DesignModeEnabled | designModeEnabled property
Gets a value that indicates whether the process is running in design mode.
Syntax
var designModeEnabled = Windows.ApplicationModel.DesignMode.designModeEnabled;
Property value
Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]
True if the process is running in design mode; otherwise false.
Remarks
Use the DesignModeEnabled property when your custom types require special logic when running in a visual designer. For example, a Windows Library for JavaScript control can query the DesignModeEnabled property to determine whether to display placeholder data instead of live data from a web service.
Your in-process custom types can check the design mode setting of the current process. Also, internal custom types that are activated in another process can check whether their caller is in design mode.
Note The DesignModeEnabled property is available only in the presence of a developer certificate.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 2/25/2013
