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