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