32 references to SelectNextControl
System.Windows.Forms (22)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
379target.SelectNextControl(null, ModifierKeys != Keys.Shift, tabStopOnly: true, nested: true, wrap: true);
System\Windows\Forms\Control.cs (1)
9931((Control)c).SelectNextControl(this, true, true, true, true);
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
625SelectNextControl(null, true, true, true, false);
System\Windows\Forms\Controls\Labels\Label.cs (1)
1367if (parent.SelectNextControl(this, true, false, true, false) && !parent.ContainsFocus)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1841bool selectNext = tabPages[index].SelectNextControl(null, true, true, false, false);
System\Windows\Forms\Form.cs (6)
271SelectNextControl(null, true, true, true, false); 2158SelectNextControl(null, true, true, true, false); 4083SelectNextControl(this, true, true, true, true); 4774if (SelectNextControl(ActiveControl, forward, true, true, true)) 4783bool selected = SelectNextControl(null, forward, true, true, false); 5045SelectNextControl(null, forward, true, true, false);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (6)
471bool selected = SelectNextControl(control, true, true, true, true); 495f?.SelectNextControl(this, true, true, true, true); 783SelectNextControl(ctl: null, forward: true, tabStopOnly: true, nested: true, wrap: false); 1164return group?.SelectNextControl(_activeControl, forward, false, false, true) ?? false; 1316return SelectNextControl(_activeControl, forward, tabStopOnly: true, nested: true, wrap: false); 1442SelectNextControl(null, forward, tabStopOnly: true, nested: true, wrap: false);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (4)
1543return group?.SelectNextControl(ActiveControl, forward, false, false, true) ?? false; 1807if (parent.SelectNextControl(this, forward, true, true, parent.ParentInternal is null)) 1912parent.SelectNextControl(this, forward, true, true, true); 2012ctl.SelectNextControl(null, forward, tabStopOnly, nested, wrap);
System\Windows\Forms\UserControl.cs (1)
308SelectNextControl(null, true, true, true, false);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
546return (SelectNextControl(ActiveControl, forward, true, true, true));
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (1)
65CurrentPanel.SelectNextControl(null, true, true, true, true);
System.Windows.Forms.Tests (4)
System\Windows\Forms\ControlTests.cs (4)
964bool result = form.SelectNextControl(toolStrip1_ComboBox1.ComboBox, forward: true, tabStopOnly: true, nested: true, wrap: true); 969result = form.SelectNextControl(toolStrip1_TextBox1.Control, forward: true, tabStopOnly: true, nested: true, wrap: true); 1021bool result = form.SelectNextControl(toolStrip2_ComboBox2.ComboBox, forward: false, tabStopOnly: true, nested: true, wrap: true); 1026result = form.SelectNextControl(toolStrip2_ComboBox1.ComboBox, forward: false, tabStopOnly: true, nested: true, wrap: true);
WindowsFormsIntegration (4)
System\Windows\Integration\ElementHost.cs (2)
1625if (topMostParent.SelectNextControl(_hostControl, true, true, true, shouldWrap)) 1646if (parentControl.SelectNextControl(currentControl, false, true, true, shouldWrap))
System\Windows\Integration\WindowsFormsHost.cs (2)
875if (this.SelectNextControl(null, forward, tabStopOnly, true, false)) 923return c.SelectNextControl(this.ActiveControl, keyCode == Keys.Right || keyCode == Keys.Down, false, false, false);