1 write to R
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
436
darkDarkColor.
R
= (byte)((darkColor.R + SystemColors.WindowFrameColor.R) / 2);
35 references to R
PresentationCore (5)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
502
uint r = (uint)daColor.
R
, g = (uint)daColor.G, b = (uint)(daColor.B);
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1750
color.
R
,
System\Windows\Media\ColorConverter.cs (1)
106
return new InstanceDescriptor(mi, new object[]{c.A, c.
R
, c.G, c.B});
System\Windows\Media\Effects\ShaderEffect.cs (1)
890
newVal.r = (float)col.
R
/ 255f;
System\Windows\Media\Imaging\BitmapPalette.cs (1)
277
paletteColorArray[i].R = color.
R
;
PresentationFramework (12)
System\Windows\Annotations\AnnotationHelper.cs (1)
942
color = Color.FromArgb(alpha, brush.Color.
R
, brush.Color.G, brush.Color.B);
System\Windows\Controls\TextRangeAdaptor.cs (1)
1259
return (0 + (color.
R
<< 16) + (color.G << 8) + color.B);
System\Windows\Documents\RtfToXamlReader.cs (8)
404
(byte)(cCF.
R
+ ((255 - cCF.
R
) * (10000 - shade) / 10000)),
414
(byte)(cCB.
R
- (cCB.
R
* shade / 10000)),
424
(byte)((cCB.
R
* (10000 - shade) / 10000) +
425
(cCF.
R
* shade / 10000)),
3862
_color = Color.FromArgb(0xff, _color.
R
, value, _color.B);
3870
_color = Color.FromArgb(0xff, _color.
R
, _color.G, value);
System\windows\Documents\TextSelection.cs (1)
1656
byte r = (byte)~(backgroundColor.
R
);
System\Windows\Documents\XamlToRtfWriter.cs (1)
560
_rtfBuilder.Append(color.
R
.ToString(CultureInfo.InvariantCulture));
PresentationFramework.Classic (3)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (3)
179
: this(color.A, color.
R
/ 255.0f, color.G / 255.0f, color.B / 255.0f)
436
darkDarkColor.R = (byte)((darkColor.
R
+ SystemColors.WindowFrameColor.
R
) / 2);
ReachFramework (14)
AlphaFlattener\BrushProxy.cs (8)
1163
if ((c.
R
== 255) && (c.G == 255) && (c.B == 255))
2004
color0.
R
!= color1.
R
||
2089
(Byte) (a * prevColor.
R
+ b * currentColor.
R
),
2611
if ((c.A == 255) && (c.
R
== 255) && (c.G == 255) && (c.B == 255))
2628
if ((c.A == 255) && (c.
R
== 0) && (c.G == 0) && (c.B == 0))
3667
m_r = (float) (c.
R
/ 255.0);
AlphaFlattener\Utility.cs (5)
1161
Byte red = (Byte)((x.
R
* c + y.
R
* b * 255) / d);
1237
Byte xR = colorX.
R
;
1284
Byte yR = colorY.
R
;
1288
int yRb = colorY.
R
* b;
Serialization\VisualTreeFlattener.cs (1)
599
if ((color.
R
== 255 && color.G == 255 && color.B == 255) ||
WindowsFormsIntegration (1)
System\Windows\Integration\Convert.cs (1)
323
return SD.Color.FromArgb(color.A, color.
R
, color.G, color.B);