65 references to LastChild
System.Windows.Forms (11)
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
2604
case AccessibleNavigation.
LastChild
:
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
148
case AccessibleNavigation.
LastChild
:
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
194
AccessibleNavigation.
LastChild
=> GetChild(GetChildCount() - 1),
System\Windows\Forms\Controls\DataGridView\DataGridView.SelectedCellsAccessibleObject.cs (1)
63
case AccessibleNavigation.
LastChild
:
System\Windows\Forms\Controls\DataGridView\DataGridView.TopRowAccessibleObject.cs (1)
177
case AccessibleNavigation.
LastChild
:
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (2)
381
case AccessibleNavigation.
LastChild
:
464
NavigateDirection.NavigateDirection_LastChild => Navigate(AccessibleNavigation.
LastChild
),
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewSelectedRowCellsAccessibleObject.cs (1)
111
case AccessibleNavigation.
LastChild
:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
272
case AccessibleNavigation.
LastChild
:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (1)
459
case AccessibleNavigation.
LastChild
:
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
246
case AccessibleNavigation.
LastChild
:
System.Windows.Forms.Tests (54)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (4)
460
.Setup(a => a.Navigate(AccessibleNavigation.
LastChild
))
462
Assert.Same(result, mockAccessibleObject.Object.Navigate(AccessibleNavigation.
LastChild
));
564
[InlineData(AccessibleNavigation.
LastChild
, true, false)]
587
[InlineData(AccessibleNavigation.
LastChild
, false)]
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (6)
1007
Assert.Equal(dataGridView.Rows[1].AccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.
LastChild
));
1027
Assert.Equal(dataGridView.Rows[0].AccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.
LastChild
));
1048
Assert.Null(dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.
LastChild
));
1068
Assert.Equal(dataGridView.Rows[1].AccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.
LastChild
));
1088
Assert.Equal(dataGridView.Rows[0].AccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.
LastChild
));
1109
Assert.Equal(topRowAccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.
LastChild
));
System\Windows\Forms\AccessibleObjects\DataGridViewColumnHeaderCellAccessibleObjectTests.cs (3)
524
Assert.Null(accessibleObject.Navigate(AccessibleNavigation.
LastChild
));
537
Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.
LastChild
));
539
Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.
LastChild
));
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (19)
331
yield return new object[] { new DataGridViewRowAccessibleObject(new DataGridViewRow()), AccessibleNavigation.
LastChild
+ 1, null };
353
[InlineData(AccessibleNavigation.
LastChild
)]
1545
Assert.Null(rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
1563
Assert.Equal(accessibleObject3, rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
1581
Assert.Equal(accessibleObject3, rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
1599
Assert.Equal(accessibleObject2, rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
1617
Assert.Null(rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
1635
Assert.Equal(accessibleObject, rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
1653
Assert.Equal(accessibleObject, rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
1671
Assert.Equal(accessibleObject, rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
1690
Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
1710
Assert.Equal(accessibleObject2, rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
1731
Assert.Equal(accessibleObject2, rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
1752
Assert.Equal(accessibleObject2, rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
1773
Assert.Equal(accessibleObject2, rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
1793
Assert.Equal(accessibleObject, rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
1814
Assert.Equal(accessibleObject, rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
1835
Assert.Equal(accessibleObject, rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
1856
Assert.Equal(accessibleObject, rowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
System\Windows\Forms\AccessibleObjects\DataGridViewSelectedCellsAccessibleObjectTests.cs (2)
167
Assert.Null(accessibleObject.Navigate(AccessibleNavigation.
LastChild
));
188
Assert.Equal(selecetedCell1.AccessibilityObject, accessibleObject.Navigate(AccessibleNavigation.
LastChild
));
System\Windows\Forms\AccessibleObjects\DataGridViewSelectedRowCellsAccessibleObjectTests.cs (2)
174
Assert.Null(accessibleObject.Navigate(AccessibleNavigation.
LastChild
));
196
Assert.Equal(selecetedCell1.AccessibilityObject, accessibleObject.Navigate(AccessibleNavigation.
LastChild
));
System\Windows\Forms\AccessibleObjects\DataGridViewTopRowAccessibleObjectTests.cs (17)
408
Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
426
Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
444
Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
462
Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
480
Assert.Null(topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
498
Assert.Equal(accessibleObject, topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
516
Assert.Equal(accessibleObject, topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
534
Assert.Equal(accessibleObject, topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
553
Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
573
Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
594
Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
615
Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
636
Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
656
Assert.Equal(accessibleObject, topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
677
Assert.Equal(accessibleObject, topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
698
Assert.Equal(accessibleObject, topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
719
Assert.Equal(accessibleObject, topRowAccessibleObject.Navigate(AccessibleNavigation.
LastChild
));
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (1)
253
Assert.Equal(buttonLast.AccessibilityObject, panel.AccessibilityObject.Navigate(AccessibleNavigation.
LastChild
));