1 write to Value
System.Private.Windows.Core (1)
Windows.Win32.HBRUSH.g.cs (1)
29
internal HBRUSH(void* value) => this.
Value
= value;
11 references to Value
System.Private.Windows.Core (10)
Windows.Win32.HBRUSH.g.cs (10)
37
internal bool IsNull =>
Value
== default;
39
public static implicit operator void*(HBRUSH value) => value.
Value
;
43
public static bool operator ==(HBRUSH left, HBRUSH right) => left.
Value
== right.
Value
;
47
public bool Equals(HBRUSH other) => this.
Value
== other.
Value
;
51
public override int GetHashCode() => unchecked((int)this.
Value
);
53
public override string ToString() => $"0x{(nuint)this.
Value
:x}";
55
public static implicit operator IntPtr(HBRUSH value) => new IntPtr(value.
Value
);
61
public static implicit operator HGDIOBJ(HBRUSH value) => new HGDIOBJ(value.
Value
);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\DeviceContextExtensions.cs (1)
144
using var brushSelection = brush.IsNull ? default : new SelectObjectScope(hdc, (HGDIOBJ)brush.
Value
);