1 write to G
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
440
darkDarkColor.
G
= (byte)((darkColor.G + SystemColors.WindowFrameColor.G) / 2);
35 references to G
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)
1760
color.
G
,
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)
904
newVal.g = (float)col.
G
/ 255f;
System\Windows\Media\Imaging\BitmapPalette.cs (1)
293
paletteColorArray[i].G = color.
G
;
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)
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)
1660
byte 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)
440
darkDarkColor.G = (byte)((darkColor.
G
+ SystemColors.WindowFrameColor.
G
) / 2);
ReachFramework (14)
AlphaFlattener\BrushProxy.cs (8)
1167
if ((c.R == 255) && (c.
G
== 255) && (c.B == 255))
2009
color0.
G
!= color1.
G
||
2094
(Byte) (a * prevColor.
G
+ b * currentColor.
G
),
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))
3672
m_g = (float) (c.
G
/ 255.0);
AlphaFlattener\Utility.cs (5)
1173
Byte green = (Byte)((x.
G
* c + y.
G
* b * 255) / d);
1249
Byte xG = colorX.
G
;
1296
Byte yG = colorY.
G
;
1300
int yGb = colorY.
G
* 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);