HwndSource.System.Windows.Interop.IKeyboardInputSink.RegisterKeyboardInputSink Method
.NET Framework 3.0
This member supports the WPF infrastructure and is not intended to be called from your code.
Namespace: System.Windows.Interop
Assembly: PresentationCore (in presentationcore.dll)
Notes to Inheritors: HwndSource implements this member as an explicit interface definition to provide basic support for IKeyboardInputSink members. These IKeyboardInputSink members support keyboard operations for interoperation, and include functionality such as raising WPF routed events in response to Win32 messages, and forwarding tab requests. If you are creating instances of the HwndSource class, you do not need to call this member. However, if you are deriving from HwndSource, and you have advanced scenario requirements for keyboard input interoperation, you might need to re-implement System.Windows.Interop.IKeyboardInputSink.RegisterKeyboardInputSink. This requires that you specifically implement IKeyboardInputSink again on your class, and define a new explicit RegisterKeyboardInputSink that overrides the HwndSource version.
Assembly: PresentationCore (in presentationcore.dll)
You cannot use methods in XAML.
Parameters
- sink
A reference to the IKeyboardInputSink interface of the child component.
Return Value
A reference to the IKeyboardInputSink interface of this component. Security Note: |
|---|
| This method is not available in the Internet security zone. |
- UIPermission to call this method. Associated enumeration: AllWindows
Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Security Note: