HwndHost.RegisterKeyboardInputSinkCore Method (IKeyboardInputSink)

.NET Framework (current version)
 

Registers the IKeyboardInputSink interface of a contained component.

Namespace:   System.Windows.Interop
Assembly:  PresentationFramework (in PresentationFramework.dll)

<SecurityCriticalAttribute>
<UIPermissionAttribute(SecurityAction.LinkDemand, Unrestricted := True)>
Protected Overridable Function RegisterKeyboardInputSinkCore (
	sink As IKeyboardInputSink
) As IKeyboardInputSite

Parameters

sink
Type: System.Windows.Interop.IKeyboardInputSink

The IKeyboardInputSink sink of the contained component.

Return Value

Type: System.Windows.Interop.IKeyboardInputSite

The IKeyboardInputSite site of the contained component.

.NET Framework
Available since 4.0
Return to top
Show: