1 write to listView
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ListViewInsertionMark.cs (1)
28
this.
listView
= listView;
12 references to listView
System.Windows.Forms (12)
winforms\Managed\System\WinForms\ListViewInsertionMark.cs (12)
48
if (
listView
.IsHandleCreated) {
64
listView
.SendMessage(NativeMethods.LVM_GETINSERTMARKRECT, 0, ref rect);
78
color = SafeNativeMethods.ColorFromCOLORREF((int)
listView
.SendMessage(NativeMethods.LVM_GETINSERTMARKCOLOR, 0, 0));
86
if (
listView
.IsHandleCreated) {
87
listView
.SendMessage(NativeMethods.LVM_SETINSERTMARKCOLOR, 0, SafeNativeMethods.ColorToCOLORREF(color));
107
if (
listView
.IsHandleCreated) {
127
UnsafeNativeMethods.SendMessage(new HandleRef(
listView
,
listView
.Handle), NativeMethods.LVM_INSERTMARKHITTEST, point, lvInsertMark);
133
Debug.Assert(
listView
.IsHandleCreated, "ApplySavedState Precondition: List-view handle must be created");
137
UnsafeNativeMethods.SendMessage(new HandleRef(
listView
,
listView
.Handle), NativeMethods.LVM_SETINSERTMARK, 0, lvInsertMark);
140
listView
.SendMessage(NativeMethods.LVM_SETINSERTMARKCOLOR, 0, SafeNativeMethods.ColorToCOLORREF(color));