IsTabStop Property

Control.IsTabStop Property


Gets or sets a value that indicates whether a control is included in tab navigation.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public bool IsTabStop { get; set; }

Property Value

Type: System.Boolean

true if the control is included in tab navigation; otherwise, false. The default is true.

If IsTabStop is false, the control is excluded from tab navigation.

Identifier field


Metadata properties set to true


The following example shows how to set the IsTabStop property and how to test whether a control is included in tab navigation.

<Button Name="btn13" IsTabStop="true" Click="IsTabStop">
void IsTabStop(object sender, RoutedEventArgs e)
    if (btn13.IsTabStop == true)
        btn13.Content = "Control is a tab stop.";

.NET Framework
Available since 3.0
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
© 2015 Microsoft