43 references to InsertionMark
System.Windows.Forms (2)
System\Windows\Forms\Controls\ListView\ListView.cs (2)
4636
if (Application.ComCtlSupportsVisualStyles && (
InsertionMark
.Index > 0))
4638
InsertionMark
.UpdateListView();
System.Windows.Forms.Tests (40)
System\Windows\Forms\ListViewInsertionMarkTests.cs (37)
16
ListViewInsertionMark insertionMark = control.
InsertionMark
;
26
ListViewInsertionMark insertionMark = control.
InsertionMark
;
48
ListViewInsertionMark insertionMark = control.
InsertionMark
;
90
ListViewInsertionMark insertionMark = control.
InsertionMark
;
94
control.
InsertionMark
.AppearsAfterItem = false;
106
control.
InsertionMark
.AppearsAfterItem = true;
118
control.
InsertionMark
.AppearsAfterItem = false;
140
ListViewInsertionMark insertionMark = control.
InsertionMark
;
141
control.
InsertionMark
.Color = Color.FromArgb(0x12, 0x34, 0x56, 0x78);
145
control.
InsertionMark
.AppearsAfterItem = false;
157
control.
InsertionMark
.AppearsAfterItem = true;
169
control.
InsertionMark
.AppearsAfterItem = false;
186
ListViewInsertionMark insertionMark = control.
InsertionMark
;
196
ListViewInsertionMark insertionMark = control.
InsertionMark
;
227
ListViewInsertionMark insertionMark = control.
InsertionMark
;
254
ListViewInsertionMark insertionMark = control.
InsertionMark
;
283
ListViewInsertionMark insertionMark = control.
InsertionMark
;
293
ListViewInsertionMark insertionMark = control.
InsertionMark
;
315
ListViewInsertionMark insertionMark = control.
InsertionMark
;
340
ListViewInsertionMark insertionMark = control.
InsertionMark
;
366
ListViewInsertionMark insertionMark = control.
InsertionMark
;
370
control.
InsertionMark
.Color = Color.Empty;
382
control.
InsertionMark
.Color = Color.FromArgb(0x12, 0x34, 0x56, 0x78);
399
ListViewInsertionMark insertionMark = control.
InsertionMark
;
409
ListViewInsertionMark insertionMark = control.
InsertionMark
;
434
ListViewInsertionMark insertionMark = control.
InsertionMark
;
463
ListViewInsertionMark insertionMark = control.
InsertionMark
;
467
control.
InsertionMark
.Index = 0;
480
control.
InsertionMark
.Index = -1;
492
control.
InsertionMark
.Index = index;
517
ListViewInsertionMark insertionMark = control.
InsertionMark
;
522
control.
InsertionMark
.Index = 0;
535
control.
InsertionMark
.Index = -1;
547
control.
InsertionMark
.Index = index;
564
ListViewInsertionMark insertionMark = control.
InsertionMark
;
573
ListViewInsertionMark insertionMark = control.
InsertionMark
;
600
ListViewInsertionMark insertionMark = control.
InsertionMark
;
System\Windows\Forms\ListViewTests.cs (3)
95
Assert.NotNull(control.
InsertionMark
);
96
Assert.Same(control.
InsertionMark
, control.
InsertionMark
);
WinFormsControlsTest (1)
ListViewTest.cs (1)
31
int index = listView1.
InsertionMark
.NearestIndex(pos);