IKeyboardInputSink.RegisterKeyboardInputSink Method

HwndSource.IKeyboardInputSink.RegisterKeyboardInputSink Method (IKeyboardInputSink)


For a description of this member, see RegisterKeyboardInputSink.

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

[UIPermissionAttribute(SecurityAction.LinkDemand, Unrestricted = true)]
IKeyboardInputSite IKeyboardInputSink.RegisterKeyboardInputSink(
	IKeyboardInputSink 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.

This member is an explicit interface member implementation. It can be used only when the HwndSource instance is cast to an IKeyboardInputSink interface.


to call this method. Associated enumeration: AllWindows

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft