This documentation is archived and is not being maintained.

Panel.TabStop Property

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

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

public bool TabStop { get; set; }
/** @property */
public boolean get_TabStop ()

/** @property */
public void set_TabStop (boolean value)

public function get TabStop () : boolean

public function set TabStop (value : boolean)

Not applicable.

Property Value

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

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.

NoteNote:

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

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

.NET Compact Framework

Supported in: 2.0
Show: