1 write to Value
System.Private.Windows.Core (1)
Windows.Win32.HGDIOBJ.g.cs (1)
29
internal HGDIOBJ(void* value) => this.
Value
= value;
12 references to Value
System.Private.Windows.Core (12)
Windows.Win32.HGDIOBJ.g.cs (9)
37
internal bool IsNull =>
Value
== default;
39
public static implicit operator void*(HGDIOBJ value) => value.
Value
;
43
public static bool operator ==(HGDIOBJ left, HGDIOBJ right) => left.
Value
== right.
Value
;
47
public bool Equals(HGDIOBJ 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(HGDIOBJ value) => new IntPtr(value.
Value
);
Windows\Win32\Graphics\Gdi\HGDIOBJ.cs (3)
10
public static explicit operator HFONT(HGDIOBJ value) => (HFONT)value.
Value
;
11
public static explicit operator HBRUSH(HGDIOBJ value) => (HBRUSH)value.
Value
;
12
public static explicit operator HBITMAP(HGDIOBJ value) => (HBITMAP)value.
Value
;