15 overrides of DoDefaultAction
System.Windows.Forms (15)
System\Windows\Forms\Controls\Buttons\ButtonBase.ButtonBaseAccessibleObject.cs (1)
22
public override void
DoDefaultAction
()
System\Windows\Forms\Controls\ComboBox\ComboBox.ComboBoxAccessibleObject.cs (1)
239
public override void
DoDefaultAction
()
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
261
public override void
DoDefaultAction
()
System\Windows\Forms\Controls\DateTimePicker\DateTimePicker.DateTimePickerAccessibleObject.cs (1)
107
public override void
DoDefaultAction
()
System\Windows\Forms\Controls\Labels\LinkLabel.Link.LinkAccessibleObject.cs (1)
68
public override void
DoDefaultAction
()
System\Windows\Forms\Controls\ListBoxes\ListBox.ItemAccessibleObject.cs (1)
121
public override void
DoDefaultAction
()
System\Windows\Forms\Controls\ListView\ListViewGroup.ListViewGroupAccessibleObject.cs (1)
149
public override void
DoDefaultAction
() => SetFocus();
System\Windows\Forms\Controls\ListView\ListViewItem.ListViewItemBaseAccessibleObject.cs (1)
118
public override void
DoDefaultAction
()
System\Windows\Forms\Controls\MonthCalendar\MonthCalendar.CalendarButtonAccessibleObject.cs (1)
31
public override void
DoDefaultAction
() => Invoke();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DropDownButton.DropDownButtonAccessibleObject.cs (1)
36
public override void
DoDefaultAction
()
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
233
public override void
DoDefaultAction
()
System\Windows\Forms\Controls\TabControl\TabPage.TabAccessibleObject.cs (1)
81
public override void
DoDefaultAction
()
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
201
public override void
DoDefaultAction
()
System\Windows\Forms\Controls\TreeView\TreeNode.TreeNodeAccessibleObject.cs (1)
61
public override void
DoDefaultAction
()
System\Windows\Forms\Controls\UpDown\UpDownBase.UpDownButtons.UpDownButtonsAccessibleObject.DirectionButtonAccessibleObject.cs (1)
54
public override void
DoDefaultAction
()
43 references to DoDefaultAction
System.Windows.Forms (6)
System\Windows\Forms\Accessibility\AccessibleObject.cs (4)
780
internal virtual void Invoke() =>
DoDefaultAction
();
1138
DoDefaultAction
();
1582
DoDefaultAction
();
1590
child.
DoDefaultAction
();
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\DetailsButton.DetailsButtonAccessibleObject.cs (2)
43
DoDefaultAction
();
51
DoDefaultAction
();
System.Windows.Forms.Tests (35)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (7)
67
accessibleObject.
DoDefaultAction
();
845
.Setup(a => a.
DoDefaultAction
())
849
mockAccessibleObject.Verify(a => a.
DoDefaultAction
(), Times.Once());
859
.Setup(a => a.
DoDefaultAction
())
863
.Setup(a => a.
DoDefaultAction
())
882
mockAccessibleObjectChild1.Verify(a => a.
DoDefaultAction
(), Times.Exactly(child1CallCount));
883
mockAccessibleObjectChild2.Verify(a => a.
DoDefaultAction
(), Times.Exactly(child2CallCount));
System\Windows\Forms\AccessibleObjects\CheckedListBoxItemAccessibleObjectTests.cs (2)
230
checkedListBox.AccessibilityObject.GetChild(0).
DoDefaultAction
();
248
checkedListBox.AccessibilityObject.GetChild(0).
DoDefaultAction
();
System\Windows\Forms\AccessibleObjects\ComboBox.ComboBoxAccessibleObjectTests.cs (3)
373
comboBox.AccessibilityObject.
DoDefaultAction
();
388
comboBox.AccessibilityObject.
DoDefaultAction
();
406
comboBox.AccessibilityObject.
DoDefaultAction
();
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (1)
871
accessibleObject.
DoDefaultAction
();
System\Windows\Forms\AccessibleObjects\DataGridViewButtonCellAccessibleObjectTests.cs (1)
67
Assert.Throws<InvalidOperationException>(accessibleObject.
DoDefaultAction
);
System\Windows\Forms\AccessibleObjects\DataGridViewCellAccessibleObjectTests.cs (1)
372
Assert.Throws<InvalidOperationException>(accessibleObject.
DoDefaultAction
);
System\Windows\Forms\AccessibleObjects\DataGridViewCheckBoxCellAccessibleObjectTests.cs (6)
203
Assert.Throws<InvalidOperationException>(cell.AccessibilityObject.
DoDefaultAction
);
262
checkBoxAccessibleObject.
DoDefaultAction
();
264
checkBoxAccessibleObject.
DoDefaultAction
();
266
checkBoxAccessibleObject.
DoDefaultAction
();
268
checkBoxAccessibleObject.
DoDefaultAction
();
270
checkBoxAccessibleObject.
DoDefaultAction
();
System\Windows\Forms\AccessibleObjects\DataGridViewLinkCellAccessibleObjectTests.cs (1)
66
Assert.Throws<InvalidOperationException>(cell.AccessibilityObject.
DoDefaultAction
);
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (1)
244
accessibleObject.
DoDefaultAction
();
System\Windows\Forms\AccessibleObjects\DataGridViewRowHeaderCellAccessibleObjectTests.cs (2)
97
cell.AccessibilityObject.
DoDefaultAction
();
116
cell.AccessibilityObject.
DoDefaultAction
();
System\Windows\Forms\AccessibleObjects\DateTimePicker.DateTimePickerAccessibleObjectTests.cs (1)
340
accessibleObject.
DoDefaultAction
();
System\Windows\Forms\AccessibleObjects\ListViewItem.ListViewItemBaseAccessibleObjectTests.cs (4)
88
accessibleObject.
DoDefaultAction
();
123
accessibleObject.
DoDefaultAction
();
141
accessibleObject.
DoDefaultAction
();
291
itemAccessibleObject.
DoDefaultAction
();
System\Windows\Forms\AccessibleObjects\MonthCalendar.CalendarButtonAccessibleObjectTests.cs (1)
109
buttonAccessibleObject.
DoDefaultAction
();
System\Windows\Forms\AccessibleObjects\TabPage.TabAccessibleObjectTests.cs (3)
353
accessibleObject.
DoDefaultAction
();
372
accessibleObject.
DoDefaultAction
();
392
accessibleObject.
DoDefaultAction
();
System\Windows\Forms\DataGridViewCellTests.cs (1)
6464
.Setup(a => a.
DoDefaultAction
()).CallBase();
System.Windows.Forms.UI.IntegrationTests (2)
ListBoxItemAccessibleObjestTests.cs (2)
57
itemAccessibleObject.
DoDefaultAction
();
65
itemAccessibleObject.
DoDefaultAction
();