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!

ComponentDesigner.OnSetComponentDefaults

Called when the designer is intialized. This allows the designer to provide some meaningful default values in the component. The default implementation of this sets the components's default property to it's name, if that property is a string.

[Visual Basic]
Overridable Public Sub OnSetComponentDefaults()
[C#]
public virtual void OnSetComponentDefaults();
[C++]
public: virtual void OnSetComponentDefaults();
[JScript]
public function OnSetComponentDefaults();

See Also

ComponentDesigner Class | ComponentDesigner Members | System.ComponentModel.Design Namespace