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