1 write to R
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
439
darkDarkColor.
R
= (byte)((darkColor.R + SystemColors.WindowFrameColor.R) / 2);
35 references to R
PresentationCore (5)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
512
uint r = (uint)daColor.
R
, g = (uint)daColor.G, b = (uint)(daColor.B);
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1759
color.
R
,
System\Windows\Media\ColorConverter.cs (1)
117
return new InstanceDescriptor(mi, new object[]{c.A, c.
R
, c.G, c.B});
System\Windows\Media\Effects\ShaderEffect.cs (1)
903
newVal.r = (float)col.
R
/ 255f;
System\Windows\Media\Imaging\BitmapPalette.cs (1)
294
paletteColorArray[i].R = color.
R
;
PresentationFramework (12)
System\Windows\Annotations\AnnotationHelper.cs (1)
954
color = Color.FromArgb(alpha, brush.Color.
R
, brush.Color.G, brush.Color.B);
System\Windows\Controls\TextRangeAdaptor.cs (1)
1261
return (0 + (color.
R
<< 16) + (color.G << 8) + color.B);
System\Windows\Documents\RtfToXamlReader.cs (8)
405
(byte)(cCF.
R
+ ((255 - cCF.
R
) * (10000 - shade) / 10000)),
415
(byte)(cCB.
R
- (cCB.
R
* shade / 10000)),
425
(byte)((cCB.
R
* (10000 - shade) / 10000) +
426
(cCF.
R
* shade / 10000)),
3863
_color = Color.FromArgb(0xff, _color.
R
, value, _color.B);
3871
_color = Color.FromArgb(0xff, _color.
R
, _color.G, value);
System\windows\Documents\TextSelection.cs (1)
1659
byte r = (byte)~(backgroundColor.
R
);
System\Windows\Documents\XamlToRtfWriter.cs (1)
561
_rtfBuilder.Append(color.
R
.ToString(CultureInfo.InvariantCulture));
PresentationFramework.Classic (3)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (3)
182
: this(color.A, color.
R
/ 255.0f, color.G / 255.0f, color.B / 255.0f)
439
darkDarkColor.R = (byte)((darkColor.
R
+ SystemColors.WindowFrameColor.
R
) / 2);
ReachFramework (14)
AlphaFlattener\BrushProxy.cs (8)
1167
if ((c.
R
== 255) && (c.G == 255) && (c.B == 255))
2008
color0.
R
!= color1.
R
||
2093
(Byte) (a * prevColor.
R
+ b * currentColor.
R
),
2615
if ((c.A == 255) && (c.
R
== 255) && (c.G == 255) && (c.B == 255))
2632
if ((c.A == 255) && (c.
R
== 0) && (c.G == 0) && (c.B == 0))
3671
m_r = (float) (c.
R
/ 255.0);
AlphaFlattener\Utility.cs (5)
1172
Byte red = (Byte)((x.
R
* c + y.
R
* b * 255) / d);
1248
Byte xR = colorX.
R
;
1295
Byte yR = colorY.
R
;
1299
int yRb = colorY.
R
* b;
Serialization\VisualTreeFlattener.cs (1)
606
if ((color.
R
== 255 && color.G == 255 && color.B == 255) ||
WindowsFormsIntegration (1)
System\Windows\Integration\Convert.cs (1)
326
return SD.Color.FromArgb(color.A, color.
R
, color.G, color.B);