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