5 writes to TopLeftHeader
System.Windows.Forms (5)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
451TopLeftHeader = Rectangle.Empty,
System\Windows\Forms\Controls\DataGridView\DataGridView.LayoutData.cs (1)
45TopLeftHeader = src.TopLeftHeader;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (3)
4489newLayout.TopLeftHeader = topLeft; 4494newLayout.TopLeftHeader = Rectangle.Empty; 4500newLayout.TopLeftHeader = Rectangle.Empty;
45 references to TopLeftHeader
System.Windows.Forms (45)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3822Invalidate(_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)
1802if (_layout.TopLeftHeader.Width > 0) 1805? TopLeftHeaderCell.GetPreferredHeight(-1, _layout.TopLeftHeader.Width) 1867if (_layout.TopLeftHeader.Width > 0) 1870? TopLeftHeaderCell.GetPreferredHeight(-1, _layout.TopLeftHeader.Width) 2060if (_layout.TopLeftHeader.Width > 0) 2063? TopLeftHeaderCell.GetPreferredWidth(-1, _layout.TopLeftHeader.Height) 2222if (_layout.TopLeftHeader.Width > 0) 2225? TopLeftHeaderCell.GetPreferredWidth(-1, _layout.TopLeftHeader.Height) 2477if (_layout.TopLeftHeader.Width > 0) 2479clip = Rectangle.Union(_layout.TopLeftHeader, clip); 2782if (_layout.TopLeftHeader.Width > 0) 2784clip = Rectangle.Union(_layout.TopLeftHeader, clip); 3027if (_layout.TopLeftHeader.Width > 0) 3029inside = Rectangle.Union(_layout.TopLeftHeader, inside); 6127Invalidate(Rectangle.Union(_layout.TopLeftHeader, _layout.ColumnHeaders)); 7112columnRect = rowIndex >= 0 ? _layout.RowHeaders : _layout.TopLeftHeader; 7123rowRect = columnIndex >= 0 ? _layout.ColumnHeaders : _layout.TopLeftHeader; 9361if (_layout.TopLeftHeader.Contains(x, y)) 9365hti._colStart = RightToLeftInternal ? _layout.TopLeftHeader.Right - 1 : _layout.TopLeftHeader.Left; 9367hti._rowStart = _layout.TopLeftHeader.Top; 9368if ((!RightToLeftInternal && _layout.TopLeftHeader.Right - x < ColumnSizingHotZone) 9369|| (RightToLeftInternal && x - _layout.TopLeftHeader.Left < ColumnSizingHotZone)) 9376? _layout.TopLeftHeader.Left - x - 1 9377: _layout.TopLeftHeader.Right - x - 1; 9380else if (_layout.TopLeftHeader.Top + _layout.TopLeftHeader.Height - y < RowSizingHotZone) 9386hti._mouseBarOffset = _layout.TopLeftHeader.Top + _layout.TopLeftHeader.Height - y - 1; 10548Invalidate(Rectangle.Union(_layout.TopLeftHeader, _layout.ColumnHeaders)); 13969Invalidate(Rectangle.Union(_layout.TopLeftHeader, _layout.ColumnHeaders)); 18249Invalidate(Rectangle.Union(_layout.TopLeftHeader, _layout.RowHeaders)); 19559if (_layout.TopLeftHeader.Width > 0 && (clipRect.IntersectsWith(_layout.TopLeftHeader) || _lastHeaderShadow != -1)) 19564g.SetClip(_layout.TopLeftHeader); 19739if (g.IsVisible(_layout.TopLeftHeader)) 19744Rectangle cellBounds = _layout.TopLeftHeader; 19750_layout.TopLeftHeader, 25936Invalidate(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)