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