RegisterKeyboardInputSinkCore Method

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 virtual IKeyboardInputSite RegisterKeyboardInputSinkCore(
	IKeyboardInputSink sink
)

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:
© 2016 Microsoft