HwndSource.System.Windows.Interop.IKeyboardInputSink.TabInto Method

.NET Framework 3.0
Attempts to set focus on a specified tab stop (either the first or last tab stop).

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

bool IKeyboardInputSink.TabInto (
	TraversalRequest request
You cannot use methods in XAML.



Specifies whether the focus attempt is for the first tab stop or the last tab stop.

Return Value

true if focus was set as requested. false if focus could not be set, either because this component does not support tab stops, or because it contains no tab stops.

Security noteSecurity Note:

This method is not available in the Internet security zone.

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.TabInto. This requires that you specifically implement IKeyboardInputSink again on your class, and define a new explicit TabInto that overrides the HwndSource version.

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.

.NET Framework

Supported in: 3.0

Community Additions