Gets a value indicating whether the Component is currently in design mode.
[Visual Basic] Overridable Public Function GetDesignMode() As Boolean [C#] public virtual bool GetDesignMode(); [C++] public: virtual bool GetDesignMode(); [JScript] public function GetDesignMode() : Boolean;
true, if the Component is in design mode; otherwise, false.
This method can be overridden by a derived class.
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.
Component Class | Component Members | System.ComponentModel Namespace | IContainer | Container | ISite