2 writes to owner
System.Windows.Forms (2)
winforms\Managed\System\WinForms\DataGridViewTopRowAccessibleObject.cs (2)
33
this.
owner
= owner;
79
this.
owner
= value;
24 references to owner
System.Windows.Forms (24)
winforms\Managed\System\WinForms\DataGridViewTopRowAccessibleObject.cs (24)
41
if (this.
owner
== null)
45
if (this.
owner
.ColumnHeadersVisible)
47
Rectangle rect = Rectangle.Union(this.
owner
.layout.ColumnHeaders, this.
owner
.layout.TopLeftHeader);
48
return this.
owner
.RectangleToScreen(rect);
71
return this.
owner
;
75
if (this.
owner
!= null)
89
if (this.
owner
== null)
93
return this.
owner
.AccessibilityObject;
135
if (this.
owner
== null)
145
if (index == 0 && this.
owner
.RowHeadersVisible)
147
return this.
owner
.TopLeftHeaderCell.AccessibilityObject;
150
if (this.
owner
.RowHeadersVisible)
158
if (index < this.
owner
.Columns.GetColumnCount(DataGridViewElementStates.Visible))
160
int actualColumnIndex = this.
owner
.Columns.ActualDisplayIndexToColumnIndex(index, DataGridViewElementStates.Visible);
161
return this.
owner
.Columns[actualColumnIndex].HeaderCell.AccessibilityObject;
172
if (this.
owner
== null)
176
int result = this.
owner
.Columns.GetColumnCount(DataGridViewElementStates.Visible);
177
if (this.
owner
.RowHeadersVisible)
190
if (this.
owner
== null)
198
if (this.
owner
.AccessibilityObject.GetChildCount() > 1)
200
return this.
owner
.AccessibilityObject.GetChild(1);
229
return this.
owner
.AccessibilityObject;
289
return
owner
.Enabled;