Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ComponentDesigner.InitializeExistingComponent Method

Reinitializes an existing component.

Namespace: System.ComponentModel.Design
Assembly: System.Design (in system.design.dll)

public virtual void InitializeExistingComponent (
	IDictionary defaultValues
)
public void InitializeExistingComponent (
	IDictionary defaultValues
)
public function InitializeExistingComponent (
	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 InitializeExistingComponent method is called when an existing component is being reinitialized. For example, this may occur after the user drags a component to another container.

You may use the defaultValues dictionary to apply recommended defaults to properties; however, you should not modify component properties aside from those stored in the dictionary, because this existing component may already have properties set on it.

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.

.NET Framework

Supported in: 3.0, 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.