This documentation is archived and is not being maintained.

ISite.DesignMode Property

Determines whether the component is in design mode when implemented by a class.

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

Property Value

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


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.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

See Also

ISite Interface | ISite Members | System.ComponentModel Namespace