System.ComponentModel.Component.DesignMode Property

Gets a value that indicates whether the System.ComponentModel.Component is currently in design mode.

Syntax

[System.ComponentModel.Browsable(false)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Hidden)]
protected bool DesignMode { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The design mode indicator is stored in the System.ComponentModel.ISite; therefore, if the System.ComponentModel.Component does not have an System.ComponentModel.ISite associated with it, the value of this property is false.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0