Partager via


IXRControl::GetTabIndex (Windows Embedded CE 6.0)

1/6/2010

This method retrieves 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 GetTabIndex(
    int *pTabIndex
) = 0;

Parameters

  • pTabIndex
    [out] Pointer to an integer value that indicates the 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::SetTabIndex