DependencyObject.DesignMode Property


Gets the value that indicates whether this instance is in design or run-time mode.

protected public:
 property bool DesignMode { bool get(); };
protected internal bool DesignMode { get; }
member this.DesignMode : bool
Protected Friend ReadOnly Property DesignMode As Boolean

Property Value

true if this instance is in design mode; otherwise, false.


Applies to