61 references to ColumnHeadersVisible
System.Windows.Forms (61)
winforms\Managed\System\WinForms\DataGridView.cs (3)
1127
if (value == DataGridViewAutoSizeColumnsMode.ColumnHeader && !this.
ColumnHeadersVisible
)
2120
if (this.
ColumnHeadersVisible
!= value)
5157
if (this.
ColumnHeadersVisible
&& this.RowHeadersVisible)
winforms\Managed\System\WinForms\DataGridViewAccessibleObject.cs (4)
104
if (index < 1 && this.owner.
ColumnHeadersVisible
)
109
if (this.owner.
ColumnHeadersVisible
)
156
if (this.owner.
ColumnHeadersVisible
)
370
if (!this.owner.
ColumnHeadersVisible
)
winforms\Managed\System\WinForms\DataGridViewCell.cs (3)
1193
bool singleHorizontalBorderAdded = !this.DataGridView.
ColumnHeadersVisible
&& this.DataGridView.AdvancedCellBorderStyle.All == DataGridViewAdvancedCellBorderStyle.Single;
5273
if (this.owner.DataGridView.
ColumnHeadersVisible
)
5604
if (this.owner.DataGridView.
ColumnHeadersVisible
&& this.owner.OwningColumn.HasHeaderCell)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1090
int topHeaderRowIncrement = this.DataGridView.
ColumnHeadersVisible
? 1 : 0;
winforms\Managed\System\WinForms\DataGridViewColumn.cs (3)
124
if (!this.DataGridView.
ColumnHeadersVisible
&&
1241
Debug.Assert(dataGridView.
ColumnHeadersVisible
|| autoSizeColumnCriteriaInternal != DataGridViewAutoSizeColumnCriteriaInternal.Header);
1244
if (dataGridView.
ColumnHeadersVisible
&&
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (1)
1988
bool singleHorizontalBorderAdded = !this.DataGridView.
ColumnHeadersVisible
&& this.DataGridView.AdvancedCellBorderStyle.All == DataGridViewAdvancedCellBorderStyle.Single;
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (5)
101
return this.DataGridView.
ColumnHeadersVisible
&& this.OwningColumn.Displayed;
273
(this.DataGridView == null || this.DataGridView.
ColumnHeadersVisible
);
279
return this.DataGridView.RowHeadersVisible && this.DataGridView.
ColumnHeadersVisible
;
369
if (this.OwningColumn.Visible && (this.DataGridView == null || this.DataGridView.
ColumnHeadersVisible
))
390
if (this.DataGridView.RowHeadersVisible && this.DataGridView.
ColumnHeadersVisible
)
winforms\Managed\System\WinForms\DataGridViewMethods.cs (23)
51
int topHeaderRowIncrement = this.
ColumnHeadersVisible
? 1 : 0;
1699
if (autoSizeColumnMode == DataGridViewAutoSizeColumnMode.ColumnHeader && !this.
ColumnHeadersVisible
)
1722
if (!this.
ColumnHeadersVisible
)
1795
if (!this.
ColumnHeadersVisible
)
1868
Debug.Assert(autoSizeColumnCriteriaInternal != DataGridViewAutoSizeColumnCriteriaInternal.Header || this.
ColumnHeadersVisible
);
6643
if (!this.
ColumnHeadersVisible
&& this.Rows.GetRowCount(DataGridViewElementStates.Visible) == 0)
7250
includeColumnHeaders &= this.
ColumnHeadersVisible
;
7512
includeColumnHeaders &= this.
ColumnHeadersVisible
;
7804
includeColumnHeaders &= this.
ColumnHeadersVisible
;
7810
if (this.
ColumnHeadersVisible
)
9091
if (this.
ColumnHeadersVisible
)
9593
if (this.
ColumnHeadersVisible
&& this.ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.EnableResizing)
9634
if (!this.
ColumnHeadersVisible
)
9754
if (this.
ColumnHeadersVisible
&& this.ColumnHeadersHeightSizeMode == DataGridViewColumnHeadersHeightSizeMode.EnableResizing)
9767
this.
ColumnHeadersVisible
&&
10914
if (!this.
ColumnHeadersVisible
&&
11037
if (!this.
ColumnHeadersVisible
&&
14063
if (!this.
ColumnHeadersVisible
)
14362
if (this.
ColumnHeadersVisible
)
14547
bool fixedColumnWidth = autoSizeColumnCriteriaFiltered == 0 || !this.
ColumnHeadersVisible
;
14749
bool fixedColumnWidth = autoSizeColumnCriteriaFiltered == 0 || !this.
ColumnHeadersVisible
;
15196
!this.
ColumnHeadersVisible
)
15876
if (!this.
ColumnHeadersVisible
&&
winforms\Managed\System\WinForms\DataGridViewRow.cs (14)
468
if (isFirstDisplayedRow && !this.DataGridView.
ColumnHeadersVisible
)
482
if (isFirstDisplayedRow && !this.DataGridView.
ColumnHeadersVisible
)
496
if (isFirstDisplayedRow && !this.DataGridView.
ColumnHeadersVisible
)
517
if (isFirstDisplayedRow && !this.DataGridView.
ColumnHeadersVisible
)
538
if (isFirstDisplayedRow && !this.DataGridView.
ColumnHeadersVisible
)
559
if (isFirstDisplayedRow && !this.DataGridView.
ColumnHeadersVisible
)
612
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = this.DataGridView.
ColumnHeadersVisible
? DataGridViewAdvancedCellBorderStyle.Outset : DataGridViewAdvancedCellBorderStyle.OutsetDouble;
634
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = this.DataGridView.
ColumnHeadersVisible
? DataGridViewAdvancedCellBorderStyle.Outset : DataGridViewAdvancedCellBorderStyle.OutsetDouble;
656
dataGridViewAdvancedBorderStylePlaceholder.TopInternal = this.DataGridView.
ColumnHeadersVisible
? DataGridViewAdvancedCellBorderStyle.Inset : DataGridViewAdvancedCellBorderStyle.InsetDouble;
666
if (!isFirstDisplayedRow || this.DataGridView.
ColumnHeadersVisible
)
1969
if (!this.owner.DataGridView.
ColumnHeadersVisible
)
2245
if (this.owner.DataGridView.
ColumnHeadersVisible
)
2264
if (this.owner.DataGridView.
ColumnHeadersVisible
)
2273
else if (this.owner.DataGridView.
ColumnHeadersVisible
)
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (3)
1373
if (this.Owner.DataGridView.
ColumnHeadersVisible
)
1395
if (this.Owner.DataGridView.
ColumnHeadersVisible
)
1410
if (this.Owner.DataGridView.
ColumnHeadersVisible
)
winforms\Managed\System\WinForms\DataGridViewTopRowAccessibleObject.cs (1)
45
if (this.owner.
ColumnHeadersVisible
)