DesignerProperties::SetIsInDesignMode Method (DependencyObject^, Boolean)
.NET Framework (current version)
Sets the value of the IsInDesignMode attached property to a specified element.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- element
-
Type:
System.Windows::DependencyObject^
The element to which the attached property is written.
- value
-
Type:
System::Boolean
The needed Boolean value.
| Exception | Condition |
|---|---|
| InvalidOperationException | element is null. |
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: