161 references to Focus
Accessibility_Core_App (1)
DataControls.cs (1)
45
dataGridView2.
Focus
();
PresentationUI (2)
MS\Internal\Documents\RMPublishingDialog.cs (2)
477
textBoxPermissionsContact.
Focus
();
676
textBoxUserName.
Focus
();
System.Windows.Forms (94)
System\Windows\Forms\ActiveX\AxHost.cs (2)
1777
Focus
();
3099
Focus
();
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
890
_control.
Focus
();
System\Windows\Forms\Control.cs (2)
9282
Focus
();
11404
Focus
();
System\Windows\Forms\Controls\Buttons\CheckBox.cs (1)
522
if (
Focus
())
System\Windows\Forms\Controls\Buttons\RadioButton.cs (1)
509
Focus
();
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
379
owner.
Focus
();
System\Windows\Forms\Controls\DataGridView\DataGridView.DataGridViewEditingPanelAccessibleObject.cs (1)
70
owner.
Focus
();
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (2)
5219
EditingControl.
Focus
();
6260
Focus
();
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (1)
1060
dataGridView.
Focus
();
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
579
_owner.DataGridView.
Focus
();
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.cs (1)
220
dataGridView.
Focus
();
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (1)
413
dataGridView.
Focus
();
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.cs (1)
225
dataGridView.
Focus
();
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.cs (1)
207
Owner.DataGridView.
Focus
();
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.cs (1)
1556
Focus
();
System\Windows\Forms\Controls\Labels\FocusableLabel.cs (1)
34
Focus
();
System\Windows\Forms\Controls\Labels\Label.cs (1)
1369
parent.
Focus
();
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
848
Focus
();
System\Windows\Forms\Controls\ListView\ListView.cs (1)
5887
Focus
();
System\Windows\Forms\Controls\ListView\ListViewItem.cs (1)
877
lv.
Focus
();
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.cs (1)
2196
Focus
();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\CommandsPane.cs (2)
141
Label.
Focus
();
161
public void FocusLabel() => Label.
Focus
();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
298
bool focused = PropertyGridView.
Focus
();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridErrorDialog.cs (2)
97
_detailsTextBox.
Focus
();
328
_okButton.
Focus
();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (43)
647
Focus
();
772
DialogButton.
Focus
();
776
DropDownButton.
Focus
();
780
EditTextBox.
Focus
();
784
Focus
();
841
gotFocus =
Focus
();
851
gotFocus =
Focus
();
858
gotFocus =
Focus
();
1051
EditTextBox.
Focus
();
1206
EditTextBox.
Focus
();
1222
DialogButton.
Focus
();
1228
EditTextBox.
Focus
();
1296
EditTextBox.
Focus
();
1473
Focus
();
2185
EditTextBox.
Focus
();
2244
EditTextBox.
Focus
();
2389
Focus
();
2561
EditTextBox.
Focus
();
2624
Focus
();
2634
Focus
();
2668
EditTextBox.
Focus
();
2675
Focus
();
2906
EditTextBox.
Focus
();
3157
EditTextBox.
Focus
();
3431
EditTextBox.
Focus
();
3867
DropDownButton.
Focus
();
3872
DialogButton.
Focus
();
3886
EditTextBox.
Focus
();
4259
Focus
();
4396
Focus
();
4482
Focus
();
4595
EditTextBox.
Focus
();
4710
_editTextBox.
Focus
();
4775
Focus
();
4783
DialogButton.
Focus
();
4787
DropDownButton.
Focus
();
4792
EditTextBox.
Focus
();
5048
EditTextBox.
Focus
();
5058
_currentEditor?.
Focus
();
5183
Focus
();
5312
EditTextBox.
Focus
();
5319
EditTextBox.
Focus
();
5325
EditTextBox.
Focus
();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.DropDownHolder.cs (1)
254
_currentControl.
Focus
();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.GridViewTextBox.cs (2)
67
Focus
();
94
Focus
();
System\Windows\Forms\Controls\TabControl\TabControl.cs (1)
1855
c.ActiveControl?.
Focus
();
System\Windows\Forms\Controls\TextBox\TextBox.cs (1)
921
Focus
();
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (4)
1740
Focus
();
1757
controlHost.Control.
Focus
();
4005
focusSuccess = control.
Focus
();
4159
Focus
();
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
471
public void Focus() => ControlInternal.
Focus
();
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (1)
238
toolStrip.
Focus
();
System\Windows\Forms\Controls\TreeView\TreeNode.cs (1)
1287
tv.
Focus
();
System\Windows\Forms\Controls\TreeView\TreeView.cs (1)
3261
Focus
();
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.cs (1)
114
_parent.
Focus
();
System\Windows\Forms\Controls\WebBrowser\WebBrowserBase.cs (2)
345
Focus
();
408
Focus
();
System\Windows\Forms\MDI\MdiWindowListStrip.cs (2)
174
dialog.ActiveChildForm.ActiveControl.
Focus
();
192
boundForm.ActiveControl.
Focus
();
System\Windows\Forms\Printing\PrintPreviewControl.cs (1)
322
Focus
();
System\Windows\Forms\Printing\PrintPreviewDialog.cs (2)
1034
_toolStrip1.
Focus
();
1047
_pageCounter.
Focus
();
System\Windows\Forms\UserControl.cs (1)
296
Focus
();
System.Windows.Forms.Design (46)
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (3)
342
ctrlSender.
Focus
();
921
ctrlSender.
Focus
();
1011
ctrlSender.
Focus
();
System\ComponentModel\Design\CollectionEditor.FilterListBox.cs (2)
57
PropertyGrid.
Focus
();
84
PropertyGrid.
Focus
();
System\ComponentModel\Design\DateTimeEditor.DateTimeUI.cs (1)
83
_monthCalendar.
Focus
();
System\ComponentModel\Design\DesignerActionPanel.CheckBoxPropertyLine.cs (1)
32
public override void Focus() => _checkBox.
Focus
();
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.FlyoutDialog.cs (2)
81
_hostedControl.
Focus
();
163
parent.
Focus
();
System\ComponentModel\Design\DesignerActionPanel.MethodLine.cs (1)
40
_linkLabel.
Focus
();
System\ComponentModel\Design\DesignerActionPanel.TextBoxPropertyLine.cs (1)
73
EditControl!.
Focus
();
System\ComponentModel\Design\DesignerActionUI.cs (1)
728
_designerActionHost.
Focus
();
System\Drawing\Design\ColorEditor.ColorUI.ColorEditorTabControl.cs (1)
23
selectedTab.Controls[0].
Focus
();
System\Drawing\Design\ColorEditor.ColorUI.cs (1)
327
selectedPage.Controls[0].
Focus
();
System\Drawing\Design\SelectionPanelBase.cs (1)
41
CheckedControl.
Focus
();
System\Windows\Forms\Design\AnchorEditor.AnchorUI.cs (3)
136
_top.
Focus
();
261
Focus
();
318
_picker._tabOrder[i].
Focus
();
System\Windows\Forms\Design\BorderSidesEditor.BorderSidesEditorUI.cs (1)
65
_noneCheckBox.
Focus
();
System\Windows\Forms\Design\ComponentTray.cs (1)
1705
view.
Focus
();
System\Windows\Forms\Design\ControlDesigner.cs (1)
2179
view.
Focus
();
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (4)
146
_nameTextBox.
Focus
();
184
_dataBoundColumnRadioButton.
Focus
();
190
_nameTextBox.
Focus
();
509
_nameTextBox.
Focus
();
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (3)
126
_selectedColumns.
Focus
();
818
_selectedColumns.
Focus
();
1039
_propertyGrid1.
Focus
();
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
1644
_treeViewCtrl?.
Focus
();
System\Windows\Forms\Design\DesignerToolStripControlHost.cs (1)
83
miniToolStrip.
Focus
();
System\Windows\Forms\Design\FormatControl.cs (5)
165
formatTypeListBox.
Focus
();
171
nullValueTextBox.
Focus
();
188
decimalPlacesUpDown.
Focus
();
200
dateTimeFormatsListBox.
Focus
();
212
_customStringTextBox.
Focus
();
System\Windows\Forms\Design\NavigationalTableLayoutPanel.cs (1)
52
radioButtons[focusIndex].
Focus
();
System\Windows\Forms\Design\ShortcutKeysEditor.ShortcutKeysUI.cs (5)
251
_ctrlCheckBox.
Focus
();
268
_resetButton.
Focus
();
279
_resetButton.
Focus
();
291
_keyComboBox.
Focus
();
297
_ctrlCheckBox.
Focus
();
System\Windows\Forms\Design\TabControlDesigner.cs (1)
317
focusWnd?.
Focus
();
System\Windows\Forms\Design\ToolStripTemplateNode.cs (4)
917
tb.
Focus
();
997
designerFrame.
Focus
();
1009
_addItemButton.DropDown.
Focus
();
1351
_contextMenu.
Focus
();
System.Windows.Forms.Tests (8)
System\Windows\Forms\AccessibleObjects\Form.FormAccessibleObjectTests.cs (2)
137
form.
Focus
();
158
form.
Focus
();
System\Windows\Forms\AccessibleObjects\ListBoxAccessibleObjectTests.cs (1)
297
listBox.
Focus
();
System\Windows\Forms\ComboBoxTests.cs (1)
2885
Focus
();
System\Windows\Forms\ControlTests.Methods.cs (1)
2103
Assert.False(control.
Focus
());
System\Windows\Forms\MonthCalendarTests.cs (1)
4409
monthCalendar.
Focus
();
System\Windows\Forms\SendKeysTests.cs (1)
15
form.
Focus
();
TextBoxBaseTests.ClipboardTests.cs (1)
21
control.
Focus
();
System.Windows.Forms.TestUtilities (1)
PropertyGridInternal\SubPropertyGrid.cs (1)
109
GridView.
Focus
();
System.Windows.Forms.UI.IntegrationTests (6)
ButtonTests.cs (2)
64
Assert.True(button.
Focus
());
82
Assert.True(button.
Focus
());
ListBoxAccesibleObjectTests.cs (2)
23
textBox.
Focus
();
27
listBox.
Focus
();
ListViewTests.cs (1)
57
listView.
Focus
();
NumericUpDownTests.cs (1)
26
control.
Focus
();
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (1)
604
this.
Focus
();
System\Windows\Integration\WindowsFormsHost.cs (1)
906
{ ret.
Focus
(); }
WinFormsControlsTest (1)
MainForm.cs (1)
237
overarchingFlowLayoutPanel.Controls[(int)MainFormControlsTabOrder.ButtonsButton].
Focus
();