DesignerProperties::GetIsInDesignMode Method (DependencyObject^)
.NET Framework (current version)
Gets the value of the IsInDesignMode attached property for the specified UIElement.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- element
-
Type:
System.Windows::DependencyObject^
The element from which the property value is read.
| 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: