Share via


KeyboardNavigation.GetTabIndex(DependencyObject) Méthode

Définition

Obtient la valeur de la propriété jointe TabIndex pour l’élément spécifié.

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

Paramètres

element
DependencyObject

Élément à partir duquel lire la propriété jointe.

Retours

La valeur de la propriété TabIndex.

Attributs

Exceptions

element a la valeur null.

S’applique à

Voir aussi