Поделиться через


IXRControl::GetTabIndex (Compact 2013)

3/28/2014

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

See Also

Reference

IXRControl
IXRControl::SetTabIndex