2 writes to _ownerDataGridView
System.Windows.Forms (2)
System\Windows\Forms\Controls\DataGridView\DataGridView.TopRowAccessibleObject.cs (2)
23
_ownerDataGridView
= owner;
62
_ownerDataGridView
= value;
29 references to _ownerDataGridView
System.Windows.Forms (29)
System\Windows\Forms\Controls\DataGridView\DataGridView.TopRowAccessibleObject.cs (29)
30
if (
_ownerDataGridView
is null)
35
if (
_ownerDataGridView
.IsHandleCreated &&
_ownerDataGridView
.ColumnHeadersVisible)
37
Rectangle rect = Rectangle.Union(
_ownerDataGridView
._layout.ColumnHeaders,
_ownerDataGridView
._layout.TopLeftHeader);
38
return
_ownerDataGridView
.RectangleToScreen(rect);
53
return
_ownerDataGridView
;
57
if (
_ownerDataGridView
is not null)
70
if (
_ownerDataGridView
is null)
75
return
_ownerDataGridView
.AccessibilityObject;
100
if (
_ownerDataGridView
is null)
112
if (index == 0 &&
_ownerDataGridView
.RowHeadersVisible)
114
return
_ownerDataGridView
.TopLeftHeaderCell.AccessibilityObject;
117
if (
_ownerDataGridView
.RowHeadersVisible)
125
if (index <
_ownerDataGridView
.Columns.GetColumnCount(DataGridViewElementStates.Visible))
127
int actualColumnIndex =
_ownerDataGridView
.Columns.ActualDisplayIndexToColumnIndex(index, DataGridViewElementStates.Visible);
128
return
_ownerDataGridView
.Columns[actualColumnIndex].HeaderCell.AccessibilityObject;
138
if (
_ownerDataGridView
is null)
143
int result =
_ownerDataGridView
.Columns.GetColumnCount(DataGridViewElementStates.Visible);
144
if (
_ownerDataGridView
.RowHeadersVisible)
155
if (
_ownerDataGridView
is null)
164
if (
_ownerDataGridView
.AccessibilityObject.GetChildCount() > 1)
166
return
_ownerDataGridView
.AccessibilityObject.GetChild(1);
190
_ownerDataGridView
is null
192
: (IRawElementProviderFragmentRoot.Interface)
_ownerDataGridView
.AccessibilityObject;
203
if (
_ownerDataGridView
is null)
208
return
_ownerDataGridView
.Rows.Count == 0 ? null : Parent.GetChild(1);
250
UIA_PROPERTY_ID.UIA_IsEnabledPropertyId =>
_ownerDataGridView
is null
252
: (VARIANT)
_ownerDataGridView
.Enabled,