DesignerProperties Class
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Provides attached properties that can be used to communicate with a designer.
Assembly: System.Windows (in System.Windows.dll)
The DesignerProperties type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | IsInDesignTool | Gets a value that indicates whether the element is running in the context of a designer. |
![]() ![]() | RefreshOnlyXmlnsDefinitionsOnAssemblyReplace | Gets or sets a value that indicates whether all the metadata associated with an assembly or just the xmlns namespace definitions should be refreshed in the designer when an assembly is recompiled. |
| Name | Description | |
|---|---|---|
![]() | IsInDesignMode | Gets or sets whether a DependencyObject is running in the context of a designer. |
| Name | Description | |
|---|---|---|
![]() ![]() | GetIsInDesignMode | Gets the value of the IsInDesignMode attached property for the specified UIElement. |
![]() ![]() | SetIsInDesignMode | Sets the value of the IsInDesignMode attached property to a specified element. |
Show:



