16 references to IsNull
System.Private.Windows.Core (3)
Windows\Win32\Graphics\Gdi\CreateBrushScope.cs (3)
41
public bool IsNull => HBRUSH.
IsNull
;
45
if (!HBRUSH.
IsNull
)
59
if (HBRUSH.
IsNull
)
System.Windows.Forms (9)
System\Windows\Forms\Control.cs (4)
803
Debug.Assert(!backBrush.
IsNull
, "Failed to create brushHandle");
4783
if (!backBrush.
IsNull
)
6679
if (!backBrush.
IsNull
)
7543
if (!backBrush.
IsNull
)
System\Windows\Forms\Design\ComponentEditorForm.PageSelector.cs (5)
55
Debug.Assert(_hbrushDither.
IsNull
, "Brush should not be recreated.");
79
!_hbrushDither.
IsNull
,
109
if (((state & STATE_SELECTED) != 0) && !_hbrushDither.
IsNull
)
193
if (_hbrushDither.
IsNull
)
253
if (!RecreatingHandle && !_hbrushDither.
IsNull
)
System.Windows.Forms.Primitives (3)
System\Windows\Forms\DeviceContextExtensions.cs (3)
45
Debug.Assert(!hbrush.
IsNull
);
144
using var brushSelection = brush.
IsNull
? default : new SelectObjectScope(hdc, (HGDIOBJ)brush.Value);
154
Debug.Assert(!hbrush.
IsNull
, "HBRUSH is null");
System.Windows.Forms.Primitives.TestUtilities (1)
Win32\WindowClass.cs (1)
51
if (backgroundBrush.
IsNull
)