EventBindingService Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

A default implementation of the IEventBindingService interface.

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

System.Object
  System.ComponentModel.Design.EventBindingService

[SecurityCriticalAttribute]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public abstract class EventBindingService : IEventBindingService

NameDescription
System_CAPS_protmethodEventBindingService(IServiceProvider)

Initializes a new instance of the EventBindingService class.

NameDescription
System_CAPS_protmethodCreateUniqueMethodName(IComponent, EventDescriptor)

Creates a unique method name.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_protmethodFreeMethod(IComponent, EventDescriptor, String)

Provides a notification that a particular method is no longer being used by an event handler.

System_CAPS_protmethodGetCompatibleMethods(EventDescriptor)

Returns a collection of names of compatible methods.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_protmethodGetService(Type)

Gets the requested service from the service provider.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodShowCode()

Displays user code.

System_CAPS_protmethodShowCode(IComponent, EventDescriptor, String)

Displays the user code for the specified method.

System_CAPS_protmethodShowCode(Int32)

Displays the user code at the given line number.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodUseMethod(IComponent, EventDescriptor, String)

Provides a notification that a particular method is being used by an event handler.

System_CAPS_protmethodValidateMethodName(String)

Validates that the provided method name is valid for the language or script being used.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEventBindingService.CreateUniqueMethodName(IComponent, EventDescriptor)

Creates a unique name for an event-handler method for the specified component and event.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEventBindingService.GetCompatibleMethods(EventDescriptor)

Gets a collection of event-handler methods that have a method signature compatible with the specified event.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEventBindingService.GetEvent(PropertyDescriptor)

Gets an EventDescriptor for the event that the specified property descriptor represents, if it represents an event.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEventBindingService.GetEventProperties(EventDescriptorCollection)

Converts a set of event descriptors to a set of property descriptors.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEventBindingService.GetEventProperty(EventDescriptor)

Converts a single event descriptor to a property descriptor.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEventBindingService.ShowCode()

Displays the user code for the designer.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEventBindingService.ShowCode(IComponent, EventDescriptor)

Displays the user code for the specified event.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEventBindingService.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.

NamedPermissionSet

for full access to system resources. Demand values: LinkDemand, InheritanceDemand. Associated state:

.NET Framework
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.

Return to top
Show: