Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft