32 references to SelectNextControl
System.Windows.Forms (22)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
379
target.
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)
625
SelectNextControl
(null, true, true, true, false);
System\Windows\Forms\Controls\Labels\Label.cs (1)
1367
if (parent.
SelectNextControl
(this, true, false, true, false) && !parent.ContainsFocus)
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1841
bool selectNext = tabPages[index].
SelectNextControl
(null, true, true, false, false);
System\Windows\Forms\Form.cs (6)
271
SelectNextControl
(null, true, true, true, false);
2158
SelectNextControl
(null, true, true, true, false);
4086
SelectNextControl
(this, true, true, true, true);
4777
if (
SelectNextControl
(ActiveControl, forward, true, true, true))
4786
bool selected =
SelectNextControl
(null, forward, true, true, false);
5048
SelectNextControl
(null, forward, true, true, false);
System\Windows\Forms\Layout\Containers\ContainerControl.cs (6)
472
bool selected =
SelectNextControl
(control, true, true, true, true);
496
f?.
SelectNextControl
(this, true, true, true, true);
790
SelectNextControl
(ctl: null, forward: true, tabStopOnly: true, nested: true, wrap: false);
1171
return group?.
SelectNextControl
(_activeControl, forward, false, false, true) ?? false;
1323
return
SelectNextControl
(_activeControl, forward, tabStopOnly: true, nested: true, wrap: false);
1449
SelectNextControl
(null, forward, tabStopOnly: true, nested: true, wrap: false);
System\Windows\Forms\Layout\Containers\SplitContainer.cs (4)
1543
return group?.
SelectNextControl
(ActiveControl, forward, false, false, true) ?? false;
1807
if (parent.
SelectNextControl
(this, forward, true, true, parent.ParentInternal is null))
1912
parent.
SelectNextControl
(this, forward, true, true, true);
2012
ctl.
SelectNextControl
(null, forward, tabStopOnly, nested, wrap);
System\Windows\Forms\UserControl.cs (1)
308
SelectNextControl
(null, true, true, true, false);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerActionPanel.cs (1)
546
return (
SelectNextControl
(ActiveControl, forward, true, true, true));
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (1)
65
CurrentPanel.
SelectNextControl
(null, true, true, true, true);
System.Windows.Forms.Tests (4)
System\Windows\Forms\ControlTests.cs (4)
962
bool result = form.
SelectNextControl
(toolStrip1_ComboBox1.ComboBox, forward: true, tabStopOnly: true, nested: true, wrap: true);
967
result = form.
SelectNextControl
(toolStrip1_TextBox1.Control, forward: true, tabStopOnly: true, nested: true, wrap: true);
1019
bool result = form.
SelectNextControl
(toolStrip2_ComboBox2.ComboBox, forward: false, tabStopOnly: true, nested: true, wrap: true);
1024
result = form.
SelectNextControl
(toolStrip2_ComboBox1.ComboBox, forward: false, tabStopOnly: true, nested: true, wrap: true);
WindowsFormsIntegration (4)
System\Windows\Integration\ElementHost.cs (2)
1632
if (topMostParent.
SelectNextControl
(_hostControl, true, true, true, shouldWrap))
1653
if (parentControl.
SelectNextControl
(currentControl, false, true, true, shouldWrap))
System\Windows\Integration\WindowsFormsHost.cs (2)
897
if (this.
SelectNextControl
(null, forward, tabStopOnly, true, false))
945
return c.
SelectNextControl
(this.ActiveControl, keyCode == Keys.Right || keyCode == Keys.Down, false, false, false);