3 references to IsNull
System.Private.Windows.Core (2)
Windows\Win32\Graphics\Gdi\CreatePenScope.cs (2)
35public bool IsNull => HPEN.IsNull; 39if (!HPEN.IsNull)
System.Windows.Forms.Primitives (1)
System\Windows\Forms\DeviceContextExtensions.cs (1)
143using var penSelection = pen.IsNull ? default : new SelectObjectScope(hdc, (HGDIOBJ)pen.Value);