IKeyboardInputSite Interface

Definition

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

C#
public interface IKeyboardInputSite

Remarks

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.

Properties

Sink

Gets the keyboard sink associated with this site.

Methods

OnNoMoreTabStops(TraversalRequest)

Called by a contained component when it has reached its last tab stop and has no further items to tab to.

Unregister()

Unregisters a child keyboard input sink from this site.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also