1 write to _owner
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (1)
18_owner = owner.OrThrowIfNull();
45 references to _owner
System.Windows.Forms (45)
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (45)
25public virtual ColumnHeader this[int index] => _owner.GetColumnHeader(index); 73return _owner._columnHeaders is null ? 0 : _owner._columnHeaders.Length; 181return _owner.InsertColumn(Count, columnHeader); 187_owner.InsertColumn(index, value); 197return _owner.InsertColumn(Count, columnHeader); 209return _owner.InsertColumn(Count, columnHeader); 219return _owner.InsertColumn(Count, columnHeader); 230return _owner.InsertColumn(Count, columnHeader); 242return _owner.InsertColumn(Count, columnHeader); 254return _owner.InsertColumn(Count, columnHeader); 287_owner.SetDisplayIndices(indices); 309if (_owner._columnHeaders is not null) 311if (_owner.View == View.Tile) 314for (int colIdx = _owner._columnHeaders.Length - 1; colIdx >= 0; colIdx--) 316_ = _owner._columnHeaders[colIdx].Width; // Update width before detaching from ListView 317_owner._columnHeaders[colIdx].OwnerListview = null; 318_owner._columnHeaders[colIdx].ReleaseUiaProvider(); 321_owner._columnHeaders = null; 322if (_owner.IsHandleCreated) 324_owner.RecreateHandleInternal(); 329for (int colIdx = _owner._columnHeaders.Length - 1; colIdx >= 0; colIdx--) 331_ = _owner._columnHeaders[colIdx].Width; // Update width before detaching from ListView 332if (_owner.IsHandleCreated) 334PInvokeCore.SendMessage(_owner, PInvoke.LVM_DELETECOLUMN, (WPARAM)colIdx); 337_owner._columnHeaders[colIdx].OwnerListview = null; 338_owner._columnHeaders[colIdx].ReleaseUiaProvider(); 341_owner._columnHeaders = null; 373Array.Copy(_owner._columnHeaders!, 0, dest, index, Count); 405_owner.InsertColumn(index, value); 500ColumnHeader columnHeader = _owner.GetColumnHeader(index); 505if (_owner.IsHandleCreated && _owner.View != View.Tile) 507int retval = (int)PInvokeCore.SendMessage(_owner, PInvoke.LVM_DELETECOLUMN, (WPARAM)index); 536int columnCount = _owner._columnHeaders.Length; 540_owner._columnHeaders = null; 547Array.Copy(_owner._columnHeaders, 0, newHeaders, 0, index); 552Array.Copy(_owner._columnHeaders, index + 1, newHeaders, index, columnCount - index); 555_owner._columnHeaders = newHeaders; 559if (_owner.IsHandleCreated && _owner.View == View.Tile) 561_owner.RecreateHandleInternal(); 564_owner.SetDisplayIndices(indices); 586if (_owner._columnHeaders is not null) 588return _owner._columnHeaders.GetEnumerator();