22 references to DisplayIndex
System.Windows.Forms (22)
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (5)
128
throw new ArgumentOutOfRangeException(nameof(
DisplayIndex
), SR.ColumnHeaderBadDisplayIndex);
142
if (hdr.
DisplayIndex
== DisplayIndexInternal)
146
else if (hdr.
DisplayIndex
>= lowDI && hdr.
DisplayIndex
<= hiDI)
495
return
DisplayIndex
!= Index;
System\Windows\Forms\Controls\ListView\ListView.ColumnHeaderCollection.cs (8)
271
if (header.
DisplayIndex
== -1)
276
if (!usedIndices.Contains(header.
DisplayIndex
) && header.
DisplayIndex
>= 0 && header.
DisplayIndex
< values.Length)
278
usedIndices.Add(header.
DisplayIndex
);
281
indices[i] = header.
DisplayIndex
;
523
if (hdr.
DisplayIndex
>= removeHdr.
DisplayIndex
)
System\Windows\Forms\Controls\ListView\ListView.cs (9)
2413
sumOfDisplayIndices += Columns[i].
DisplayIndex
;
2414
Debug.Assert(Columns[i].
DisplayIndex
> -1 && Columns[i].
DisplayIndex
< Columns.Count, "display indices out of whack");
3881
else if (hdr.
DisplayIndex
>= index)
4611
indices[index] = column.
DisplayIndex
;
6244
int from = Columns[header->iItem].
DisplayIndex
;
6281
if (hdr.
DisplayIndex
== from)
6285
else if (hdr.
DisplayIndex
>= lowDI && hdr.
DisplayIndex
<= hiDI)