20 references to ImageList
System.Windows.Forms (18)
System\Windows\Forms\Controls\ImageList\ImageList.cs (8)
215
if (PInvoke.
ImageList
.GetIconSize(new HandleRef<HIMAGELIST>(this, _nativeImageList.HIMAGELIST), out int x, out int y))
221
if (PInvoke.
ImageList
.GetImageInfo(new HandleRef<HIMAGELIST>(this, _nativeImageList.HIMAGELIST), 0, out IMAGEINFO imageInfo))
353
int index = PInvoke.
ImageList
.ReplaceIcon(this, -1, new HandleRef<HICON>(icon, (HICON)icon.Handle));
382
index = PInvoke.
ImageList
.Add(this, hBitmap, hMask);
434
PInvoke.
ImageList
.SetBkColor(this, (COLORREF)PInvokeCore.CLR_NONE);
531
PInvoke.
ImageList
.DrawEx(
616
if (PInvoke.
ImageList
.GetImageInfo(this, index, out IMAGEINFO imageInfo))
667
PInvoke.
ImageList
.DrawEx(
System\Windows\Forms\Controls\ImageList\ImageList.ImageCollection.cs (4)
87
return PInvoke.
ImageList
.GetImageCount(_owner);
163
ok = PInvoke.
ImageList
.Replace(_owner, index, hBitmap, hMask);
423
PInvoke.
ImageList
.Remove(_owner, -1);
548
if (!PInvoke.
ImageList
.Remove(_owner, index))
System\Windows\Forms\Controls\ImageList\ImageList.NativeImageList.cs (1)
75
PInvoke.
ImageList
.Destroy(this);
System\Windows\Forms\Controls\ImageList\ImageListStreamer.cs (2)
130
return PInvoke.
ImageList
.WriteEx(
140
return PInvoke.
ImageList
.Write(handle, stream);
System\Windows\Forms\Controls\TreeView\TreeView.cs (2)
2005
PInvoke.
ImageList
.Destroy(new HandleRef<HIMAGELIST>(this, (HIMAGELIST)handleOld));
2016
PInvoke.
ImageList
.Destroy(new HandleRef<HIMAGELIST>(this, (HIMAGELIST)handle));
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (1)
145
PInvoke.
ImageList
.Draw(
System.Windows.Forms.Tests (2)
SerializableTypesTests.cs (2)
96
Assert.True(PInvoke.
ImageList
.GetIconSize(new HandleRef<HIMAGELIST>(this, nativeImageList.HIMAGELIST), out int x, out int y));
99
Assert.True(PInvoke.
ImageList
.GetImageInfo(new HandleRef<HIMAGELIST>(this, nativeImageList.HIMAGELIST), 0, out IMAGEINFO imageInfo));