Partager via


IXRControl::SetTabIndex (Windows Embedded CE 6.0)

1/6/2010

This method sets a value that determines the order in which elements receive the UI focus when the user navigates through controls by using the TAB key.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetTabIndex(
    int TabIndex
) = 0; 

Parameters

  • TabIndex
    [in] Integer value that indicates the new tab index for this control.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

A control with a lower tab index receives the UI focus before a control with a higher index. The index values for each control together determine the overall tab order for the controls.

.NET Framework Equivalent

System.Windows.Controls.Control.TabIndex

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRControl
IXRControl::GetTabIndex