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