1 write to HBRUSH
System.Private.Windows.Core (1)
Windows\Win32\Graphics\Gdi\CreateBrushScope.cs (1)
31
HBRUSH
= color.IsSystemColor
7 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
"/>.
38
public static implicit operator HBRUSH(in CreateBrushScope scope) => scope.
HBRUSH
;
39
public static implicit operator HGDIOBJ(in CreateBrushScope scope) => scope.
HBRUSH
;
41
public bool IsNull =>
HBRUSH
.IsNull;
45
if (!
HBRUSH
.IsNull)
48
PInvokeCore.DeleteObject(
HBRUSH
);
59
if (
HBRUSH
.IsNull)