ComponentDesigner.InitializeNewComponent Method
.NET Framework 3.0
Initializes a newly created component.
Namespace: System.ComponentModel.Design
Assembly: System.Design (in system.design.dll)
Assembly: System.Design (in system.design.dll)
public void InitializeNewComponent ( IDictionary defaultValues )
public function InitializeNewComponent ( defaultValues : IDictionary )
Not applicable.
Parameters
- defaultValues
A name/value dictionary of default values to apply to properties. May be a null reference (Nothing in Visual Basic) if no default values are specified.
The InitializeNewComponent method is called when a component is first initialized, typically after being first added to a design surface.
You may perform any necessary initialization of this component, and you may ignore the defaultValues dictionary altogether.
The default implementation of this method does nothing.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.Community Additions
ADD
Show: