1 write to owner
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ListView.cs (1)
7686this.owner = owner;
47 references to owner
System.Windows.Forms (47)
winforms\Managed\System\WinForms\ListView.cs (47)
7696if (owner.columnHeaders == null || index < 0 || index >= owner.columnHeaders.Length) 7698return owner.columnHeaders[index]; 7743return owner.columnHeaders == null ? 0 : owner.columnHeaders.Length; 7854return owner.InsertColumn(Count, columnHeader); 7863owner.InsertColumn(index, value); 7874return owner.InsertColumn(Count, columnHeader); 7887return owner.InsertColumn(Count, columnHeader); 7898return owner.InsertColumn(Count, columnHeader); 7910return owner.InsertColumn(Count, columnHeader); 7923return owner.InsertColumn(Count, columnHeader); 7936return owner.InsertColumn(Count, columnHeader); 7968owner.SetDisplayIndices( indices ); 7989if (owner.columnHeaders != null) { 7990if (owner.View == View.Tile) { 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; 7996owner.columnHeaders = null; 7997if (owner.IsHandleCreated) { 7998owner.RecreateHandleInternal(); 8001for (int colIdx = owner.columnHeaders.Length-1; colIdx >= 0; colIdx--) { 8002int w = owner.columnHeaders[colIdx].Width; // Update width before detaching from ListView 8003if (owner.IsHandleCreated) { 8004owner.SendMessage(NativeMethods.LVM_DELETECOLUMN, colIdx, 0); 8006owner.columnHeaders[colIdx].OwnerListview = null; 8008owner.columnHeaders = null; 8042System.Array.Copy(owner.columnHeaders, 0, dest, index, Count); 8076owner.InsertColumn(index, value); 8179if (index < 0 || index >= owner.columnHeaders.Length) 8182int w = owner.columnHeaders[index].Width; // Update width before detaching from ListView 8185if (owner.IsHandleCreated && this.owner.View != View.Tile) { 8186int retval = unchecked( (int) (long)owner.SendMessage(NativeMethods.LVM_DELETECOLUMN, index, 0)); 8210owner.columnHeaders[index].OwnerListview = null; 8211int columnCount = owner.columnHeaders.Length; 8214owner.columnHeaders = null; 8218System.Array.Copy(owner.columnHeaders, 0, newHeaders, 0, index); 8220System.Array.Copy(owner.columnHeaders, index+1, newHeaders, index, columnCount - index); 8221owner.columnHeaders = newHeaders; 8225if (owner.IsHandleCreated && this.owner.View == View.Tile) { 8226this.owner.RecreateHandleInternal(); 8229owner.SetDisplayIndices( indices ); 8256if (owner.columnHeaders != null) { 8257return owner.columnHeaders.GetEnumerator();