NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Component.GetDesignMode

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

[Visual Basic]
Overridable Public Function GetDesignMode() As Boolean
[C#]
public virtual bool GetDesignMode();
[C++]
public: virtual bool GetDesignMode();
[JScript]
public function GetDesignMode() : Boolean;

Return Value

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

Remarks

This method can be overridden by a derived class.

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.

See Also

Component Class | Component Members | System.ComponentModel Namespace | IContainer | Container | ISite