Announces to the component change service that a particular component has changed.
[Visual Basic] Sub OnComponentChanged( _ ByVal component As Object, _ ByVal member As MemberDescriptor, _ ByVal oldValue As Object, _ ByVal newValue As Object _ ) [C#] void OnComponentChanged( object component, MemberDescriptor member, object oldValue, object newValue ); [C++] void OnComponentChanged( Object* component, MemberDescriptor* member, Object* oldValue, Object* newValue ) = 0; [JScript] function OnComponentChanged( component : Object, member : MemberDescriptor, oldValue : Object, newValue : Object );
This event is called after a property has been changed. The framework typically calls these for you, so most of the time you don't need to explictly call them.
This event allows the implementor to do any post-processing that may be needed after a property change. For example, a designer will typically update the source code that sets the property with the new value.
IComponentChangeService Interface | IComponentChangeService Members | System.ComponentModel.Design Namespace | System.ComponentModel.Design.MemberDescriptor