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