Share via


KeyboardNavigation.GetTabIndex(DependencyObject) Metodo

Definizione

Ottiene il valore della proprietà associata TabIndex per l'elemento specificato.

public:
 static int GetTabIndex(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static int GetTabIndex (System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetTabIndex : System.Windows.DependencyObject -> int
Public Shared Function GetTabIndex (element As DependencyObject) As Integer

Parametri

element
DependencyObject

Elemento da cui leggere la proprietà associata.

Restituisce

Il valore della proprietà TabIndex.

Attributi

Eccezioni

element è null.

Si applica a

Vedi anche