System.Windows.Forms.SplitContainer.TabStop Property

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

Syntax

[System.ComponentModel.DefaultValue(true)]
[System.Runtime.InteropServices.DispId(-516)]
public bool TabStop { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

When the user presses the TAB key, the input focus is set to the next control in the tab order of the form. Set SplitContainer.TabStop to true to give input focus to a splitter so that it can be moved with the arrow keys as well as with the mouse. Starting in the net_v40_long, setting SplitContainer.TabStop to false excludes the splitter and any of the controls that are contained in the System.Windows.Forms.SplitContainer from the collection of controls in the tab order. To enable controls to get focus by using the TAB key, create a control that inherits from System.Windows.Forms.SplitContainer. Create a new property named TabStop and override the SplitContainer.ProcessTabKey(bool) method. The following example demonstrates how to accomplish this.

code reference: SplitContainerTabStop#1

You can manipulate the tab order by setting the control's Control.TabIndex property value.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0