93 references to Tab
System.Windows.Forms (33)
System\Windows\Forms\Control.cs (5)
6241int mask = charCode == (char)(int)Keys.Tab 6271case Keys.Tab: 8966if (keyCode is not Keys.F10 and not Keys.Menu and not Keys.Tab) 8999if (keyCode == Keys.Tab) 12813return IsKeyDown(Keys.Tab, stateArray)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
371if (PInvoke.GetKeyState((int)Keys.Tab) >= 0)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (5)
10082case Keys.Tab: 15721case Keys.Tab: 20110else if (key == Keys.Tab) 21973or Keys.Tab 24434case Keys.Tab:
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
1388sb.Append(csv ? ',' : (char)Keys.Tab);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.cs (1)
199stringBuilder.Append(csv ? ',' : (char)Keys.Tab);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
171stringBuilder.Append(csv ? ',' : (char)Keys.Tab);
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1413case Keys.Tab:
System\Windows\Forms\Controls\PropertyGrid\PropertyGrid.cs (1)
3223if ((keyData & Keys.KeyCode) != Keys.Tab
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (5)
1497if (_dropDownHolder?.Visible == true && m.MsgInternal == PInvokeCore.WM_KEYDOWN && (Keys)(nint)m.WParamInternal != Keys.Tab) 1563case unchecked((char)(int)(long)Keys.Tab): 2027case Keys.Tab: 2699if (keyCode == Keys.Tab) 3823case Keys.Tab:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (3)
106case Keys.Tab: 124Keys.Tab or Keys.Return => false, 269if ((keyData & Keys.KeyCode) == Keys.Tab && ((keyData & (Keys.Control | Keys.Alt)) == 0))
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1376if (ke.KeyCode == Keys.Tab && (ke.KeyData & Keys.Control) != 0)
System\Windows\Forms\Controls\TextBox\TextBoxBase.cs (2)
1322case Keys.Tab: 1400if (keyCode == Keys.Tab && AcceptsTab && (keyData & Keys.Control) != 0)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (3)
2054bool forward = LastKeyData == Keys.Tab || (TabStop && start is null && LastKeyData != Keys.Left); 2715(keyData & Keys.Control) == Keys.Control && (keyData & Keys.KeyCode) == Keys.Tab; 2772case Keys.Tab:
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
1200case Keys.Tab:
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
2304case Keys.Tab:
System\Windows\Forms\SendKeys\SendKeys.cs (1)
25new("TAB", Keys.Tab),
System.Windows.Forms.Design (7)
System\ComponentModel\Design\DesignerActionPanel.MethodLine.cs (1)
104case Keys.Tab:
System\Drawing\Design\ColorEditor.ColorUI.cs (1)
338&& (keyData & Keys.KeyCode) == Keys.Tab)
System\Drawing\Design\SelectionPanelBase.cs (1)
99if ((keyData & Keys.KeyCode) == Keys.Tab && (keyData & (Keys.Alt | Keys.Control)) == 0)
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (1)
310if ((keyData & Keys.KeyCode) == Keys.Tab && (keyData & (Keys.Alt | Keys.Control)) == 0)
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (2)
30Keys.Right, Keys.S, Keys.Space, Keys.T, Keys.Tab, Keys.U, Keys.Up, Keys.V, Keys.W, Keys.X, Keys.Y, Keys.Z 264case Keys.Tab:
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
1720case Keys.Tab:
System.Windows.Forms.Tests (50)
System\Windows\Forms\ControlTests.Methods.cs (12)
4395yield return new object[] { Keys.Tab, false }; 4425yield return new object[] { Keys.Control | Keys.Tab, false }; 4455yield return new object[] { Keys.Alt | Keys.Tab, false }; 5301yield return new object[] { 0, Keys.Tab, false }; 5307yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.Tab, true }; 5313yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.Tab, true }; 5319yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.Tab, false }; 5325yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.Tab, false }; 5331yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.Tab, true }; 5337yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.Tab, false }; 5343yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.Tab, false }; 5349yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.Tab, false };
System\Windows\Forms\MenuStripTests.cs (6)
693[InlineData(Keys.Tab)] 694[InlineData(Keys.Control & Keys.Tab)] 714[InlineData(Keys.Tab, true)] 715[InlineData(Keys.Tab, false)] 716[InlineData(Keys.Control & Keys.Tab, true)] 717[InlineData(Keys.Control & Keys.Tab, false)]
System\Windows\Forms\TabControlTests.cs (3)
3992yield return new object[] { Keys.Tab, false }; 4017yield return new object[] { Keys.Control | Keys.Tab, false }; 4042yield return new object[] { Keys.Alt | Keys.Tab, false };
System\Windows\Forms\ToolStripTests.cs (10)
4818toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.Tab; 4839toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.Tab; 4864toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.Shift | Keys.Tab; 4885toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.Shift | Keys.Tab; 6915[InlineData(Keys.Tab)] 6916[InlineData(Keys.Control & Keys.Tab)] 6936[InlineData(Keys.Tab, true)] 6937[InlineData(Keys.Tab, false)] 6938[InlineData(Keys.Control & Keys.Tab, true)] 6939[InlineData(Keys.Control & Keys.Tab, false)]
TextBoxBaseTests.cs (19)
5185yield return new object[] { multiline, acceptsTab, readOnly, Keys.Tab, multiline && acceptsTab }; 5186yield return new object[] { multiline, acceptsTab, readOnly, Keys.Tab | Keys.Control, false }; 5187yield return new object[] { multiline, acceptsTab, readOnly, Keys.Tab | Keys.Alt, false }; 6013[InlineData(true, Keys.Tab)] 6014[InlineData(false, Keys.Tab)] 6015[InlineData(true, Keys.Control | Keys.Tab)] 6016[InlineData(false, Keys.Control | Keys.Tab)] 6032[InlineData(true, Keys.Tab)] 6033[InlineData(false, Keys.Tab)] 6034[InlineData(true, Keys.Control | Keys.Tab)] 6035[InlineData(false, Keys.Control | Keys.Tab)] 6053[InlineData(true, Keys.Tab, Keys.Tab, true)] 6054[InlineData(false, Keys.Tab, Keys.Tab, false)] 6055[InlineData(true, Keys.Control | Keys.Tab, Keys.Tab, true)] 6056[InlineData(false, Keys.Control | Keys.Tab, Keys.Control | Keys.Tab, false)]
WindowsFormsIntegration (3)
System\Windows\Integration\ElementHost.cs (2)
466_hostContainerInternal.ProcessingTabKeyFromElementHost = (keyData & SWF.Keys.Tab) == SWF.Keys.Tab;
System\Windows\Integration\WindowsFormsHost.cs (1)
932if (keyCode == Keys.Tab || keyCode == Keys.Left ||