Enables you to detect whether your app is in design mode in a visual designer.
Syntax
var designMode = Windows.ApplicationModel.DesignMode;
Attributes
- MarshalingBehaviorAttribute(Agile)
- StaticAttribute(Windows.ApplicationModel.IDesignModeStatics, NTDDI_WIN8)
- ThreadingAttribute(Both)
- VersionAttribute(NTDDI_WIN8)
Members
The DesignMode class has these types of members:
Methods
The DesignMode class inherits methods from the Object class (C#/VB/C++).
Properties
The DesignMode class has these properties.
| Property | Access type | Description |
|---|---|---|
| Read-only | Gets a value that indicates whether the process is running in design mode. |
Remarks
Visual designers like Microsoft Visual Studio and Blend for Microsoft Visual Studio 2012 for Windows 8 enable you to build UI for Windows Store apps 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.
Requirements
|
Minimum supported client | Windows 8 [Windows Store apps only] |
|---|---|
|
Minimum supported server | Windows Server 2012 [Windows Store apps only] |
|
Namespace |
|
|
Metadata |
|
Build date: 2/25/2013