Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IKeyboardInputSite Interface

Manages keyboard focus within the container. This interface implements keyboard message management in WPF-Win32 interoperation scenarios.

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

public interface IKeyboardInputSite
Interfaces cannot be used directly in XAML; see types that implement this interface.

A container should provide a unique instance of this interface for each of its contained components.

The IKeyboardInputSite interface and the IKeyboardInputSink are used together to provide support for keyboard actions across interoperation boundaries. A site (IKeyboardInputSite implementation) represents a parent of a sink (IKeyboardInputSink). The sink (IKeyboardInputSink) implements the majority of keyboard behavior. Each site must also provide a sink, because the site-specific sink is returned by a property of the IKeyboardInputSite interface.

For a discussion of the input architecture specifically implemented for Windows Forms interoperation, see Windows Forms and WPF Interoperability Input Architecture.

For more information about WPF-Win32 interoperation scenarios, see WPF and Win32 Interoperation Overview.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

Show:
© 2017 Microsoft