Breyta

Deila með


DesignerProperties Class

Definition

Provides attached properties used to communicate with a designer.

public ref class DesignerProperties abstract sealed
public static class DesignerProperties
type DesignerProperties = class
Public Class DesignerProperties
Inheritance
DesignerProperties

Remarks

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.

Fields

IsInDesignModeProperty

Identifies the IsInDesignMode attached property.

Attached Properties

IsInDesignMode

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

Methods

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.

Applies to