EventBindingService Class
A default implementation of the IEventBindingService interface.
Assembly: System.Design (in System.Design.dll)
| Name | Description | |
|---|---|---|
![]() | EventBindingService(IServiceProvider) | Initializes a new instance of the EventBindingService class. |
| Name | Description | |
|---|---|---|
![]() | CreateUniqueMethodName(IComponent, EventDescriptor) | Creates a unique method name. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | FreeMethod(IComponent, EventDescriptor, String) | Provides a notification that a particular method is no longer being used by an event handler. |
![]() | GetCompatibleMethods(EventDescriptor) | Returns a collection of names of compatible methods. |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetService(Type) | Gets the requested service from the service provider. |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ShowCode() | Displays user code. |
![]() | ShowCode(IComponent, EventDescriptor, String) | Displays the user code for the specified method. |
![]() | ShowCode(Int32) | Displays the user code at the given line number. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | UseMethod(IComponent, EventDescriptor, String) | Provides a notification that a particular method is being used by an event handler. |
![]() | ValidateMethodName(String) | Validates that the provided method name is valid for the language or script being used. |
| Name | Description | |
|---|---|---|
![]() ![]() | IEventBindingService.CreateUniqueMethodName(IComponent, EventDescriptor) | Creates a unique name for an event-handler method for the specified component and event. |
![]() ![]() | IEventBindingService.GetCompatibleMethods(EventDescriptor) | Gets a collection of event-handler methods that have a method signature compatible with the specified event. |
![]() ![]() | IEventBindingService.GetEvent(PropertyDescriptor) | Gets an EventDescriptor for the event that the specified property descriptor represents, if it represents an event. |
![]() ![]() | IEventBindingService.GetEventProperties(EventDescriptorCollection) | Converts a set of event descriptors to a set of property descriptors. |
![]() ![]() | IEventBindingService.GetEventProperty(EventDescriptor) | Converts a single event descriptor to a property descriptor. |
![]() ![]() | IEventBindingService.ShowCode() | Displays the user code for the designer. |
![]() ![]() | IEventBindingService.ShowCode(IComponent, EventDescriptor) | Displays the user code for the specified event. |
![]() ![]() | IEventBindingService.ShowCode(Int32) | Displays the user code for the designer at the specified line. |
By providing a service for registering event handlers for component events, EventBindingService provides a way to link an event handler with a component event from designer code.
for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state:
Available since 2.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



