Panel.TabStop Property

Definition

Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.

C#
public bool TabStop { get; set; }

Property Value

true if the user can give the focus to the control using the TAB key; otherwise, false. The default is false.

Remarks

When the user presses the TAB key, the input focus is set to the next control in the tab order. Controls with the TabStop property value of false are not included in the collection of controls in the tab order. The tab order can be manipulated by setting the control's TabIndex property value.

Note

The TabStop property has no effect on the Panel control as it is a container object.

Applies to

Product Versions
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10