Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface System.​ComponentModel.​Design.​IComponentChangeService
Assembly: System.ComponentModel.TypeConverter
Provides an interface to add and remove the event handlers for events that add, change, remove or rename components, and provides methods to raise a <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentChanged" /> or <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentChanging" /> event.
Methods
void
OnComponentChanged​(object component,
MemberDescriptor member,
object oldValue,
object newValue)
Announces to the component change service that a particular component has changed.
component
The component that has changed.
member
The member that has changed. This is <see langword="null" /> if this change is not related to a single member.
oldValue
The old value of the member. This is valid only if the member is not <see langword="null" /> .
newValue
The new value of the member. This is valid only if the member is not <see langword="null" /> .
void
OnComponentChanging​(object component,
MemberDescriptor? member)
Announces to the component change service that a particular component is changing.
component
The component that is about to change.
member
The member that is changing. This is <see langword="null" /> if this change is not related to a single member.