458 references to AccessibleNavigation
System.Windows.Forms (93)
System\Windows\Forms\Accessibility\AccessibleObject.cs (16)
417
internal virtual bool GetSysChild(
AccessibleNavigation
navdir, out AccessibleObject? accessibleObject)
1750
AccessibleObject? newObject = Navigate((
AccessibleNavigation
)navDir);
1762
*pvarEndUpAt = AsChildIdVariant(child.Navigate((
AccessibleNavigation
)navDir));
1767
if (SysNavigate((
AccessibleNavigation
)navDir, varStart, out AccessibleObject? accessibleObject))
2595
public virtual AccessibleObject? Navigate(
AccessibleNavigation
navdir)
2602
case
AccessibleNavigation
.FirstChild:
2604
case
AccessibleNavigation
.LastChild:
2606
case
AccessibleNavigation
.Previous:
2607
case
AccessibleNavigation
.Up:
2608
case
AccessibleNavigation
.Left:
2615
case
AccessibleNavigation
.Next:
2616
case
AccessibleNavigation
.Down:
2617
case
AccessibleNavigation
.Right:
2780
/// This is basically just a wrapper for <see cref="GetSysChild(
AccessibleNavigation
, out AccessibleObject?)"/>
2782
/// <see cref="GetSysChild(
AccessibleNavigation
, out AccessibleObject?)"/>.
2787
private bool SysNavigate(
AccessibleNavigation
direction, VARIANT childID, out AccessibleObject? accessibleObject)
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (5)
120
internal override bool GetSysChild(
AccessibleNavigation
navdir, out AccessibleObject? accessibleObject)
140
case
AccessibleNavigation
.FirstChild:
148
case
AccessibleNavigation
.LastChild:
156
case
AccessibleNavigation
.Previous:
168
case
AccessibleNavigation
.Next:
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (3)
192
public override AccessibleObject? Navigate(
AccessibleNavigation
navigationDirection) => navigationDirection switch
194
AccessibleNavigation
.FirstChild => GetChild(0),
195
AccessibleNavigation
.LastChild => GetChild(GetChildCount() - 1),
System\Windows\Forms\Controls\DataGridView\DataGridView.SelectedCellsAccessibleObject.cs (3)
52
public override AccessibleObject? Navigate(
AccessibleNavigation
navigationDirection)
58
case
AccessibleNavigation
.FirstChild:
63
case
AccessibleNavigation
.LastChild:
System\Windows\Forms\Controls\DataGridView\DataGridView.TopRowAccessibleObject.cs (5)
153
public override AccessibleObject? Navigate(
AccessibleNavigation
navigationDirection)
162
case
AccessibleNavigation
.Down:
163
case
AccessibleNavigation
.Next:
173
case
AccessibleNavigation
.FirstChild:
177
case
AccessibleNavigation
.LastChild:
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (9)
436
public override AccessibleObject? Navigate(
AccessibleNavigation
navigationDirection)
450
case
AccessibleNavigation
.Right:
455
case
AccessibleNavigation
.Next:
458
case
AccessibleNavigation
.Left:
463
case
AccessibleNavigation
.Previous:
466
case
AccessibleNavigation
.Up:
479
case
AccessibleNavigation
.Down:
507
AccessibleObject? previousRow = _owner.OwningRow.AccessibilityObject.Navigate(
AccessibleNavigation
.Previous);
546
AccessibleObject? nextRow = _owner.OwningRow.AccessibilityObject.Navigate(
AccessibleNavigation
.Next);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.cs (5)
138
public override AccessibleObject? Navigate(
AccessibleNavigation
navigationDirection)
152
AccessibleNavigation
.Right => Owner.DataGridView.RightToLeft == RightToLeft.No ? NavigateForward() : NavigateBackward(),
153
AccessibleNavigation
.Next => NavigateForward(),
154
AccessibleNavigation
.Left => Owner.DataGridView.RightToLeft == RightToLeft.No ? NavigateBackward() : NavigateForward(),
155
AccessibleNavigation
.Previous => NavigateBackward(),
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (11)
326
public override AccessibleObject? Navigate(
AccessibleNavigation
navigationDirection)
340
case
AccessibleNavigation
.Down:
341
case
AccessibleNavigation
.Next:
354
case
AccessibleNavigation
.Up:
355
case
AccessibleNavigation
.Previous:
371
case
AccessibleNavigation
.FirstChild:
381
case
AccessibleNavigation
.LastChild:
461
NavigateDirection.NavigateDirection_NextSibling => Navigate(
AccessibleNavigation
.Next),
462
NavigateDirection.NavigateDirection_PreviousSibling => Navigate(
AccessibleNavigation
.Previous),
463
NavigateDirection.NavigateDirection_FirstChild => Navigate(
AccessibleNavigation
.FirstChild),
464
NavigateDirection.NavigateDirection_LastChild => Navigate(
AccessibleNavigation
.LastChild),
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewSelectedRowCellsAccessibleObject.cs (3)
97
public override AccessibleObject? Navigate(
AccessibleNavigation
navigationDirection)
101
case
AccessibleNavigation
.FirstChild:
111
case
AccessibleNavigation
.LastChild:
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.cs (5)
134
public override AccessibleObject? Navigate(
AccessibleNavigation
navigationDirection)
148
case
AccessibleNavigation
.Next:
153
case
AccessibleNavigation
.Down:
172
case
AccessibleNavigation
.Up:
199
case
AccessibleNavigation
.Previous:
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.cs (5)
147
public override AccessibleObject? Navigate(
AccessibleNavigation
navigationDirection)
162
case
AccessibleNavigation
.Previous:
164
case
AccessibleNavigation
.Left:
174
case
AccessibleNavigation
.Next:
176
case
AccessibleNavigation
.Right:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (11)
251
public override AccessibleObject? Navigate(
AccessibleNavigation
navdir)
261
case
AccessibleNavigation
.Down:
262
case
AccessibleNavigation
.Right:
263
case
AccessibleNavigation
.Next:
266
case
AccessibleNavigation
.Up:
267
case
AccessibleNavigation
.Left:
268
case
AccessibleNavigation
.Previous:
271
case
AccessibleNavigation
.FirstChild:
272
case
AccessibleNavigation
.LastChild:
338
return Navigate(
AccessibleNavigation
.Previous);
340
return Navigate(
AccessibleNavigation
.Next);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.PropertyGridViewAccessibleObject.cs (3)
451
public override AccessibleObject? Navigate(
AccessibleNavigation
navdir)
458
case
AccessibleNavigation
.FirstChild:
460
case
AccessibleNavigation
.LastChild:
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (9)
229
public override AccessibleObject? Navigate(
AccessibleNavigation
navigationDirection)
243
case
AccessibleNavigation
.FirstChild:
246
case
AccessibleNavigation
.LastChild:
249
case
AccessibleNavigation
.Previous:
250
case
AccessibleNavigation
.Left:
253
case
AccessibleNavigation
.Next:
254
case
AccessibleNavigation
.Right:
257
case
AccessibleNavigation
.Up:
261
case
AccessibleNavigation
.Down:
System.Windows.Forms.Tests (365)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (58)
410
[EnumData<
AccessibleNavigation
>]
411
[InvalidEnumData<
AccessibleNavigation
>]
412
public void AccessibleObject_Navigate_InvokeDefault_ReturnsNull(
AccessibleNavigation
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));
472
yield return new object[] { childCount, parentChildCount,
AccessibleNavigation
.Previous };
473
yield return new object[] { childCount, parentChildCount,
AccessibleNavigation
.Up };
474
yield return new object[] { childCount, parentChildCount,
AccessibleNavigation
.Left };
475
yield return new object[] { childCount, parentChildCount,
AccessibleNavigation
.Next };
476
yield return new object[] { childCount, parentChildCount,
AccessibleNavigation
.Down };
477
yield return new object[] { childCount, parentChildCount,
AccessibleNavigation
.Right };
484
public void AccessibleObject_Navigate_InvokeWithParent_ReturnsNull(int childCount, int parentChildCount,
AccessibleNavigation
navdir)
509
[InlineData(
AccessibleNavigation
.Previous)]
510
[InlineData(
AccessibleNavigation
.Up)]
511
[InlineData(
AccessibleNavigation
.Left)]
512
[InlineData(
AccessibleNavigation
.Next)]
513
[InlineData(
AccessibleNavigation
.Down)]
514
[InlineData(
AccessibleNavigation
.Right)]
515
public void AccessibleObject_Navigate_InvokeWithChildrenWithoutParent_ReturnsNull(
AccessibleNavigation
navdir)
550
AccessibleObject firstChild = form.AccessibilityObject.Navigate(
AccessibleNavigation
.FirstChild);
554
AccessibleObject next = firstChild.Navigate(
AccessibleNavigation
.Next);
557
AccessibleObject previous = next.Navigate(
AccessibleNavigation
.Previous);
563
[InlineData(
AccessibleNavigation
.FirstChild, true, false)]
564
[InlineData(
AccessibleNavigation
.LastChild, true, false)]
565
[InlineData(
AccessibleNavigation
.Next, false, false)]
566
[InlineData(
AccessibleNavigation
.Previous, true, true)]
567
[InlineData(
AccessibleNavigation
.Right, false, false)]
568
[InlineData(
AccessibleNavigation
.Up, true, true)]
569
public void AccessibleObject_Navigate_FromForm_OneChild(
AccessibleNavigation
direction, bool returnsObject, bool isSystemAccessible)
586
[InlineData(
AccessibleNavigation
.FirstChild, false)]
587
[InlineData(
AccessibleNavigation
.LastChild, false)]
588
[InlineData(
AccessibleNavigation
.Next, false)]
589
[InlineData(
AccessibleNavigation
.Previous, true)]
590
[InlineData(
AccessibleNavigation
.Right, false)]
591
[InlineData(
AccessibleNavigation
.Up, true)]
592
public void AccessibleObject_Navigate_FromForm_NoChildren(
AccessibleNavigation
direction, bool returnsObject)
1151
[InlineData((int)
AccessibleNavigation
.Right, 0)]
1152
[InlineData((int)
AccessibleNavigation
.Right, unchecked((int)0x80020004))]
1153
[InlineData((int)
AccessibleNavigation
.Right, "abc")]
1154
[InlineData((int)
AccessibleNavigation
.Right, null)]
1159
.Setup(a => a.Navigate((
AccessibleNavigation
)navDir))
1164
mockAccessibleObject.Verify(a => a.Navigate((
AccessibleNavigation
)navDir), Times.Once());
1168
[InlineData((int)
AccessibleNavigation
.Right, 2, 1, 0)]
1169
[InlineData((int)
AccessibleNavigation
.Right, 3, 0, 1)]
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));
1204
[InlineData((int)
AccessibleNavigation
.Right, 2, 1, 0)]
1205
[InlineData((int)
AccessibleNavigation
.Right, 3, 0, 1)]
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));
1240
[InlineData((int)
AccessibleNavigation
.Right, -1)]
1241
[InlineData((int)
AccessibleNavigation
.Right, 4)]
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (2)
997
[EnumData<
AccessibleNavigation
>]
998
public void AccessibleObject_Navigate_InvokeDefault_ReturnsNull(
AccessibleNavigation
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 (4)
425
yield return new object[] { new DataGridViewCellAccessibleObject(new SubDataGridViewCell()),
AccessibleNavigation
.Right, null };
430
yield return new object[] { new DataGridViewCellAccessibleObject(cell),
AccessibleNavigation
.Right, null };
435
public void DataGridViewCellAccessibleObject_Navigate_Invoke_ReturnsExpected(AccessibleObject accessibleObject,
AccessibleNavigation
navigationDirection, AccessibleObject expected)
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 (151)
330
yield return new object[] { new DataGridViewRowAccessibleObject(new DataGridViewRow()),
AccessibleNavigation
.Up - 1, null };
331
yield return new object[] { new DataGridViewRowAccessibleObject(new DataGridViewRow()),
AccessibleNavigation
.LastChild + 1, null };
332
yield return new object[] { new DataGridViewRowAccessibleObject(new DataGridViewRow()),
AccessibleNavigation
.Left, null };
333
yield return new object[] { new DataGridViewRowAccessibleObject(new DataGridViewRow()),
AccessibleNavigation
.Right, null };
338
public void DataGridViewRowAccessibleObject_Navigate_Invoke_ReturnsExpected(AccessibleObject accessibleObject,
AccessibleNavigation
navigationDirection, AccessibleObject expected)
347
Assert.Throws<InvalidOperationException>(() => accessibleObject.Navigate(
AccessibleNavigation
.Right));
351
[InlineData(
AccessibleNavigation
.Down)]
352
[InlineData(
AccessibleNavigation
.FirstChild)]
353
[InlineData(
AccessibleNavigation
.LastChild)]
354
[InlineData(
AccessibleNavigation
.Next)]
355
[InlineData(
AccessibleNavigation
.Previous)]
356
[InlineData(
AccessibleNavigation
.Up)]
357
public void DataGridViewRowAccessibleObject_Navigate_NoDataGridView_ThrowsNullReferenceException(
AccessibleNavigation
navigationDirection)
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));