This documentation is archived and is not being maintained.

MarshalByValueComponent.DesignMode Property

Gets a value indicating whether the component is currently in design mode.

[Visual Basic]
Public Overridable ReadOnly Property DesignMode As Boolean
public virtual bool DesignMode {get;}
public: __property virtual bool get_DesignMode();
public function get DesignMode() : Boolean;

Property Value

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

See Also

MarshalByValueComponent Class | MarshalByValueComponent Members | System.ComponentModel Namespace | MarshalByValueComponent