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)
9942((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); 4086SelectNextControl(this, true, true, true, true); 4777if (SelectNextControl(ActiveControl, forward, true, true, true)) 4786bool selected = SelectNextControl(null, forward, true, true, false); 5048SelectNextControl(null, forward, true, true, false);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (6)
472bool selected = SelectNextControl(control, true, true, true, true); 496f?.SelectNextControl(this, true, true, true, true); 790SelectNextControl(ctl: null, forward: true, tabStopOnly: true, nested: true, wrap: false); 1171return group?.SelectNextControl(_activeControl, forward, false, false, true) ?? false; 1323return SelectNextControl(_activeControl, forward, tabStopOnly: true, nested: true, wrap: false); 1449SelectNextControl(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)
962bool result = form.SelectNextControl(toolStrip1_ComboBox1.ComboBox, forward: true, tabStopOnly: true, nested: true, wrap: true); 967result = form.SelectNextControl(toolStrip1_TextBox1.Control, forward: true, tabStopOnly: true, nested: true, wrap: true); 1019bool result = form.SelectNextControl(toolStrip2_ComboBox2.ComboBox, forward: false, tabStopOnly: true, nested: true, wrap: true); 1024result = form.SelectNextControl(toolStrip2_ComboBox1.ComboBox, forward: false, tabStopOnly: true, nested: true, wrap: true);
WindowsFormsIntegration (4)
System\Windows\Integration\ElementHost.cs (2)
1632if (topMostParent.SelectNextControl(_hostControl, true, true, true, shouldWrap)) 1653if (parentControl.SelectNextControl(currentControl, false, true, true, shouldWrap))
System\Windows\Integration\WindowsFormsHost.cs (2)
897if (this.SelectNextControl(null, forward, tabStopOnly, true, false)) 945return c.SelectNextControl(this.ActiveControl, keyCode == Keys.Right || keyCode == Keys.Down, false, false, false);