9 overrides of Navigate
System.Windows.Forms (9)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
192public override AccessibleObject? Navigate(AccessibleNavigation navigationDirection) => navigationDirection switch
System\Windows\Forms\Controls\DataGridView\DataGridView.SelectedCellsAccessibleObject.cs (1)
52public override AccessibleObject? Navigate(AccessibleNavigation navigationDirection)
System\Windows\Forms\Controls\DataGridView\DataGridView.TopRowAccessibleObject.cs (1)
153public override AccessibleObject? Navigate(AccessibleNavigation navigationDirection)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (1)
436public override AccessibleObject? Navigate(AccessibleNavigation navigationDirection)
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (1)
326public override AccessibleObject? Navigate(AccessibleNavigation navigationDirection)
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewSelectedRowCellsAccessibleObject.cs (1)
97public override AccessibleObject? Navigate(AccessibleNavigation navigationDirection)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (1)
251public override AccessibleObject? Navigate(AccessibleNavigation navdir)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (1)
451public override AccessibleObject? Navigate(AccessibleNavigation navdir)
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
229public override AccessibleObject? Navigate(AccessibleNavigation navigationDirection)
321 references to Navigate
System.Windows.Forms (4)
System\Windows\Forms\Accessibility\AccessibleObject.cs (2)
1750AccessibleObject? newObject = Navigate((AccessibleNavigation)navDir); 1762*pvarEndUpAt = AsChildIdVariant(child.Navigate((AccessibleNavigation)navDir));
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (2)
507AccessibleObject? previousRow = _owner.OwningRow.AccessibilityObject.Navigate(AccessibleNavigation.Previous); 546AccessibleObject? nextRow = _owner.OwningRow.AccessibilityObject.Navigate(AccessibleNavigation.Next);
System.Windows.Forms.Tests (317)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (24)
415Assert.Null(accessibleObject.Navigate(navdir)); 441.Setup(a => a.Navigate(AccessibleNavigation.FirstChild)) 443Assert.Same(result, mockAccessibleObject.Object.Navigate(AccessibleNavigation.FirstChild)); 460.Setup(a => a.Navigate(AccessibleNavigation.LastChild)) 462Assert.Same(result, mockAccessibleObject.Object.Navigate(AccessibleNavigation.LastChild)); 501.Setup(a => a.Navigate(navdir)) 503Assert.Null(mockAccessibleObject.Object.Navigate(navdir)); 525.Setup(a => a.Navigate(navdir)) 528Assert.Null(mockAccessibleObject.Object.Navigate(navdir)); 550AccessibleObject firstChild = form.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild); 554AccessibleObject next = firstChild.Navigate(AccessibleNavigation.Next); 557AccessibleObject previous = next.Navigate(AccessibleNavigation.Previous); 576AccessibleObject target = form.AccessibilityObject.Navigate(direction); 596AccessibleObject target = form.AccessibilityObject.Navigate(direction); 1159.Setup(a => a.Navigate((AccessibleNavigation)navDir)) 1164mockAccessibleObject.Verify(a => a.Navigate((AccessibleNavigation)navDir), Times.Once()); 1174.Setup(a => a.Navigate((AccessibleNavigation)navDir)) 1179.Setup(a => a.Navigate((AccessibleNavigation)navDir)) 1199mockAccessibleObjectChild1.Verify(a => a.Navigate((AccessibleNavigation)navDir), Times.Exactly(child1CallCount)); 1200mockAccessibleObjectChild2.Verify(a => a.Navigate((AccessibleNavigation)navDir), Times.Exactly(child2CallCount)); 1211.Setup(a => a.Navigate((AccessibleNavigation)navDir)) 1216.Setup(a => a.Navigate((AccessibleNavigation)navDir)) 1235mockAccessibleObjectChild1.Verify(a => a.Navigate((AccessibleNavigation)navDir), Times.Exactly(child1CallCount)); 1236mockAccessibleObjectChild2.Verify(a => a.Navigate((AccessibleNavigation)navDir), Times.Exactly(child2CallCount));
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (1)
1002Assert.Null(accessibleObject.Navigate(navdir));
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (12)
1006Assert.Equal(dataGridView.Rows[1].AccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild)); 1007Assert.Equal(dataGridView.Rows[1].AccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.LastChild)); 1026Assert.Equal(dataGridView.Rows[0].AccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild)); 1027Assert.Equal(dataGridView.Rows[0].AccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.LastChild)); 1047Assert.Null(dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild)); 1048Assert.Null(dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.LastChild)); 1067Assert.Equal(topRowAccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild)); 1068Assert.Equal(dataGridView.Rows[1].AccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.LastChild)); 1087Assert.Equal(topRowAccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild)); 1088Assert.Equal(dataGridView.Rows[0].AccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.LastChild)); 1108Assert.Equal(topRowAccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild)); 1109Assert.Equal(topRowAccessibilityObject, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.LastChild));
System\Windows\Forms\AccessibleObjects\DataGridViewCellAccessibleObjectTests.cs (2)
437Assert.Equal(expected, accessibleObject.Navigate(navigationDirection)); 444Assert.Throws<InvalidOperationException>(() => accessibleObject.Navigate(AccessibleNavigation.Right));
System\Windows\Forms\AccessibleObjects\DataGridViewColumnHeaderCellAccessibleObjectTests.cs (94)
352Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 353Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 354Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 356Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 357Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 358Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 374Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 375Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 377Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 378Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Previous)); 394Assert.Equal(accessibleObject3, accessibleObject1.Navigate(AccessibleNavigation.Next)); 395Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 397Assert.Equal(accessibleObject1, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 398Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 414Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 415Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Next)); 417Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 418Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 435Assert.Equal(accessibleObject1, accessibleObject0.Navigate(AccessibleNavigation.Next)); 436Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 437Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 438Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 440Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 441Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 442Assert.Equal(accessibleObject0, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 443Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.Previous)); 460Assert.Equal(accessibleObject2, accessibleObject0.Navigate(AccessibleNavigation.Next)); 461Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 462Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 464Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 465Assert.Equal(accessibleObject0, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 466Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.Previous)); 483Assert.Equal(accessibleObject1, accessibleObject0.Navigate(AccessibleNavigation.Next)); 484Assert.Equal(accessibleObject3, accessibleObject1.Navigate(AccessibleNavigation.Next)); 485Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 487Assert.Equal(accessibleObject1, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 488Assert.Equal(accessibleObject0, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 489Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.Previous)); 506Assert.Equal(accessibleObject1, accessibleObject0.Navigate(AccessibleNavigation.Next)); 507Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 508Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Next)); 510Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 511Assert.Equal(accessibleObject0, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 512Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.Previous)); 523Assert.Null(accessibleObject.Navigate(AccessibleNavigation.FirstChild)); 524Assert.Null(accessibleObject.Navigate(AccessibleNavigation.LastChild)); 536Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.FirstChild)); 537Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.LastChild)); 538Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.FirstChild)); 539Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.LastChild)); 786Assert.Equal(accessibleObject1, accessibleObject0.Navigate(AccessibleNavigation.Next)); 787Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 788Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 789Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 791Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 792Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 793Assert.Equal(accessibleObject0, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 794Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.Previous)); 814Assert.Equal(accessibleObject1, accessibleObject0.Navigate(AccessibleNavigation.Next)); 815Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 816Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Next)); 818Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 819Assert.Equal(accessibleObject0, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 820Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.Previous)); 840Assert.Equal(accessibleObject1, accessibleObject0.Navigate(AccessibleNavigation.Next)); 841Assert.Equal(accessibleObject3, accessibleObject1.Navigate(AccessibleNavigation.Next)); 842Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 844Assert.Equal(accessibleObject1, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 845Assert.Equal(accessibleObject0, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 846Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.Previous)); 866Assert.Equal(accessibleObject2, accessibleObject0.Navigate(AccessibleNavigation.Next)); 867Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 868Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 870Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 871Assert.Equal(accessibleObject0, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 872Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.Previous)); 891Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 892Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 893Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 895Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 896Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 897Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 916Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 917Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Next)); 919Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 920Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 939Assert.Equal(accessibleObject3, accessibleObject1.Navigate(AccessibleNavigation.Next)); 940Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 942Assert.Equal(accessibleObject1, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 943Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 962Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 963Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 965Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 966Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Previous));
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (140)
340Assert.Equal(expected, accessibleObject.Navigate(navigationDirection)); 347Assert.Throws<InvalidOperationException>(() => accessibleObject.Navigate(AccessibleNavigation.Right)); 815Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.Next)); 816Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 817Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 818Assert.Equal(accessibleObject4, accessibleObject3.Navigate(AccessibleNavigation.Next)); 819Assert.Null(accessibleObject4.Navigate(AccessibleNavigation.Next)); 821Assert.Equal(accessibleObject3, accessibleObject4.Navigate(AccessibleNavigation.Previous)); 822Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 823Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 824Assert.Equal(topRowAccessibleObject, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 825Assert.Null(topRowAccessibleObject.Navigate(AccessibleNavigation.Previous)); 844Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.Next)); 845Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 846Assert.Equal(accessibleObject4, accessibleObject3.Navigate(AccessibleNavigation.Next)); 847Assert.Null(accessibleObject4.Navigate(AccessibleNavigation.Next)); 849Assert.Equal(accessibleObject3, accessibleObject4.Navigate(AccessibleNavigation.Previous)); 850Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 851Assert.Equal(topRowAccessibleObject, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 852Assert.Null(topRowAccessibleObject.Navigate(AccessibleNavigation.Previous)); 871Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.Next)); 872Assert.Equal(accessibleObject3, accessibleObject1.Navigate(AccessibleNavigation.Next)); 873Assert.Equal(accessibleObject4, accessibleObject3.Navigate(AccessibleNavigation.Next)); 874Assert.Null(accessibleObject4.Navigate(AccessibleNavigation.Next)); 876Assert.Equal(accessibleObject3, accessibleObject4.Navigate(AccessibleNavigation.Previous)); 877Assert.Equal(accessibleObject1, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 878Assert.Equal(topRowAccessibleObject, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 879Assert.Null(topRowAccessibleObject.Navigate(AccessibleNavigation.Previous)); 898Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.Next)); 899Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 900Assert.Equal(accessibleObject4, accessibleObject2.Navigate(AccessibleNavigation.Next)); 901Assert.Null(accessibleObject4.Navigate(AccessibleNavigation.Next)); 903Assert.Equal(accessibleObject2, accessibleObject4.Navigate(AccessibleNavigation.Previous)); 904Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 905Assert.Equal(topRowAccessibleObject, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 906Assert.Null(topRowAccessibleObject.Navigate(AccessibleNavigation.Previous)); 923Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 924Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 925Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 927Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 928Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 929Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 946Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 947Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 949Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 950Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Previous)); 967Assert.Equal(accessibleObject3, accessibleObject1.Navigate(AccessibleNavigation.Next)); 968Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 970Assert.Equal(accessibleObject1, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 971Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 988Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 989Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Next)); 991Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 992Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 1010Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 1011Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 1012Assert.Equal(accessibleObject4, accessibleObject3.Navigate(AccessibleNavigation.Next)); 1013Assert.Null(accessibleObject4.Navigate(AccessibleNavigation.Next)); 1015Assert.Equal(accessibleObject3, accessibleObject4.Navigate(AccessibleNavigation.Previous)); 1016Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 1017Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 1018Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 1037Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 1038Assert.Equal(accessibleObject4, accessibleObject3.Navigate(AccessibleNavigation.Next)); 1039Assert.Null(accessibleObject4.Navigate(AccessibleNavigation.Next)); 1041Assert.Equal(accessibleObject3, accessibleObject4.Navigate(AccessibleNavigation.Previous)); 1042Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 1043Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Previous)); 1062Assert.Equal(accessibleObject3, accessibleObject1.Navigate(AccessibleNavigation.Next)); 1063Assert.Equal(accessibleObject4, accessibleObject3.Navigate(AccessibleNavigation.Next)); 1064Assert.Null(accessibleObject4.Navigate(AccessibleNavigation.Next)); 1066Assert.Equal(accessibleObject3, accessibleObject4.Navigate(AccessibleNavigation.Previous)); 1067Assert.Equal(accessibleObject1, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 1068Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 1087Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 1088Assert.Equal(accessibleObject4, accessibleObject2.Navigate(AccessibleNavigation.Next)); 1089Assert.Null(accessibleObject4.Navigate(AccessibleNavigation.Next)); 1091Assert.Equal(accessibleObject2, accessibleObject4.Navigate(AccessibleNavigation.Previous)); 1092Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 1093Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 1111Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.Next)); 1112Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 1113Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 1114Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 1116Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 1117Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 1118Assert.Equal(topRowAccessibleObject, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 1119Assert.Null(topRowAccessibleObject.Navigate(AccessibleNavigation.Previous)); 1137Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.Next)); 1138Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 1139Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 1141Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 1142Assert.Equal(topRowAccessibleObject, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 1143Assert.Null(topRowAccessibleObject.Navigate(AccessibleNavigation.Previous)); 1161Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.Next)); 1162Assert.Equal(accessibleObject3, accessibleObject1.Navigate(AccessibleNavigation.Next)); 1163Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 1165Assert.Equal(accessibleObject1, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 1166Assert.Equal(topRowAccessibleObject, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 1167Assert.Null(topRowAccessibleObject.Navigate(AccessibleNavigation.Previous)); 1185Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.Next)); 1186Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 1187Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Next)); 1189Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 1190Assert.Equal(topRowAccessibleObject, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 1191Assert.Null(topRowAccessibleObject.Navigate(AccessibleNavigation.Previous)); 1544Assert.Null(rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1545Assert.Null(rowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 1562Assert.Equal(accessibleObject2, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1563Assert.Equal(accessibleObject3, rowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 1580Assert.Equal(accessibleObject1, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1581Assert.Equal(accessibleObject3, rowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 1598Assert.Equal(accessibleObject1, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1599Assert.Equal(accessibleObject2, rowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 1616Assert.Null(rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1617Assert.Null(rowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 1634Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1635Assert.Equal(accessibleObject, rowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 1652Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1653Assert.Equal(accessibleObject, rowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 1670Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1671Assert.Equal(accessibleObject, rowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 1689Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1690Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 1709Assert.Equal(accessibleObject1, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1710Assert.Equal(accessibleObject2, rowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 1730Assert.Equal(accessibleObject1, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1731Assert.Equal(accessibleObject2, rowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 1751Assert.Equal(accessibleObject1, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1752Assert.Equal(accessibleObject2, rowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 1772Assert.Equal(accessibleObject1, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1773Assert.Equal(accessibleObject2, rowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 1792Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1793Assert.Equal(accessibleObject, rowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 1813Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1814Assert.Equal(accessibleObject, rowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 1834Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1835Assert.Equal(accessibleObject, rowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 1855Assert.Equal(topLeftAccessibilityObject, rowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 1856Assert.Equal(accessibleObject, rowAccessibleObject.Navigate(AccessibleNavigation.LastChild));
System\Windows\Forms\AccessibleObjects\DataGridViewSelectedCellsAccessibleObjectTests.cs (4)
166Assert.Null(accessibleObject.Navigate(AccessibleNavigation.FirstChild)); 167Assert.Null(accessibleObject.Navigate(AccessibleNavigation.LastChild)); 187Assert.Equal(selecetedCell1.AccessibilityObject, accessibleObject.Navigate(AccessibleNavigation.FirstChild)); 188Assert.Equal(selecetedCell1.AccessibilityObject, accessibleObject.Navigate(AccessibleNavigation.LastChild));
System\Windows\Forms\AccessibleObjects\DataGridViewSelectedRowCellsAccessibleObjectTests.cs (4)
173Assert.Null(accessibleObject.Navigate(AccessibleNavigation.FirstChild)); 174Assert.Null(accessibleObject.Navigate(AccessibleNavigation.LastChild)); 195Assert.Equal(selecetedCell1.AccessibilityObject, accessibleObject.Navigate(AccessibleNavigation.FirstChild)); 196Assert.Equal(selecetedCell1.AccessibilityObject, accessibleObject.Navigate(AccessibleNavigation.LastChild));
System\Windows\Forms\AccessibleObjects\DataGridViewTopRowAccessibleObjectTests.cs (34)
407Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 408Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 425Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 426Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 443Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 444Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 461Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 462Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 479Assert.Null(topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 480Assert.Null(topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 497Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 498Assert.Equal(accessibleObject, topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 515Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 516Assert.Equal(accessibleObject, topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 533Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 534Assert.Equal(accessibleObject, topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 552Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 553Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 572Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 573Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 593Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 594Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 614Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 615Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 635Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 636Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 655Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 656Assert.Equal(accessibleObject, topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 676Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 677Assert.Equal(accessibleObject, topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 697Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 698Assert.Equal(accessibleObject, topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild)); 718Assert.Equal(topLeftAccessibilityObject, topRowAccessibleObject.Navigate(AccessibleNavigation.FirstChild)); 719Assert.Equal(accessibleObject, topRowAccessibleObject.Navigate(AccessibleNavigation.LastChild));
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (2)
252Assert.Equal(buttonFirst.AccessibilityObject, panel.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild)); 253Assert.Equal(buttonLast.AccessibilityObject, panel.AccessibilityObject.Navigate(AccessibleNavigation.LastChild));