1 write to Red
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
181
this.
Red
= red;
8 references to Red
PresentationFramework.Classic (8)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (8)
193
get { return Color.FromArgb(this.Alpha, (byte)(this.
Red
* 255), (byte)(this.Green * 255), (byte)(this.Blue * 255)); }
240
Debug.Assert(rgbColor.
Red
>= 0 && rgbColor.
Red
<= 1, "Red must be between 0 and 1.");
244
float min = Math.Min(rgbColor.
Red
, Math.Min(rgbColor.Green, rgbColor.Blue));
245
float max = Math.Max(rgbColor.
Red
, Math.Max(rgbColor.Green, rgbColor.Blue));
278
if ((float)rgbColor.
Red
== max)
286
hue = 2 + (rgbColor.Blue - rgbColor.
Red
) / delta;
291
hue = 4 + (rgbColor.
Red
- rgbColor.Green) / delta;