HwndSource.IKeyboardInputSink.RegisterKeyboardInputSink Method (IKeyboardInputSink)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

For a description of this member, see RegisterKeyboardInputSink.

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

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

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

UIPermission

to call this method. Associated enumeration: AllWindows

.NET Framework
Available since 3.0
Return to top
Show: