Gets a value indicating whether the component is currently in design mode.
[Visual Basic] Public Overridable ReadOnly Property DesignMode As Boolean [C#] public virtual bool DesignMode {get;} [C++] public: __property virtual bool get_DesignMode(); [JScript] public function get DesignMode() : Boolean;
true if the component is in design mode; otherwise, false.
If the component does not have a site, this method always returns false.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
MarshalByValueComponent Class | MarshalByValueComponent Members | System.ComponentModel Namespace | MarshalByValueComponent