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