7 writes to columnHeaders
System.Windows.Forms (7)
winforms\Managed\System\WinForms\ListView.cs (7)
2968
columnHeaders
= null;
3632
columnHeaders
= newHeaders;
3635
columnHeaders
= new ColumnHeader[1];
7996
owner.
columnHeaders
= null;
8008
owner.
columnHeaders
= null;
8214
owner.
columnHeaders
= null;
8221
owner.
columnHeaders
= newHeaders;
70 references to columnHeaders
System.Windows.Forms (70)
winforms\Managed\System\WinForms\ListView.cs (70)
2418
ColumnHeader col = (this.
columnHeaders
!= null && this.
columnHeaders
.Length > 0) ? this.
columnHeaders
[0] : null;
2647
subItemBounds.Width = this.
columnHeaders
[0].Width;
2658
columnHeaders
[nmcd->iSubItem],
2963
if (
columnHeaders
!= null) {
2964
for (int colIdx =
columnHeaders
.Length-1; colIdx >= 0; colIdx--) {
2965
columnHeaders
[colIdx].OwnerListview = null;
2966
columnHeaders
[colIdx].Dispose();
3317
if (
columnHeaders
== null)
3320
for (int i = 0; i <
columnHeaders
.Length; i++) {
3321
if (
columnHeaders
[i] == ch)
3627
int columnCount = (
columnHeaders
== null ? 0 :
columnHeaders
.Length);
3631
System.Array.Copy(
columnHeaders
, 0, newHeaders, 0, columnCount);
3638
System.Array.Copy(
columnHeaders
, idx,
columnHeaders
, idx + 1, columnCount - idx);
3640
columnHeaders
[idx] = ch;
3905
lvItem.cColumns = this.
columnHeaders
!= null ? Math.Min(MAXTILECOLUMNS, this.
columnHeaders
.Length) : 0;
4322
int columnCount = (
columnHeaders
== null ? 0 :
columnHeaders
.Length);
4324
int[] indices = new int [
columnHeaders
.Length];
4326
foreach(ColumnHeader column in
columnHeaders
) {
4916
(columnIndex >= 0 && this.
columnHeaders
== null) ||
4917
(columnIndex >= this.
columnHeaders
.Length)) {
4932
width = this.
columnHeaders
[columnIndex].WidthInternal;
4959
int newWidth = this.
columnHeaders
[columnIndex].Width + compensate;
5247
if (
columnHeaders
!= null) {
5248
for (int i = 0; i < this.
columnHeaders
.Length; i ++) {
5345
tileViewInfo.cLines = this.
columnHeaders
!= null ? this.
columnHeaders
.Length : 0;
5482
columnHeaders
[(int)nmcd->dwItemSpec],
5533
if (this.
columnHeaders
!= null && this.
columnHeaders
.Length > nmheader.iItem) {
5534
this.columnHeaderClicked = this.
columnHeaders
[nmheader.iItem];
5546
if (
columnHeaders
!= null && nmheader.iItem <
columnHeaders
.Length &&
5581
if (
columnHeaders
!= null && nmheader.iItem <
columnHeaders
.Length) {
5582
int w =
columnHeaders
[nmheader.iItem].Width;
5585
(this.columnHeaderClicked == this.
columnHeaders
[nmheader.iItem] &&
5634
if (this.
columnHeaders
!= null && this.
columnHeaders
.Length > nmheader.iItem) {
5635
this.
columnHeaders
[nmheader.iItem].Width = this.newWidthForColumnWidthChangingCancelled;
5744
if (this.
columnHeaders
!= null && this.
columnHeaders
.Length > nmheader.iItem) {
5745
this.
columnHeaders
[nmheader.iItem].Width = this.newWidthForColumnWidthChangingCancelled;
5761
ColumnHeader col = this.
columnHeaders
[0];
7696
if (owner.
columnHeaders
== null || index < 0 || index >= owner.
columnHeaders
.Length)
7698
return owner.
columnHeaders
[index];
7743
return owner.
columnHeaders
== null ? 0 : owner.
columnHeaders
.Length;
7989
if (owner.
columnHeaders
!= null) {
7992
for (int colIdx = owner.
columnHeaders
.Length-1; colIdx >= 0; colIdx--) {
7993
int w = owner.
columnHeaders
[colIdx].Width; // Update width before detaching from ListView
7994
owner.
columnHeaders
[colIdx].OwnerListview = null;
8001
for (int colIdx = owner.
columnHeaders
.Length-1; colIdx >= 0; colIdx--) {
8002
int w = owner.
columnHeaders
[colIdx].Width; // Update width before detaching from ListView
8006
owner.
columnHeaders
[colIdx].OwnerListview = null;
8042
System.Array.Copy(owner.
columnHeaders
, 0, dest, index, Count);
8179
if (index < 0 || index >= owner.
columnHeaders
.Length)
8182
int w = owner.
columnHeaders
[index].Width; // Update width before detaching from ListView
8210
owner.
columnHeaders
[index].OwnerListview = null;
8211
int columnCount = owner.
columnHeaders
.Length;
8218
System.Array.Copy(owner.
columnHeaders
, 0, newHeaders, 0, index);
8220
System.Array.Copy(owner.
columnHeaders
, index+1, newHeaders, index, columnCount - index);
8256
if (owner.
columnHeaders
!= null) {
8257
return owner.
columnHeaders
.GetEnumerator();