EventBindingService::IEventBindingService::GetEvent Method (PropertyDescriptor^)

 

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

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

private:
virtual EventDescriptor^ GetEvent(
	PropertyDescriptor^ property
) sealed = IEventBindingService::GetEvent

Parameters

property
Type: System.ComponentModel::PropertyDescriptor^

The property that represents an event.

Return Value

Type: System.ComponentModel::EventDescriptor^

An EventDescriptor for the event that the property represents, or null if the property does not represent an event.

.NET Framework
Available since 2.0
Return to top
Show: