DesignerProperties Class
TOC
Collapse the table of content
Expand the table of content

DesignerProperties Class

 

Provides attached properties used to communicate with a designer.

Namespace:   System.ComponentModel
Assembly:  PresentationFramework (in PresentationFramework.dll)

System.Object
  System.ComponentModel.DesignerProperties

public static class DesignerProperties

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticIsInDesignMode

Gets or sets whether a DependencyObject is running in the context of a designer.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetIsInDesignMode(DependencyObject)

Gets the value of the IsInDesignMode attached property for the specified UIElement.

System_CAPS_pubmethodSystem_CAPS_staticSetIsInDesignMode(DependencyObject, Boolean)

Sets the value of the IsInDesignMode attached property to a specified element.

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticIsInDesignModeProperty

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.

.NET Framework
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.

Return to top
Show:
© 2016 Microsoft