26 references to HasHeaderCell
System.Windows.Forms (26)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
10548if (dataGridViewColumn.HasHeaderCell) 14067if (dataGridViewColumn.HasHeaderCell 14258if (dataGridViewColumn.HasHeaderCell) 16864if (dataGridViewColumn.HasHeaderCell) 17111if (dataGridViewColumn.HasHeaderCell) 28241&& SortedColumn.HasHeaderCell) 28251if (dataGridViewColumn.SortMode == DataGridViewColumnSortMode.Automatic && dataGridViewColumn.HasHeaderCell)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.DataGridViewCellAccessibleObject.cs (2)
719if (_owner is { OwningRow.HasHeaderCell: true, DataGridView: { IsHandleCreated: true, RowHeadersVisible: true } }) 729if (_owner is { OwningColumn.HasHeaderCell: true, DataGridView: { IsHandleCreated: true, ColumnHeadersVisible: true } })
System\Windows\Forms\Controls\DataGridView\DataGridViewColumn.cs (4)
390if (HasHeaderCell) 408if ((value is not null || HasHeaderCell) && 417private bool ShouldSerializeHeaderText() => HasHeaderCell && HeaderCell.ContainsLocalValue; 831if (HasHeaderCell)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnCollection.cs (1)
288if (dataGridViewColumn.HasHeaderCell)
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (2)
1060if (HasHeaderCell) 1145if (HasHeaderCell)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowCollection.cs (10)
151if (newDataGridViewRow.HasHeaderCell) 246if (dataGridViewRow.HasHeaderCell) 362if (rowTemplate.HasHeaderCell) 432if (dataGridViewRow.HasHeaderCell) 691if (dataGridViewRow.HasHeaderCell) 758if (dataGridViewRow.HasHeaderCell) 1443if (rowTemplate.HasHeaderCell) 1534if (dataGridViewRow.HasHeaderCell) 1725if (dataGridViewRow.HasHeaderCell) 1808if (dataGridViewRow.HasHeaderCell)