93 references to Tab
System.Windows.Forms (33)
System\Windows\Forms\Control.cs (5)
6239int mask = charCode == (char)(int)Keys.Tab 6269case Keys.Tab: 8964if (keyCode is not Keys.F10 and not Keys.Menu and not Keys.Tab) 8997if (keyCode == Keys.Tab) 12811return 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)
10079case Keys.Tab: 15718case Keys.Tab: 20107else if (key == Keys.Tab) 21970or Keys.Tab 24431case 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)
2053bool forward = LastKeyData == Keys.Tab || (TabStop && start is null && LastKeyData != Keys.Left); 2714(keyData & Keys.Control) == Keys.Control && (keyData & Keys.KeyCode) == Keys.Tab; 2771case Keys.Tab:
System\Windows\Forms\Layout\Containers\ContainerControl.cs (1)
1199case 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)
4355yield return new object[] { Keys.Tab, false }; 4385yield return new object[] { Keys.Control | Keys.Tab, false }; 4415yield return new object[] { Keys.Alt | Keys.Tab, false }; 5261yield return new object[] { 0, Keys.Tab, false }; 5267yield return new object[] { (int)PInvokeCore.WM_KEYDOWN, Keys.Tab, true }; 5273yield return new object[] { (int)PInvokeCore.WM_SYSKEYDOWN, Keys.Tab, true }; 5279yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.Tab, false }; 5285yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.Tab, false }; 5291yield return new object[] { (int)PInvokeCore.WM_CHAR, Keys.Tab, true }; 5297yield return new object[] { (int)PInvokeCore.WM_SYSCHAR, Keys.Tab, false }; 5303yield return new object[] { (int)PInvokeCore.WM_KEYUP, Keys.Tab, false }; 5309yield return new object[] { (int)PInvokeCore.WM_SYSKEYUP, Keys.Tab, false };
System\Windows\Forms\MenuStripTests.cs (6)
695[InlineData(Keys.Tab)] 696[InlineData(Keys.Control & Keys.Tab)] 716[InlineData(Keys.Tab, true)] 717[InlineData(Keys.Tab, false)] 718[InlineData(Keys.Control & Keys.Tab, true)] 719[InlineData(Keys.Control & Keys.Tab, false)]
System\Windows\Forms\TabControlTests.cs (3)
3994yield return new object[] { Keys.Tab, false }; 4019yield return new object[] { Keys.Control | Keys.Tab, false }; 4044yield return new object[] { Keys.Alt | Keys.Tab, false };
System\Windows\Forms\ToolStripTests.cs (10)
4820toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.Tab; 4841toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.Tab; 4866toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.Shift | Keys.Tab; 4887toolStrip.TestAccessor().Dynamic.LastKeyData = Keys.Shift | Keys.Tab; 6917[InlineData(Keys.Tab)] 6918[InlineData(Keys.Control & Keys.Tab)] 6938[InlineData(Keys.Tab, true)] 6939[InlineData(Keys.Tab, false)] 6940[InlineData(Keys.Control & Keys.Tab, true)] 6941[InlineData(Keys.Control & Keys.Tab, false)]
TextBoxBaseTests.cs (19)
5187yield return new object[] { multiline, acceptsTab, readOnly, Keys.Tab, multiline && acceptsTab }; 5188yield return new object[] { multiline, acceptsTab, readOnly, Keys.Tab | Keys.Control, false }; 5189yield return new object[] { multiline, acceptsTab, readOnly, Keys.Tab | Keys.Alt, false }; 6015[InlineData(true, Keys.Tab)] 6016[InlineData(false, Keys.Tab)] 6017[InlineData(true, Keys.Control | Keys.Tab)] 6018[InlineData(false, Keys.Control | Keys.Tab)] 6034[InlineData(true, Keys.Tab)] 6035[InlineData(false, Keys.Tab)] 6036[InlineData(true, Keys.Control | Keys.Tab)] 6037[InlineData(false, Keys.Control | Keys.Tab)] 6055[InlineData(true, Keys.Tab, Keys.Tab, true)] 6056[InlineData(false, Keys.Tab, Keys.Tab, false)] 6057[InlineData(true, Keys.Control | Keys.Tab, Keys.Tab, true)] 6058[InlineData(false, Keys.Control | Keys.Tab, Keys.Control | Keys.Tab, false)]
WindowsFormsIntegration (3)
System\Windows\Integration\ElementHost.cs (2)
461_hostContainerInternal.ProcessingTabKeyFromElementHost = (keyData & SWF.Keys.Tab) == SWF.Keys.Tab;
System\Windows\Integration\WindowsFormsHost.cs (1)
910if (keyCode == Keys.Tab || keyCode == Keys.Left ||