34 references to IsNull
PresentationCore (1)
System\Windows\Ole\WpfOleServices.cs (1)
66
return hbitmap.
IsNull
? HBITMAP.Null : hbitmap.CreateCompatibleBitmap(width, height);
System.Drawing.Common (10)
System\Drawing\BufferedGraphicsContext.cs (4)
410
if (hbitmap.
IsNull
)
424
if (!_oldBitmap.
IsNull
&& !_compatDC.IsNull)
444
if (!_dib.
IsNull
)
446
Debug.Assert(_oldBitmap.
IsNull
);
System\Drawing\Icon.cs (6)
204
if (!info.hbmColor.
IsNull
)
214
else if (!info.hbmMask.
IsNull
)
224
if (!info.hbmMask.
IsNull
)
669
if (!info.hbmColor.
IsNull
)
716
if (!info.hbmColor.
IsNull
)
721
if (!info.hbmMask.
IsNull
)
System.Private.Windows.Core (5)
Windows\Win32\Graphics\Gdi\CreateBitmapScope.cs (2)
40
public bool IsNull => HBITMAP.
IsNull
;
44
if (!HBITMAP.
IsNull
)
Windows\Win32\Graphics\Gdi\HBITMAP.cs (1)
10
if (!
IsNull
)
Windows\Win32\UI\WindowsAndMessaging\ICONINFO.cs (2)
10
if (!hbmMask.
IsNull
)
16
if (!hbmColor.
IsNull
)
System.Windows.Forms (10)
System\Windows\Forms\Control.MetafileDCWrapper.cs (3)
55
if (HDC.IsNull || _hMetafileDC.IsNull || _hBitmap.
IsNull
)
92
if (hNullBitmap.
IsNull
)
100
if (hBitmap.
IsNull
)
System\Windows\Forms\Controls\ToolStrips\CachedItemHdcInfo.cs (1)
54
if (!_cachedItemBitmap.
IsNull
)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
672
if (!info.hbmpItem.
IsNull
&& (int)info.hbmpItem > (int)HBITMAP.HBMMENU_POPUP_MINIMIZE)
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (2)
71
!hbitmapTemp.
IsNull
,
74
if (!hbitmapTemp.
IsNull
)
System\Windows\Forms\Input\Cursor.cs (2)
380
if (!info.hbmColor.
IsNull
)
385
else if (!info.hbmMask.
IsNull
)
System\Windows\Forms\Rendering\ControlPaint.cs (1)
230
if (hbitmap.
IsNull
)
System.Windows.Forms.Tests (8)
SerializableTypesTests.cs (1)
100
Assert.False(imageInfo.hbmImage.
IsNull
);
System\Windows\Forms\ControlPaintTests.cs (7)
39
Assert.False(hBitmap.
IsNull
);
64
Assert.False(hBitmap.
IsNull
);
110
Assert.False(hBitmap.
IsNull
);
142
Assert.False(hBitmap.
IsNull
);
175
Assert.False(hBitmap.
IsNull
);
218
Assert.False(hBitmap.
IsNull
);
243
Assert.False(hBitmap.
IsNull
);