Provides data for the IComponentChangeService.ComponentChanged event. This class cannot be inherited.
See Also: ComponentChangedEventArgs Members
System.ComponentModel.Design.ComponentChangedEventArgs provides data for a IComponentChangeService.ComponentChanged event. The IComponentChangeService.ComponentChanged event notifies the System.ComponentModel.Design.IComponentChangeService and registered event handlers that a particular component in the currently active document has been changed.
A System.ComponentModel.Design.ComponentChangedEventArgs provides the following information:
A ComponentChangedEventArgs.Component property that indicates the component that was modified.
A ComponentChangedEventArgs.Member property that indicates the member that was changed.
A ComponentChangedEventArgs.NewValue property that indicates the new value of the member.
An ComponentChangedEventArgs.OldValue property that indicates the old value of the member.
Component designers typically raise the IComponentChangeService.ComponentChanged event automatically when components are added, removed, or modified. A IComponentChangeService.ComponentChanged event is not raised during form load and unload because changes at this time are expected. A component designer might raise the IComponentChangeService.ComponentChanged event after it changes a property of the component; this ensures that the Properties window will display the updated property.