KeyboardNavigation.SetTabIndex(DependencyObject, Int32) 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.
Set the value of the TabIndex attached property for the specified element.
public:
static void SetTabIndex(System::Windows::DependencyObject ^ element, int index);
public static void SetTabIndex (System.Windows.DependencyObject element, int index);
static member SetTabIndex : System.Windows.DependencyObject * int -> unit
Public Shared Sub SetTabIndex (element As DependencyObject, index As Integer)
Parameters
- element
- DependencyObject
The element on which to set the attached property to.
- index
- Int32
The property value to set.
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.