WindowsFormsHost.TabInto Method

Forwards focus from WPF to the hosted Windows Forms control.

Namespace: System.Windows.Forms.Integration
Assembly: WindowsFormsIntegration (in windowsformsintegration.dll)

public virtual bool TabInto (
	TraversalRequest request
)
public boolean TabInto (
	TraversalRequest request
)
public function TabInto (
	request : TraversalRequest
) : boolean
Not applicable.

Parameters

request

A TraversalRequest that specifies the focus behavior.

Return Value

true if a control was activated; otherwise, false.

When a WindowsFormsHost element receives a TAB command from the TabInto method, the first eligible control in Child receives focus.

The first control is specified by the request parameter. When request is Next, the behavior is similar to pressing the TAB key. When request is Previous, the behavior is similar to pressing SHIFT+TAB.

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

ADD
Show: