3 writes to _nativeImageList
System.Windows.Forms (3)
System\Windows\Forms\Controls\ImageList\ImageList.cs (3)
214
_nativeImageList
= himl.Duplicate();
431
_nativeImageList
= new NativeImageList(_imageSize, flags);
466
_nativeImageList
= null;
11 references to _nativeImageList
System.Windows.Forms (11)
System\Windows\Forms\Controls\ImageList\ImageList.cs (11)
112
if (
_nativeImageList
is null)
117
return
_nativeImageList
.HIMAGELIST;
128
[MemberNotNullWhen(true, nameof(
_nativeImageList
))]
129
public bool HandleCreated =>
_nativeImageList
is not null;
206
if (value.GetNativeImageList() is not { } himl || himl ==
_nativeImageList
)
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))
398
[MemberNotNull(nameof(
_nativeImageList
))]
401
Debug.Assert(
_nativeImageList
is null, "Handle already created, this may be a source of temporary GDI leaks");
430
_nativeImageList
?.Dispose();
465
_nativeImageList
.Dispose();