Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
When the user presses the TAB key, the input focus is set to the next control in the tab order. Controls with the 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.
The following code example adds a Button to a form and sets some of its common properties. The example anchors the button to the bottom-right corner of the form so it keeps its relative position as the form is resized. Next it sets the BackgroundImage and resizes the button to the same size as the Image. The example then sets the to true and sets the TabIndex property. Lastly, it adds an event handler to handle the Click event of the button. This example requires that you have an ImageList named imageList1.