Export (0) Print
Expand All

MarshalByValueComponent.DesignMode Property

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;

Property Value

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

Remarks

If the component does not have a site, this method always returns false.

Requirements

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

Show:
© 2014 Microsoft