1 write to G
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
437
darkDarkColor.
G
= (byte)((darkColor.G + SystemColors.WindowFrameColor.G) / 2);
35 references to G
PresentationCore (5)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
502
uint r = (uint)daColor.R, g = (uint)daColor.
G
, b = (uint)(daColor.B);
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1751
color.
G
,
System\Windows\Media\ColorConverter.cs (1)
106
return new InstanceDescriptor(mi, new object[]{c.A, c.R, c.
G
, c.B});
System\Windows\Media\Effects\ShaderEffect.cs (1)
891
newVal.g = (float)col.
G
/ 255f;
System\Windows\Media\Imaging\BitmapPalette.cs (1)
276
paletteColorArray[i].G = color.
G
;
PresentationFramework (12)
System\Windows\Annotations\AnnotationHelper.cs (1)
942
color = Color.FromArgb(alpha, brush.Color.R, brush.Color.
G
, brush.Color.B);
System\Windows\Controls\TextRangeAdaptor.cs (1)
1259
return (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)
1657
byte 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)
437
darkDarkColor.G = (byte)((darkColor.
G
+ SystemColors.WindowFrameColor.
G
) / 2);
ReachFramework (14)
AlphaFlattener\BrushProxy.cs (8)
1163
if ((c.R == 255) && (c.
G
== 255) && (c.B == 255))
2005
color0.
G
!= color1.
G
||
2090
(Byte) (a * prevColor.
G
+ b * currentColor.
G
),
2611
if ((c.A == 255) && (c.R == 255) && (c.
G
== 255) && (c.B == 255))
2628
if ((c.A == 255) && (c.R == 0) && (c.
G
== 0) && (c.B == 0))
3668
m_g = (float) (c.
G
/ 255.0);
AlphaFlattener\Utility.cs (5)
1162
Byte green = (Byte)((x.
G
* c + y.
G
* b * 255) / d);
1238
Byte xG = colorX.
G
;
1285
Byte yG = colorY.
G
;
1289
int yGb = colorY.
G
* b;
Serialization\VisualTreeFlattener.cs (1)
599
if ((color.R == 255 && color.
G
== 255 && color.B == 255) ||
WindowsFormsIntegration (1)
System\Windows\Integration\Convert.cs (1)
323
return SD.Color.FromArgb(color.A, color.R, color.
G
, color.B);