5 writes to TopLeftHeader
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
446TopLeftHeader = Rectangle.Empty,
System\Windows\Forms\Controls\DataGridView\DataGridView.LayoutData.cs (1)
45TopLeftHeader = src.TopLeftHeader;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
4433newLayout.TopLeftHeader = topLeft; 4438newLayout.TopLeftHeader = Rectangle.Empty; 4444newLayout.TopLeftHeader = Rectangle.Empty;
45 references to TopLeftHeader
System.Windows.Forms (45)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3818Invalidate(_layout.TopLeftHeader);
System\Windows\Forms\Controls\DataGridView\DataGridView.LayoutData.cs (2)
45TopLeftHeader = src.TopLeftHeader; 61TopLeftHeader = {{TopLeftHeader}}
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (39)
1757if (_layout.TopLeftHeader.Width > 0) 1760? TopLeftHeaderCell.GetPreferredHeight(-1, _layout.TopLeftHeader.Width) 1822if (_layout.TopLeftHeader.Width > 0) 1825? TopLeftHeaderCell.GetPreferredHeight(-1, _layout.TopLeftHeader.Width) 2015if (_layout.TopLeftHeader.Width > 0) 2018? TopLeftHeaderCell.GetPreferredWidth(-1, _layout.TopLeftHeader.Height) 2177if (_layout.TopLeftHeader.Width > 0) 2180? TopLeftHeaderCell.GetPreferredWidth(-1, _layout.TopLeftHeader.Height) 2432if (_layout.TopLeftHeader.Width > 0) 2434clip = Rectangle.Union(_layout.TopLeftHeader, clip); 2740if (_layout.TopLeftHeader.Width > 0) 2742clip = Rectangle.Union(_layout.TopLeftHeader, clip); 2971if (_layout.TopLeftHeader.Width > 0) 2973inside = Rectangle.Union(_layout.TopLeftHeader, inside); 6071Invalidate(Rectangle.Union(_layout.TopLeftHeader, _layout.ColumnHeaders)); 7056columnRect = rowIndex >= 0 ? _layout.RowHeaders : _layout.TopLeftHeader; 7067rowRect = columnIndex >= 0 ? _layout.ColumnHeaders : _layout.TopLeftHeader; 9305if (_layout.TopLeftHeader.Contains(x, y)) 9309hti._colStart = RightToLeftInternal ? _layout.TopLeftHeader.Right - 1 : _layout.TopLeftHeader.Left; 9311hti._rowStart = _layout.TopLeftHeader.Top; 9312if ((!RightToLeftInternal && _layout.TopLeftHeader.Right - x < ColumnSizingHotZone) 9313|| (RightToLeftInternal && x - _layout.TopLeftHeader.Left < ColumnSizingHotZone)) 9320? _layout.TopLeftHeader.Left - x - 1 9321: _layout.TopLeftHeader.Right - x - 1; 9324else if (_layout.TopLeftHeader.Top + _layout.TopLeftHeader.Height - y < RowSizingHotZone) 9330hti._mouseBarOffset = _layout.TopLeftHeader.Top + _layout.TopLeftHeader.Height - y - 1; 10492Invalidate(Rectangle.Union(_layout.TopLeftHeader, _layout.ColumnHeaders)); 13913Invalidate(Rectangle.Union(_layout.TopLeftHeader, _layout.ColumnHeaders)); 18187Invalidate(Rectangle.Union(_layout.TopLeftHeader, _layout.RowHeaders)); 19497if (_layout.TopLeftHeader.Width > 0 && (clipRect.IntersectsWith(_layout.TopLeftHeader) || _lastHeaderShadow != -1)) 19502g.SetClip(_layout.TopLeftHeader); 19677if (g.IsVisible(_layout.TopLeftHeader)) 19682Rectangle cellBounds = _layout.TopLeftHeader; 19688_layout.TopLeftHeader, 25866Invalidate(Rectangle.Union(_layout.TopLeftHeader, _layout.ColumnHeaders));
System\Windows\Forms\Controls\DataGridView\DataGridView.TopRowAccessibleObject.cs (1)
37Rectangle rect = Rectangle.Union(_ownerDataGridView._layout.ColumnHeaders, _ownerDataGridView._layout.TopLeftHeader);
System\Windows\Forms\Controls\DataGridView\DataGridViewHeaderCell.cs (2)
74return DataGridView.LayoutInfo.TopLeftHeader != Rectangle.Empty; 294if (DataGridView.LayoutInfo.TopLeftHeader != Rectangle.Empty)