RibbonDismissPopupEventArgs.InvokeEventHandler Method
Invokes the specified event handler on the specified object.
Namespace: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Protected Overrides Sub InvokeEventHandler ( _
genericHandler As Delegate, _
genericTarget As Object _
)
protected override void InvokeEventHandler(
Delegate genericHandler,
Object genericTarget
)
protected:
virtual void InvokeEventHandler(
Delegate^ genericHandler,
Object^ genericTarget
) override
abstract InvokeEventHandler :
genericHandler:Delegate *
genericTarget:Object -> unit
override InvokeEventHandler :
genericHandler:Delegate *
genericTarget:Object -> unit
protected override function InvokeEventHandler(
genericHandler : Delegate,
genericTarget : Object
)
Parameters
- genericHandler
Type: System.Delegate
The event handler to invoke.
- genericTarget
Type: System.Object
The target on which the handler is invoked.
Remarks
This implementation casts the generic handler to a RibbonDismissPopupEventHandler instance and invokes it.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.