1 write to G
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
437darkDarkColor.G = (byte)((darkColor.G + SystemColors.WindowFrameColor.G) / 2);
35 references to G
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)
1751color.G,
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)
891newVal.g = (float)col.G / 255f;
System\Windows\Media\Imaging\BitmapPalette.cs (1)
276paletteColorArray[i].G = color.G;
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)
405(byte)(cCF.G + ((255 - cCF.G) * (10000 - shade) / 10000)), 415(byte)(cCB.G - (cCB.G * shade / 10000)), 426(byte)((cCB.G * (10000 - shade) / 10000) + 427(cCF.G * shade / 10000)), 3854_color = Color.FromArgb(0xff, value, _color.G, _color.B); 3870_color = Color.FromArgb(0xff, _color.R, _color.G, value);
System\windows\Documents\TextSelection.cs (1)
1657byte g = (byte)~(backgroundColor.G);
System\Windows\Documents\XamlToRtfWriter.cs (1)
562_rtfBuilder.Append(color.G.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) 437darkDarkColor.G = (byte)((darkColor.G + SystemColors.WindowFrameColor.G) / 2);
ReachFramework (14)
AlphaFlattener\BrushProxy.cs (8)
1163if ((c.R == 255) && (c.G == 255) && (c.B == 255)) 2005color0.G != color1.G || 2090(Byte) (a * prevColor.G + b * currentColor.G), 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)) 3668m_g = (float) (c.G / 255.0);
AlphaFlattener\Utility.cs (5)
1162Byte green = (Byte)((x.G * c + y.G * b * 255) / d); 1238Byte xG = colorX.G; 1285Byte yG = colorY.G; 1289int yGb = colorY.G * 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);