Επεξεργασία

Κοινή χρήση μέσω


KeyboardNavigation.GetTabIndex(DependencyObject) Method

Definition

Gets the value of the TabIndex attached property for the specified element.

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

Parameters

element
DependencyObject

The element from which to read the attached property.

Returns

The value of the TabIndex property.

Attributes

Exceptions

element is null.

Applies to

See also