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)
4430newLayout.TopLeftHeader = topLeft; 4435newLayout.TopLeftHeader = Rectangle.Empty; 4441newLayout.TopLeftHeader = Rectangle.Empty;
45 references to TopLeftHeader
System.Windows.Forms (45)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
3817Invalidate(_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); 2737if (_layout.TopLeftHeader.Width > 0) 2739clip = Rectangle.Union(_layout.TopLeftHeader, clip); 2968if (_layout.TopLeftHeader.Width > 0) 2970inside = Rectangle.Union(_layout.TopLeftHeader, inside); 6068Invalidate(Rectangle.Union(_layout.TopLeftHeader, _layout.ColumnHeaders)); 7053columnRect = rowIndex >= 0 ? _layout.RowHeaders : _layout.TopLeftHeader; 7064rowRect = columnIndex >= 0 ? _layout.ColumnHeaders : _layout.TopLeftHeader; 9302if (_layout.TopLeftHeader.Contains(x, y)) 9306hti._colStart = RightToLeftInternal ? _layout.TopLeftHeader.Right - 1 : _layout.TopLeftHeader.Left; 9308hti._rowStart = _layout.TopLeftHeader.Top; 9309if ((!RightToLeftInternal && _layout.TopLeftHeader.Right - x < ColumnSizingHotZone) 9310|| (RightToLeftInternal && x - _layout.TopLeftHeader.Left < ColumnSizingHotZone)) 9317? _layout.TopLeftHeader.Left - x - 1 9318: _layout.TopLeftHeader.Right - x - 1; 9321else if (_layout.TopLeftHeader.Top + _layout.TopLeftHeader.Height - y < RowSizingHotZone) 9327hti._mouseBarOffset = _layout.TopLeftHeader.Top + _layout.TopLeftHeader.Height - y - 1; 10489Invalidate(Rectangle.Union(_layout.TopLeftHeader, _layout.ColumnHeaders)); 13910Invalidate(Rectangle.Union(_layout.TopLeftHeader, _layout.ColumnHeaders)); 18184Invalidate(Rectangle.Union(_layout.TopLeftHeader, _layout.RowHeaders)); 19494if (_layout.TopLeftHeader.Width > 0 && (clipRect.IntersectsWith(_layout.TopLeftHeader) || _lastHeaderShadow != -1)) 19499g.SetClip(_layout.TopLeftHeader); 19674if (g.IsVisible(_layout.TopLeftHeader)) 19679Rectangle cellBounds = _layout.TopLeftHeader; 19685_layout.TopLeftHeader, 25863Invalidate(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)