Bearbeiten

Freigeben über


Panel.TabStop Property

Definition

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

public:
 property bool TabStop { bool get(); void set(bool value); };
public bool TabStop { get; set; }
member this.TabStop : bool with get, set
Public Property TabStop As Boolean

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