5 writes to ColumnHeaders
System.Windows.Forms (5)
winforms\Managed\System\WinForms\DataGridView.cs (1)
494
this.layout.
ColumnHeaders
= Rectangle.Empty;
winforms\Managed\System\WinForms\DataGridViewLayoutData.cs (1)
49
this.
ColumnHeaders
= src.ColumnHeaders;
winforms\Managed\System\WinForms\DataGridViewMethods.cs (3)
4362
newLayout.
ColumnHeaders
= colHeaders;
4366
newLayout.
ColumnHeaders
= Rectangle.Empty;
4402
newLayout.
ColumnHeaders
= colHeaders;
49 references to ColumnHeaders
System.Windows.Forms (49)
winforms\Managed\System\WinForms\DataGridView.cs (2)
3413
rectTmp = Rectangle.Union(rectTmp, this.layout.
ColumnHeaders
);
4814
this.Invalidate(Rectangle.Union(this.layout.Data, this.layout.
ColumnHeaders
));
winforms\Managed\System\WinForms\DataGridViewLayoutData.cs (2)
49
this.ColumnHeaders = src.
ColumnHeaders
;
73
sb.Append(
ColumnHeaders
.ToString());
winforms\Managed\System\WinForms\DataGridViewMethods.cs (44)
2461
Rectangle clip = Rectangle.Union(this.layout.
ColumnHeaders
, this.layout.Data);
2484
Rectangle cursorClip = this.layout.
ColumnHeaders
;
2517
Invalidate(this.layout.
ColumnHeaders
);
2563
Rectangle clip = Rectangle.Union(this.layout.
ColumnHeaders
, this.layout.Data);
3015
Rectangle r, inside = this.layout.
ColumnHeaders
;
4388
Rectangle colHeaders = newLayout.
ColumnHeaders
;
4701
Invalidate(this.layout.
ColumnHeaders
);
4929
rowY = this.layout.
ColumnHeaders
.Top;
5688
Rectangle rectInsertionBar = new Rectangle(0, this.layout.
ColumnHeaders
.Top, DATAGRIDVIEW_insertionBarWidth, this.layout.
ColumnHeaders
.Height);
5722
rectInsertionBar.X = Math.Max(this.layout.
ColumnHeaders
.X,
5728
this.layout.
ColumnHeaders
.Right - DATAGRIDVIEW_insertionBarWidth);
6086
int delta = y - this.layout.
ColumnHeaders
.Y - this.ColumnHeadersHeight + 1;
6107
Invalidate(Rectangle.Union(this.layout.TopLeftHeader, this.layout.
ColumnHeaders
));
7139
rowRect = this.layout.
ColumnHeaders
;
8383
columnRect.Height += this.layout.
ColumnHeaders
.Height;
8384
columnRect.Y -= this.layout.
ColumnHeaders
.Height;
8758
rectScrollingArea = Rectangle.Union(rectScrollingArea, this.layout.
ColumnHeaders
);
9441
if (this.layout.
ColumnHeaders
.Contains(x, y))
9452
hti.rowStart = this.layout.
ColumnHeaders
.Top;
9531
else if (this.layout.
ColumnHeaders
.Bottom - y < DATAGRIDVIEW_rowSizingHotZone)
9537
hti.mouseBarOffset = this.layout.
ColumnHeaders
.Bottom - y - 1;
10404
this.layout.
ColumnHeaders
.Width -= vertScrollBarWidth;
10405
Debug.Assert(this.layout.
ColumnHeaders
.Width >= 0);
10408
this.layout.
ColumnHeaders
.X += vertScrollBarWidth;
10426
this.layout.
ColumnHeaders
.Width += vertScrollBarWidth;
10429
this.layout.
ColumnHeaders
.X -= vertScrollBarWidth;
10456
this.layout.
ColumnHeaders
.Width -= vertScrollBarWidth;
10457
Debug.Assert(this.layout.
ColumnHeaders
.Width >= 0);
10460
this.layout.
ColumnHeaders
.X += vertScrollBarWidth;
10522
vertScrollBarTop = this.layout.
ColumnHeaders
.Y;
10523
vertScrollBarHeight += this.layout.
ColumnHeaders
.Height;
10669
Invalidate(Rectangle.Union(this.layout.TopLeftHeader, this.layout.
ColumnHeaders
));
13918
Invalidate(Rectangle.Union(this.layout.
ColumnHeaders
, this.layout.Data));
14364
Invalidate(Rectangle.Union(this.layout.TopLeftHeader, this.layout.
ColumnHeaders
));
14953
rightArea = Rectangle.Union(rightArea, this.layout.
ColumnHeaders
);
17205
gridRect = Rectangle.Union(gridRect, this.layout.
ColumnHeaders
);
19773
rcBelowRows.Y += this.layout.
ColumnHeaders
.Height;
19774
rcBelowRows.Height -= this.layout.
ColumnHeaders
.Height;
19890
if (g.IsVisible(this.layout.
ColumnHeaders
))
19893
bandBounds = cellBounds = this.layout.
ColumnHeaders
;
20063
columnHeadersClip = this.layout.
ColumnHeaders
;
20077
int columnHeadersHeight = this.layout.
ColumnHeaders
.Height;
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);