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