Component.DesignMode Property

Definition

Obtém um valor que indica se o Component está no modo de design no momento.Gets a value that indicates whether the Component is currently in design mode.

protected:
 property bool DesignMode { bool get(); };
[System.ComponentModel.Browsable(false)]
protected bool DesignMode { get; }
member this.DesignMode : bool
Protected ReadOnly Property DesignMode As Boolean

Property Value

Boolean

true se o Component estiver no modo de design; caso contrário, false.true if the Component is in design mode; otherwise, false.

Attributes

Remarks

O indicador de modo de design é armazenado no ISite; Portanto, se o Component não tiver um ISite associado a ele, o valor dessa propriedade será false.The design mode indicator is stored in the ISite; therefore, if the Component does not have an ISite associated with it, the value of this property is false.

Applies to

See also