Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ComponentChangedEventArgs Constructor (Object, MemberDescriptor, Object, Object)

 

Initializes a new instance of the ComponentChangedEventArgs class.

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

public ComponentChangedEventArgs(
	object component,
	MemberDescriptor member,
	object oldValue,
	object newValue
)

Parameters

component
Type: System.Object

The component that was changed.

member
Type: System.ComponentModel.MemberDescriptor

A MemberDescriptor that represents the member that was changed.

oldValue
Type: System.Object

The old value of the changed member.

newValue
Type: System.Object

The new value of the changed member.

The designer for a component calls this constructor after it has changed a property of the component. This ensures that the Properties window will display the property's updated value.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft