214 references to AccessibilityObject
System.Windows.Forms (15)
System\Windows\Forms\Controls\DataGridView\DataGridView.AccessibleObject.cs (1)
83
return owner.Rows[actualRowIndex].
AccessibilityObject
;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (5)
116
return _owner.OwningRow?.
AccessibilityObject
;
506
AccessibleObject? previousRow = _owner.OwningRow.
AccessibilityObject
.Navigate(AccessibleNavigation.Previous);
518
return _owner.DataGridView.RowHeadersVisible ? _owner.OwningRow.
AccessibilityObject
.GetChild(0) : null;
545
AccessibleObject? nextRow = _owner.OwningRow.
AccessibilityObject
.Navigate(AccessibleNavigation.Next);
653
return _owner.OwningRow.
AccessibilityObject
;
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (1)
1746
PInvoke.UiaDisconnectProvider(
AccessibilityObject
);
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.DataGridViewSelectedRowCellsAccessibleObject.cs (5)
22
public override AccessibleObject Parent => _owningDataGridViewRow.
AccessibilityObject
;
47
for (int i = 1; i < _owningDataGridViewRow.
AccessibilityObject
.GetChildCount(); i++)
49
AccessibleObject? child = _owningDataGridViewRow.
AccessibilityObject
.GetChild(i);
70
for (int i = 1; i < _owningDataGridViewRow.
AccessibilityObject
.GetChildCount(); i++)
72
AccessibleObject? child = _owningDataGridViewRow.
AccessibilityObject
.GetChild(i);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.DataGridViewRowHeaderCellAccessibleObject.cs (3)
78
return Owner.OwningRow?.
AccessibilityObject
;
259
NavigateDirection.NavigateDirection_Parent => Owner.OwningRow.
AccessibilityObject
,
262
? Owner.OwningRow.
AccessibilityObject
.GetChild(1) // go to the next sibling
System.Windows.Forms.Tests (199)
System\Windows\Forms\AccessibleObjects\DataGridViewAccessibleObjectTests.cs (19)
391
Assert.Equal(row.ReadOnly, row.
AccessibilityObject
.IsReadOnly);
416
Assert.Equal(row.ReadOnly, row.
AccessibilityObject
.IsReadOnly);
441
Assert.Equal(row.ReadOnly, row.
AccessibilityObject
.IsReadOnly);
754
Assert.Equal(dataGridView.Rows[1].
AccessibilityObject
, dataGridView.AccessibilityObject.GetChild(0));
775
Assert.Equal(dataGridView.Rows[0].
AccessibilityObject
, dataGridView.AccessibilityObject.GetChild(0));
820
Assert.Equal(dataGridView.Rows[1].
AccessibilityObject
, dataGridView.AccessibilityObject.GetChild(1));
843
Assert.Equal(dataGridView.Rows[0].
AccessibilityObject
, dataGridView.AccessibilityObject.GetChild(1));
886
Assert.Equal(dataGridView.Rows[1].
AccessibilityObject
, dataGridView.AccessibilityObject.FragmentNavigate(NavigateDirection.NavigateDirection_FirstChild));
887
Assert.Equal(dataGridView.Rows[1].
AccessibilityObject
, dataGridView.AccessibilityObject.FragmentNavigate(NavigateDirection.NavigateDirection_LastChild));
906
Assert.Equal(dataGridView.Rows[0].
AccessibilityObject
, dataGridView.AccessibilityObject.FragmentNavigate(NavigateDirection.NavigateDirection_FirstChild));
907
Assert.Equal(dataGridView.Rows[0].
AccessibilityObject
, dataGridView.AccessibilityObject.FragmentNavigate(NavigateDirection.NavigateDirection_LastChild));
948
Assert.Equal(dataGridView.Rows[1].
AccessibilityObject
, dataGridView.AccessibilityObject.FragmentNavigate(NavigateDirection.NavigateDirection_LastChild));
968
Assert.Equal(dataGridView.Rows[0].
AccessibilityObject
, dataGridView.AccessibilityObject.FragmentNavigate(NavigateDirection.NavigateDirection_LastChild));
1008
Assert.Equal(dataGridView.Rows[1].
AccessibilityObject
, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild));
1009
Assert.Equal(dataGridView.Rows[1].
AccessibilityObject
, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.LastChild));
1028
Assert.Equal(dataGridView.Rows[0].
AccessibilityObject
, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.FirstChild));
1029
Assert.Equal(dataGridView.Rows[0].
AccessibilityObject
, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.LastChild));
1070
Assert.Equal(dataGridView.Rows[1].
AccessibilityObject
, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.LastChild));
1090
Assert.Equal(dataGridView.Rows[0].
AccessibilityObject
, dataGridView.AccessibilityObject.Navigate(AccessibleNavigation.LastChild));
System\Windows\Forms\AccessibleObjects\DataGridViewCellAccessibleObjectTests.cs (4)
58
int accRowWidth = dataGridView.Rows[0].
AccessibilityObject
.BoundingRectangle.Width;
89
int accRowWidth = dataGridView.Rows[0].
AccessibilityObject
.BoundingRectangle.Width;
318
yield return new object[] { new DataGridViewCellAccessibleObject(cell), row.
AccessibilityObject
};
1062
Assert.Equal(row.
AccessibilityObject
, accessibleObject.FragmentNavigate(NavigateDirection.NavigateDirection_Parent));
System\Windows\Forms\AccessibleObjects\DataGridViewRowAccessibleObjectTests.cs (166)
86
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
87
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
88
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
107
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
108
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
109
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
128
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
129
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
130
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
149
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
150
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
151
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
317
Assert.Equal(owner.
AccessibilityObject
, selectedAccessibleObject.Parent);
395
Assert.Null(dataGridViewRow.
AccessibilityObject
.FragmentRoot);
402
bool actualValue = (bool)dataGridViewRow.
AccessibilityObject
.GetPropertyValue(UIA_PROPERTY_ID.UIA_IsEnabledPropertyId);
417
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
418
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
419
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
420
AccessibleObject accessibleObject4 = dataGridView.Rows[3].
AccessibilityObject
;
447
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
448
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
449
AccessibleObject accessibleObject4 = dataGridView.Rows[3].
AccessibilityObject
;
474
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
475
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
476
AccessibleObject accessibleObject4 = dataGridView.Rows[3].
AccessibilityObject
;
501
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
502
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
503
AccessibleObject accessibleObject4 = dataGridView.Rows[3].
AccessibilityObject
;
526
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
527
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
528
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
550
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
551
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
571
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
572
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
592
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
593
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
612
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
613
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
614
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
615
AccessibleObject accessibleObject4 = dataGridView.Rows[3].
AccessibilityObject
;
640
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
641
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
642
AccessibleObject accessibleObject4 = dataGridView.Rows[3].
AccessibilityObject
;
665
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
666
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
667
AccessibleObject accessibleObject4 = dataGridView.Rows[3].
AccessibilityObject
;
690
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
691
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
692
AccessibleObject accessibleObject4 = dataGridView.Rows[3].
AccessibilityObject
;
714
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
715
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
716
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
741
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
742
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
765
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
766
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
789
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
790
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
812
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
813
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
814
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
815
AccessibleObject accessibleObject4 = dataGridView.Rows[3].
AccessibilityObject
;
842
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
843
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
844
AccessibleObject accessibleObject4 = dataGridView.Rows[3].
AccessibilityObject
;
869
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
870
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
871
AccessibleObject accessibleObject4 = dataGridView.Rows[3].
AccessibilityObject
;
896
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
897
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
898
AccessibleObject accessibleObject4 = dataGridView.Rows[3].
AccessibilityObject
;
921
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
922
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
923
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
945
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
946
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
966
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
967
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
987
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
988
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
1007
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
1008
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
1009
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
1010
AccessibleObject accessibleObject4 = dataGridView.Rows[3].
AccessibilityObject
;
1035
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
1036
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
1037
AccessibleObject accessibleObject4 = dataGridView.Rows[3].
AccessibilityObject
;
1060
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
1061
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
1062
AccessibleObject accessibleObject4 = dataGridView.Rows[3].
AccessibilityObject
;
1085
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
1086
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
1087
AccessibleObject accessibleObject4 = dataGridView.Rows[3].
AccessibilityObject
;
1109
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
1110
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
1111
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
1136
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
1137
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
1160
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
1161
AccessibleObject accessibleObject3 = dataGridView.Rows[2].
AccessibilityObject
;
1184
AccessibleObject accessibleObject1 = dataGridView.Rows[0].
AccessibilityObject
;
1185
AccessibleObject accessibleObject2 = dataGridView.Rows[1].
AccessibilityObject
;
1204
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1219
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1235
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1253
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1271
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1291
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1307
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1325
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1343
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1363
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1382
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1403
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1424
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1445
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1465
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1486
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1507
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1528
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1544
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1560
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1578
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1596
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1616
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1632
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1650
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1668
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1688
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1707
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1728
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1749
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1770
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1790
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1811
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1832
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1853
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1873
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1889
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1910
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1929
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1948
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1966
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
1991
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2009
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2030
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2051
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2074
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2098
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2120
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2142
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2163
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2189
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2213
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2237
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2257
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2272
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2288
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2305
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2319
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2334
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2350
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2367
AccessibleObject rowAccessibleObject = dataGridView.Rows[0].
AccessibilityObject
;
2386
Assert.Equal("test1", ((BSTR)dataGridView.Rows[0].
AccessibilityObject
.GetPropertyValue(UIA_PROPERTY_ID.UIA_ValueValuePropertyId)).ToStringAndFree());
2401
Assert.Equal(string.Format(SR.DataGridView_AccRowName, expectedIndex), dataGridView.Rows[0].
AccessibilityObject
.Name);
System\Windows\Forms\AccessibleObjects\DataGridViewRowHeaderCellAccessibleObjectTests.cs (3)
35
Assert.Equal(cell.OwningRow.
AccessibilityObject
, accessibleObject.Parent);
60
Assert.Equal(row.
AccessibilityObject
.Name, row.HeaderCell.AccessibilityObject.Name);
145
AccessibleObject expected = row.
AccessibilityObject
;
System\Windows\Forms\AccessibleObjects\DataGridViewRowsAccessibleObjectTests.cs (2)
31
accRowHeightSum += dataGridView.Rows[i].
AccessibilityObject
.BoundingRectangle.Height;
60
accRowHeightSum += dataGridView.Rows[i].
AccessibilityObject
.BoundingRectangle.Height;
System\Windows\Forms\AccessibleObjects\DataGridViewSelectedRowCellsAccessibleObjectTests.cs (1)
65
Assert.Equal(row.
AccessibilityObject
, accessibleObject.Parent);
System\Windows\Forms\AccessibleObjects\DataGridViewTopRowAccessibleObjectTests.cs (1)
21
AccessibleObject expectedNextSibling = dataGridView.Rows[0].
AccessibilityObject
;
System\Windows\Forms\DataGridViewRowTests.cs (3)
5805
Assert.Same(
AccessibilityObject
,
AccessibilityObject
);
5806
DataGridViewRowAccessibleObject accessibilityObject = Assert.IsType<DataGridViewRowAccessibleObject>(
AccessibilityObject
);