SizeChangedEventArgs::InvokeEventHandler Method (Delegate^, Object^)
.NET Framework (current version)
Invokes event handlers in a type-specific way, which can increase event system efficiency.
Assembly: PresentationFramework (in PresentationFramework.dll)
protected: virtual void InvokeEventHandler( Delegate^ genericHandler, Object^ genericTarget ) override
Parameters
- genericHandler
-
Type:
System::Delegate^
The generic handler to call in a type-specific way.
- genericTarget
-
Type:
System::Object^
The target to call the handler on.
This implementation casts the generic handler as a SizeChangedEventHandler and then invokes it. For details on this implementation pattern and the reasons for it, see InvokeEventHandler and Routed Events Overview.
.NET Framework
Available since 3.0
Available since 3.0
Show: