DependencyObject.DesignMode DependencyObject.DesignMode DependencyObject.DesignMode DependencyObject.DesignMode Property

Definition

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

protected public:
 property bool DesignMode { bool get(); };
[System.ComponentModel.Browsable(false)]
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