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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.