Bewerken

Delen via


ISite.DesignMode Property

Definition

Determines whether the component is in design mode when implemented by a class.

public:
 property bool DesignMode { bool get(); };
public bool DesignMode { get; }
member this.DesignMode : bool
Public ReadOnly Property DesignMode As Boolean

Property Value

true if the component is in design mode; otherwise, false.

Remarks

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

Applies to