1 write to HBRUSH
System.Private.Windows.Core (1)
Windows\Win32\Graphics\Gdi\CreateBrushScope.cs (1)
31HBRUSH = color.IsSystemColor
8 references to HBRUSH
System.Private.Windows.Core (7)
Windows\Win32\Graphics\Gdi\CreateBrushScope.cs (7)
10/// Helper to scope the lifetime of a <see cref="HBRUSH"/>. 38public static implicit operator HBRUSH(in CreateBrushScope scope) => scope.HBRUSH; 39public static implicit operator HGDIOBJ(in CreateBrushScope scope) => scope.HBRUSH; 41public bool IsNull => HBRUSH.IsNull; 45if (!HBRUSH.IsNull) 48PInvokeCore.DeleteObject(HBRUSH); 59if (HBRUSH.IsNull)
System.Windows.Forms.Primitives.Tests (1)
System\Windows\Forms\DeviceContextScopeTests.cs (1)
82Assert.Equal(blueBrush.HBRUSH, (HBRUSH)current);