65 references to FirstChild
System.Windows.Forms (11)
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
2602case AccessibleNavigation.FirstChild:
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
140case AccessibleNavigation.FirstChild:
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
193AccessibleNavigation.FirstChild => GetChild(0),
System\Windows\Forms\Controls\DataGridView\DataGridView.SelectedCellsAccessibleObject.cs (1)
58case AccessibleNavigation.FirstChild:
System\Windows\Forms\Controls\DataGridView\DataGridView.TopRowAccessibleObject.cs (1)
173case AccessibleNavigation.FirstChild:
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (2)
371case AccessibleNavigation.FirstChild: 463NavigateDirection.NavigateDirection_FirstChild => Navigate(AccessibleNavigation.FirstChild),
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewSelectedRowCellsAccessibleObject.cs (1)
101case AccessibleNavigation.FirstChild:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
271case AccessibleNavigation.FirstChild:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (1)
457case AccessibleNavigation.FirstChild:
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
243case AccessibleNavigation.FirstChild:
System.Windows.Forms.Tests (54)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (5)
441.Setup(a => a.Navigate(AccessibleNavigation.FirstChild)) 443Assert.Same(result, mockAccessibleObject.Object.Navigate(AccessibleNavigation.FirstChild)); 550AccessibleObject firstChild = form.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild); 563[InlineData(AccessibleNavigation.FirstChild, true, false)] 586[InlineData(AccessibleNavigation.FirstChild, false)]
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (6)
1006Assert.Equal(dataGridView.Rows[1].AccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild)); 1026Assert.Equal(dataGridView.Rows[0].AccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild)); 1047Assert.Null(dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild)); 1067Assert.Equal(topRowAccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild)); 1087Assert.Equal(topRowAccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild)); 1108Assert.Equal(topRowAccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild));
System\Windows\Forms\AccessibleObjects\DataGridViewColumnHeaderCellAccessibleObjectTests.cs (3)
523Assert.Null(accessibleObject.Navigate(AccessibleNavigation.FirstChild)); 536Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.FirstChild)); 538Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.FirstChild));
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (18)
352[InlineData(AccessibleNavigation.FirstChild)] 1544Assert.Null(rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1562Assert.Equal(accessibleObject2, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1580Assert.Equal(accessibleObject1, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1598Assert.Equal(accessibleObject1, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1616Assert.Null(rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1634Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1652Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1670Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1689Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1709Assert.Equal(accessibleObject1, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1730Assert.Equal(accessibleObject1, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1751Assert.Equal(accessibleObject1, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1772Assert.Equal(accessibleObject1, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1792Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1813Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1834Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1855Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild));
System\Windows\Forms\AccessibleObjects\DataGridViewSelectedCellsAccessibleObjectTests.cs (2)
166Assert.Null(accessibleObject.Navigate(AccessibleNavigation.FirstChild)); 187Assert.Equal(selecetedCell1.AccessibilityObject, accessibleObject.Navigate(AccessibleNavigation.FirstChild));
System\Windows\Forms\AccessibleObjects\DataGridViewSelectedRowCellsAccessibleObjectTests.cs (2)
173Assert.Null(accessibleObject.Navigate(AccessibleNavigation.FirstChild)); 195Assert.Equal(selecetedCell1.AccessibilityObject, accessibleObject.Navigate(AccessibleNavigation.FirstChild));
System\Windows\Forms\AccessibleObjects\DataGridViewTopRowAccessibleObjectTests.cs (17)
407Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 425Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 443Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 461Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 479Assert.Null(topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 497Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 515Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 533Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 552Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 572Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 593Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 614Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 635Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 655Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 676Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 697Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 718Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild));
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (1)
252Assert.Equal(buttonFirst.AccessibilityObject, panel.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild));