KeyboardNavigation.GetTabIndex(DependencyObject) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.