1 write to R
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
436darkDarkColor.R = (byte)((darkColor.R + SystemColors.WindowFrameColor.R) / 2);
35 references to R
PresentationCore (5)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
502uint r = (uint)daColor.R, g = (uint)daColor.G, b = (uint)(daColor.B);
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1750color.R,
System\Windows\Media\ColorConverter.cs (1)
106return new InstanceDescriptor(mi, new object[]{c.A, c.R, c.G, c.B});
System\Windows\Media\Effects\ShaderEffect.cs (1)
890newVal.r = (float)col.R / 255f;
System\Windows\Media\Imaging\BitmapPalette.cs (1)
277paletteColorArray[i].R = color.R;
PresentationFramework (12)
System\Windows\Annotations\AnnotationHelper.cs (1)
942color = Color.FromArgb(alpha, brush.Color.R, brush.Color.G, brush.Color.B);
System\Windows\Controls\TextRangeAdaptor.cs (1)
1259return (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)
1656byte 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) 436darkDarkColor.R = (byte)((darkColor.R + SystemColors.WindowFrameColor.R) / 2);
ReachFramework (14)
AlphaFlattener\BrushProxy.cs (8)
1163if ((c.R == 255) && (c.G == 255) && (c.B == 255)) 2004color0.R != color1.R || 2089(Byte) (a * prevColor.R + b * currentColor.R), 2611if ((c.A == 255) && (c.R == 255) && (c.G == 255) && (c.B == 255)) 2628if ((c.A == 255) && (c.R == 0) && (c.G == 0) && (c.B == 0)) 3667m_r = (float) (c.R / 255.0);
AlphaFlattener\Utility.cs (5)
1161Byte red = (Byte)((x.R * c + y.R * b * 255) / d); 1237Byte xR = colorX.R; 1284Byte yR = colorY.R; 1288int yRb = colorY.R * b;
Serialization\VisualTreeFlattener.cs (1)
599if ((color.R == 255 && color.G == 255 && color.B == 255) ||
WindowsFormsIntegration (1)
System\Windows\Integration\Convert.cs (1)
323return SD.Color.FromArgb(color.A, color.R, color.G, color.B);