This documentation is archived and is not being maintained.

ComponentDesigner.InitializeNonDefault Method

Initializes the settings for an imported component that is already initialized to settings other than the defaults.

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

Remarks

This method is called when the designer is associated with a control that is not in its default state, such as a control that you paste or move with a drag-and-drop operation onto the designer. This method provides an opportunity for implementers to modify or shadow the properties of the component rather than initialize the properties for the component to their defaults. This method is called after the other initialization functions.

Requirements

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

.NET Framework Security: 

See Also

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

Show: