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