HwndSource.RegisterKeyboardInputSinkCore Method (IKeyboardInputSink)

.NET Framework (current version)
 

Registers the IKeyboardInputSink interface of a contained component.

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

[SecurityCriticalAttribute]
[UIPermissionAttribute(SecurityAction.Demand, Unrestricted = true)]
protected 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.

UIPermission

to call this method. Associated enumeration: AllWindows

.NET Framework
Available since 4.0
Return to top
Show: