114 references to Previous
System.Windows.Forms (12)
System\Windows\Forms\Accessibility\AccessibleObject.cs (1)
2606case AccessibleNavigation.Previous:
System\Windows\Forms\Accessibility\Control.ControlAccessibleObject.cs (1)
156case AccessibleNavigation.Previous:
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (2)
463case AccessibleNavigation.Previous: 507AccessibleObject? previousRow = _owner.OwningRow.AccessibilityObject.Navigate(AccessibleNavigation.Previous);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnHeaderCell.DataGridViewColumnHeaderCellAccessibleObject.cs (1)
155AccessibleNavigation.Previous => NavigateBackward(),
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewRowAccessibleObject.cs (2)
355case AccessibleNavigation.Previous: 462NavigateDirection.NavigateDirection_PreviousSibling => Navigate(AccessibleNavigation.Previous),
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.cs (1)
199case AccessibleNavigation.Previous:
System\Windows\Forms\Controls\DataGridView\DataGridViewTopLeftHeaderCell.DataGridViewTopLeftHeaderCellAccessibleObject.cs (1)
162case AccessibleNavigation.Previous:
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.GridEntryAccessibleObject.cs (2)
268case AccessibleNavigation.Previous: 338return Navigate(AccessibleNavigation.Previous);
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.ToolStripItemAccessibleObject.cs (1)
249case AccessibleNavigation.Previous:
System.Windows.Forms.Tests (102)
System\Windows\Forms\AccessibleObjects\AccessibleObjectTests.cs (5)
472yield return new object[] { childCount, parentChildCount, AccessibleNavigation.Previous }; 509[InlineData(AccessibleNavigation.Previous)] 557AccessibleObject previous = next.Navigate(AccessibleNavigation.Previous); 566[InlineData(AccessibleNavigation.Previous, true, true)] 589[InlineData(AccessibleNavigation.Previous, true)]
System\Windows\Forms\AccessibleObjects\DataGridViewColumnHeaderCellAccessibleObjectTests.cs (44)
356Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 357Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 358Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 377Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 378Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Previous)); 397Assert.Equal(accessibleObject1, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 398Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 417Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 418Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 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)); 464Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 465Assert.Equal(accessibleObject0, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 466Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.Previous)); 487Assert.Equal(accessibleObject1, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 488Assert.Equal(accessibleObject0, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 489Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.Previous)); 510Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 511Assert.Equal(accessibleObject0, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 512Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.Previous)); 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)); 818Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 819Assert.Equal(accessibleObject0, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 820Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.Previous)); 844Assert.Equal(accessibleObject1, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 845Assert.Equal(accessibleObject0, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 846Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.Previous)); 870Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 871Assert.Equal(accessibleObject0, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 872Assert.Null(accessibleObject0.Navigate(AccessibleNavigation.Previous)); 895Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 896Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 897Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 919Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 920Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 942Assert.Equal(accessibleObject1, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 943Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 965Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 966Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Previous));
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (53)
355[InlineData(AccessibleNavigation.Previous)] 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)); 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)); 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)); 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)); 927Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 928Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 929Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 949Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 950Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Previous)); 970Assert.Equal(accessibleObject1, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 971Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 991Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 992Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 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)); 1041Assert.Equal(accessibleObject3, accessibleObject4.Navigate(AccessibleNavigation.Previous)); 1042Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 1043Assert.Null(accessibleObject2.Navigate(AccessibleNavigation.Previous)); 1066Assert.Equal(accessibleObject3, accessibleObject4.Navigate(AccessibleNavigation.Previous)); 1067Assert.Equal(accessibleObject1, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 1068Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 1091Assert.Equal(accessibleObject2, accessibleObject4.Navigate(AccessibleNavigation.Previous)); 1092Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 1093Assert.Null(accessibleObject1.Navigate(AccessibleNavigation.Previous)); 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)); 1141Assert.Equal(accessibleObject2, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 1142Assert.Equal(topRowAccessibleObject, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 1143Assert.Null(topRowAccessibleObject.Navigate(AccessibleNavigation.Previous)); 1165Assert.Equal(accessibleObject1, accessibleObject3.Navigate(AccessibleNavigation.Previous)); 1166Assert.Equal(topRowAccessibleObject, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 1167Assert.Null(topRowAccessibleObject.Navigate(AccessibleNavigation.Previous)); 1189Assert.Equal(accessibleObject1, accessibleObject2.Navigate(AccessibleNavigation.Previous)); 1190Assert.Equal(topRowAccessibleObject, accessibleObject1.Navigate(AccessibleNavigation.Previous)); 1191Assert.Null(topRowAccessibleObject.Navigate(AccessibleNavigation.Previous));