DesignerProperties Class
Provides attached properties used to communicate with a designer.
Assembly: PresentationFramework (in PresentationFramework.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | IsInDesignMode | Gets or sets whether a DependencyObject is running in the context of a designer. |
| Name | Description | |
|---|---|---|
![]() ![]() | GetIsInDesignMode(DependencyObject^) | Gets the value of the IsInDesignMode attached property for the specified UIElement. |
![]() ![]() | SetIsInDesignMode(DependencyObject^, Boolean) | Sets the value of the IsInDesignMode attached property to a specified element. |
| Name | Description | |
|---|---|---|
![]() ![]() | IsInDesignModeProperty | Identifies the IsInDesignMode attached property. |
The DesignerProperties class provides attached properties that can be used to query the state of a control when it is running in a designer. Designer tools will set values for properties on objects that are running in the designer.
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



