InternalTypeHelper::AddEventHandler Method (EventInfo^, Object^, Delegate^)
.NET Framework (current version)
When overridden in a derived (generated) class, attaches an event handler delegate to an internal event.
Assembly: WindowsBase (in WindowsBase.dll)
public protected: virtual void AddEventHandler( EventInfo^ eventInfo, Object^ target, Delegate^ handler ) abstract
Parameters
- eventInfo
-
Type:
System.Reflection::EventInfo^
The event information for the event (CLR reflection information).
- target
-
Type:
System::Object^
The target where the handler is attached.
- handler
-
Type:
System::Delegate^
The event handler.
The InternalTypeHelper class is not intended for use by anything other than the WPF XAML markup compiler.
.NET Framework
Available since 3.0
Available since 3.0
Show: