1 write to G
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
440darkDarkColor.G = (byte)((darkColor.G + SystemColors.WindowFrameColor.G) / 2);
35 references to G
PresentationCore (5)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
512uint r = (uint)daColor.R, g = (uint)daColor.G, b = (uint)(daColor.B);
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1760color.G,
System\Windows\Media\ColorConverter.cs (1)
117return new InstanceDescriptor(mi, new object[]{c.A, c.R, c.G, c.B});
System\Windows\Media\Effects\ShaderEffect.cs (1)
904newVal.g = (float)col.G / 255f;
System\Windows\Media\Imaging\BitmapPalette.cs (1)
293paletteColorArray[i].G = color.G;
PresentationFramework (12)
System\Windows\Annotations\AnnotationHelper.cs (1)
954color = Color.FromArgb(alpha, brush.Color.R, brush.Color.G, brush.Color.B);
System\Windows\Controls\TextRangeAdaptor.cs (1)
1261return (0 + (color.R << 16) + (color.G << 8) + color.B);
System\Windows\Documents\RtfToXamlReader.cs (8)
406(byte)(cCF.G + ((255 - cCF.G) * (10000 - shade) / 10000)), 416(byte)(cCB.G - (cCB.G * shade / 10000)), 427(byte)((cCB.G * (10000 - shade) / 10000) + 428(cCF.G * shade / 10000)), 3855_color = Color.FromArgb(0xff, value, _color.G, _color.B); 3871_color = Color.FromArgb(0xff, _color.R, _color.G, value);
System\windows\Documents\TextSelection.cs (1)
1660byte g = (byte)~(backgroundColor.G);
System\Windows\Documents\XamlToRtfWriter.cs (1)
563_rtfBuilder.Append(color.G.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) 440darkDarkColor.G = (byte)((darkColor.G + SystemColors.WindowFrameColor.G) / 2);
ReachFramework (14)
AlphaFlattener\BrushProxy.cs (8)
1167if ((c.R == 255) && (c.G == 255) && (c.B == 255)) 2009color0.G != color1.G || 2094(Byte) (a * prevColor.G + b * currentColor.G), 2615if ((c.A == 255) && (c.R == 255) && (c.G == 255) && (c.B == 255)) 2632if ((c.A == 255) && (c.R == 0) && (c.G == 0) && (c.B == 0)) 3672m_g = (float) (c.G / 255.0);
AlphaFlattener\Utility.cs (5)
1173Byte green = (Byte)((x.G * c + y.G * b * 255) / d); 1249Byte xG = colorX.G; 1296Byte yG = colorY.G; 1300int yGb = colorY.G * b;
Serialization\VisualTreeFlattener.cs (1)
606if ((color.R == 255 && color.G == 255 && color.B == 255) ||
WindowsFormsIntegration (1)
System\Windows\Integration\Convert.cs (1)
326return SD.Color.FromArgb(color.A, color.R, color.G, color.B);