1 write to Value
System.Private.Windows.Core (1)
Windows.Win32.COLORREF.g.cs (1)
34 internal COLORREF(uint value) => this.Value = value;
10 references to Value
System.Private.Windows.Core (8)
Windows.Win32.COLORREF.g.cs (7)
36 public static implicit operator uint(COLORREF value) => value.Value; 40 public static bool operator ==(COLORREF left, COLORREF right) => left.Value == right.Value; 44 public bool Equals(COLORREF other) => this.Value == other.Value; 48 public override int GetHashCode() => this.Value.GetHashCode(); 50 public override string ToString() => $"0x{this.Value:x}";
Windows\Win32\Foundation\COLORREF.cs (1)
23public static implicit operator Color(COLORREF color) => ColorTranslator.FromWin32((int)color.Value);
System.Windows.Forms (1)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
1361(int)PInvoke.GetNearestColor(hdc, (COLORREF)(uint)ColorTranslator.ToWin32(foreBrush.Color)).Value);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\DeviceContextExtensions.cs (1)
119Color newColor = ColorTranslator.FromWin32((int)PInvoke.GetNearestColor(hdc, (COLORREF)(uint)ColorTranslator.ToWin32(color)).Value);