115 references to Next
System.Windows.Forms (13)
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
2615case AccessibleNavigation.Next:
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
168case AccessibleNavigation.Next:
System\Windows\Forms\Controls\DataGridView\DataGridView.TopRowAccessibleObject.cs (1)
163case AccessibleNavigation.Next:
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (2)
455case AccessibleNavigation.Next: 546AccessibleObject? nextRow = _owner.OwningRow.AccessibilityObject.Navigate(AccessibleNavigation.Next);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.cs (1)
153AccessibleNavigation.Next => NavigateForward(),
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (2)
341case AccessibleNavigation.Next: 461NavigateDirection.NavigateDirection_NextSibling => Navigate(AccessibleNavigation.Next),
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.cs (1)
148case AccessibleNavigation.Next:
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.cs (1)
174case AccessibleNavigation.Next:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (2)
263case AccessibleNavigation.Next: 340return Navigate(AccessibleNavigation.Next);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
253case AccessibleNavigation.Next:
System.Windows.Forms.Tests (102)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (5)
475yield return new object[] { childCount, parentChildCount, AccessibleNavigation.Next }; 512[InlineData(AccessibleNavigation.Next)] 554AccessibleObject next = firstChild.Navigate(AccessibleNavigation.Next); 565[InlineData(AccessibleNavigation.Next, false, false)] 588[InlineData(AccessibleNavigation.Next, false)]
System\Windows\Forms\AccessibleObjects\DataGridViewColumnHeaderCellAccessibleObjectTests.cs (44)
352Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 353Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 354Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 374Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 375Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 394Assert.Equal(accessibleObject3, accessibleObject1.Navigate(AccessibleNavigation.Next)); 395Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 414Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 415Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Next)); 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)); 460Assert.Equal(accessibleObject2, accessibleObject0.Navigate(AccessibleNavigation.Next)); 461Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 462Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 483Assert.Equal(accessibleObject1, accessibleObject0.Navigate(AccessibleNavigation.Next)); 484Assert.Equal(accessibleObject3, accessibleObject1.Navigate(AccessibleNavigation.Next)); 485Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 506Assert.Equal(accessibleObject1, accessibleObject0.Navigate(AccessibleNavigation.Next)); 507Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 508Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Next)); 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)); 814Assert.Equal(accessibleObject1, accessibleObject0.Navigate(AccessibleNavigation.Next)); 815Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 816Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Next)); 840Assert.Equal(accessibleObject1, accessibleObject0.Navigate(AccessibleNavigation.Next)); 841Assert.Equal(accessibleObject3, accessibleObject1.Navigate(AccessibleNavigation.Next)); 842Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 866Assert.Equal(accessibleObject2, accessibleObject0.Navigate(AccessibleNavigation.Next)); 867Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 868Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 891Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 892Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 893Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 916Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 917Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Next)); 939Assert.Equal(accessibleObject3, accessibleObject1.Navigate(AccessibleNavigation.Next)); 940Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 962Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 963Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next));
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (53)
354[InlineData(AccessibleNavigation.Next)] 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)); 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)); 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)); 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)); 923Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 924Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 925Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 946Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 947Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 967Assert.Equal(accessibleObject3, accessibleObject1.Navigate(AccessibleNavigation.Next)); 968Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 988Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 989Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Next)); 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)); 1037Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 1038Assert.Equal(accessibleObject4, accessibleObject3.Navigate(AccessibleNavigation.Next)); 1039Assert.Null(accessibleObject4.Navigate(AccessibleNavigation.Next)); 1062Assert.Equal(accessibleObject3, accessibleObject1.Navigate(AccessibleNavigation.Next)); 1063Assert.Equal(accessibleObject4, accessibleObject3.Navigate(AccessibleNavigation.Next)); 1064Assert.Null(accessibleObject4.Navigate(AccessibleNavigation.Next)); 1087Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 1088Assert.Equal(accessibleObject4, accessibleObject2.Navigate(AccessibleNavigation.Next)); 1089Assert.Null(accessibleObject4.Navigate(AccessibleNavigation.Next)); 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)); 1137Assert.Equal(accessibleObject2, topRowAccessibleObject.Navigate(AccessibleNavigation.Next)); 1138Assert.Equal(accessibleObject3, accessibleObject2.Navigate(AccessibleNavigation.Next)); 1139Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 1161Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.Next)); 1162Assert.Equal(accessibleObject3, accessibleObject1.Navigate(AccessibleNavigation.Next)); 1163Assert.Null(accessibleObject3.Navigate(AccessibleNavigation.Next)); 1185Assert.Equal(accessibleObject1, topRowAccessibleObject.Navigate(AccessibleNavigation.Next)); 1186Assert.Equal(accessibleObject2, accessibleObject1.Navigate(AccessibleNavigation.Next)); 1187Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Next));