5 writes to TopLeftHeader
System.Windows.Forms (5)
winforms\Managed\System\WinForms\DataGridView.cs (1)
493this.layout.TopLeftHeader = Rectangle.Empty;
winforms\Managed\System\WinForms\DataGridViewLayoutData.cs (1)
48this.TopLeftHeader = src.TopLeftHeader;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (3)
4401newLayout.TopLeftHeader = topLeft; 4406newLayout.TopLeftHeader = Rectangle.Empty; 4412newLayout.TopLeftHeader = Rectangle.Empty;
45 references to TopLeftHeader
System.Windows.Forms (45)
winforms\Managed\System\WinForms\DataGridView.cs (1)
4815this.Invalidate(this.layout.TopLeftHeader);
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (2)
106return this.DataGridView.LayoutInfo.TopLeftHeader != Rectangle.Empty; 393if (this.DataGridView.LayoutInfo.TopLeftHeader != Rectangle.Empty)
winforms\Managed\System\WinForms\DataGridViewLayoutData.cs (2)
48this.TopLeftHeader = src.TopLeftHeader; 70sb.Append(TopLeftHeader.ToString());
winforms\Managed\System\WinForms\DataGridViewMethods.cs (39)
1741if (this.layout.TopLeftHeader.Width > 0) 1745preferredHeight = this.TopLeftHeaderCell.GetPreferredHeight(-1, this.layout.TopLeftHeader.Width); 1814if (this.layout.TopLeftHeader.Width > 0) 1818preferredHeight = this.TopLeftHeaderCell.GetPreferredHeight(-1, this.layout.TopLeftHeader.Width); 2014if (this.layout.TopLeftHeader.Width > 0) 2018preferredWidth = this.TopLeftHeaderCell.GetPreferredWidth(-1, this.layout.TopLeftHeader.Height); 2187if (this.layout.TopLeftHeader.Width > 0) 2191preferredWidth = this.TopLeftHeaderCell.GetPreferredWidth(-1, this.layout.TopLeftHeader.Height); 2462if (this.layout.TopLeftHeader.Width > 0) 2464clip = Rectangle.Union(this.layout.TopLeftHeader, clip); 2776if (this.layout.TopLeftHeader.Width > 0) 2778clip = Rectangle.Union(this.layout.TopLeftHeader, clip); 3016if (this.layout.TopLeftHeader.Width > 0) 3018inside = Rectangle.Union(this.layout.TopLeftHeader, inside); 6107Invalidate(Rectangle.Union(this.layout.TopLeftHeader, this.layout.ColumnHeaders)); 7119columnRect = this.layout.TopLeftHeader; 7143rowRect = this.layout.TopLeftHeader; 9398if (this.layout.TopLeftHeader.Contains(x, y)) 9404hti.colStart = this.layout.TopLeftHeader.Right-1; 9408hti.colStart = this.layout.TopLeftHeader.Left; 9410hti.rowStart = this.layout.TopLeftHeader.Top; 9411if ((!this.RightToLeftInternal && this.layout.TopLeftHeader.Right - x < DATAGRIDVIEW_columnSizingHotZone) || 9412(this.RightToLeftInternal && x - this.layout.TopLeftHeader.Left < DATAGRIDVIEW_columnSizingHotZone)) 9420hti.mouseBarOffset = this.layout.TopLeftHeader.Left - x - 1; 9424hti.mouseBarOffset = this.layout.TopLeftHeader.Right - x - 1; 9428else if (this.layout.TopLeftHeader.Top + this.layout.TopLeftHeader.Height - y < DATAGRIDVIEW_rowSizingHotZone) 9434hti.mouseBarOffset = this.layout.TopLeftHeader.Top + this.layout.TopLeftHeader.Height - y - 1; 10669Invalidate(Rectangle.Union(this.layout.TopLeftHeader, this.layout.ColumnHeaders)); 14364Invalidate(Rectangle.Union(this.layout.TopLeftHeader, this.layout.ColumnHeaders)); 18650Invalidate(Rectangle.Union(this.layout.TopLeftHeader, this.layout.RowHeaders)); 20046if (this.layout.TopLeftHeader.Width > 0 && 20047(clipRect.IntersectsWith(this.layout.TopLeftHeader) || this.lastHeaderShadow != -1)) 20053g.SetClip(this.layout.TopLeftHeader); 20222if (g.IsVisible(this.layout.TopLeftHeader)) 20227Rectangle cellBounds = this.layout.TopLeftHeader; 20232this.layout.TopLeftHeader, 25989Invalidate(Rectangle.Union(this.layout.TopLeftHeader, this.layout.ColumnHeaders));
winforms\Managed\System\WinForms\DataGridViewTopRowAccessibleObject.cs (1)
47Rectangle rect = Rectangle.Union(this.owner.layout.ColumnHeaders, this.owner.layout.TopLeftHeader);