79 references to G
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspectorFontAndColorDictionary.cs (3)
29
color.G = drawingBrush.Color.
G
;
40
startingColor.G = drawingBrush.LinearColors[0].
G
;
45
endingColor.G = drawingBrush.LinearColors[1].
G
;
System.Drawing (13)
commonui\System\Drawing\Advanced\ColorTranslator.cs (2)
40
return c.R << Win32RedShift | c.
G
<< Win32GreenShift | c.B << Win32BlueShift;
338
c.
G
.ToString("X2", null) +
commonui\System\Drawing\Color.cs (8)
1468
Name, A, R,
G
, B);
1573
return new Color(MakeArgb(unchecked((byte) alpha), baseColor.R, baseColor.
G
, baseColor.B), StateARGBValueValid, null, (KnownColor)0);
1622
float g = (float)
G
/ 255.0f;
1644
if (R ==
G
&&
G
== B)
1648
float g = (float)
G
/ 255.0f;
1688
float g = (float)
G
/ 255.0f;
1761
sb.Append(
G
);
commonui\System\Drawing\ColorConverter.cs (3)
279
args[nArg++] = intConverter.ConvertToString(context, culture, (object)c.
G
);
306
args = new object[] {c.A, c.R, c.
G
, c.B};
314
args = new object[] {c.R, c.
G
, c.B};
System.Web (1)
UI\WebControls\WebColorConverter.cs (1)
125
sb.Append((c.
G
).ToString("X2", CultureInfo.InvariantCulture));
System.Web.DataVisualization (12)
Common\Borders3D\EmbedBorder.cs (3)
921
float colorDarkeningIndex = 0.3f + (0.4f * (borderSkin.PageColor.R + borderSkin.PageColor.
G
+ borderSkin.PageColor.B) / 765f);
924
(int)(backColor.
G
*colorDarkeningIndex),
930
(int)(borderSkin.PageColor.
G
*colorDarkeningIndex),
Common\Borders3D\EmbossBorder.cs (3)
176
float colorDarkeningIndex = 0.2f + (0.4f * (borderSkin.PageColor.R + borderSkin.PageColor.
G
+ borderSkin.PageColor.B) / 765f);
179
(int)(borderSkin.PageColor.
G
*colorDarkeningIndex),
189
(int)(borderSkin.PageColor.
G
*colorDarkeningIndex),
Common\ChartTypes\BoxPlotChart.cs (4)
491
double brightness = Math.Sqrt(point.Color.R * point.Color.R + point.Color.
G
* point.Color.
G
+ point.Color.B * point.Color.B);
1271
double brightness = Math.Sqrt(point.Color.R * point.Color.R + point.Color.
G
* point.Color.
G
+ point.Color.B * point.Color.B);
Common\General\ChartGraphics.cs (2)
5697
int nBGreen = beginColor.
G
;
5702
int nEGreen = endColor.
G
;
System.Web.Mobile (3)
UI\MobileControls\Adapters\HtmlCalendarAdapter.cs (1)
130
int deltaG = System.Math.Abs(backColor.
G
- 0xC0);
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (2)
243
(Int16)(ct.
G
* 0.1 + cw.
G
* 0.9),
System.Windows.Forms (31)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (4)
97
byte g1 = color1.
G
;
102
byte g2 = color2.
G
;
777
Adjust255(adjust, colors.buttonFace.
G
),
785
Adjust255(adjust, colors.highlight.
G
),
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (2)
96
byte G = (byte)((comboColor.
G
+ SystemColors.Window.
G
) / 2);
winforms\Managed\System\WinForms\ControlPaint.cs (10)
2319
return Color.FromArgb(color.A, (byte)~color.R, (byte)~color.
G
, (byte)~color.B);
2575
float normBlackGreen = ((float)replaceBlack.
G
)/(float)255.0;
2580
float normWhiteGreen = ((float)replaceWhite.
G
)/(float)255.0;
2818
int g = color.
G
;
2911
int dg = dark.
G
- darkDark.
G
;
2915
(byte)(dark.
G
- (byte)(dg * percDarker)),
2978
int dg = light.
G
- lightLight.
G
;
2982
(byte)(light.
G
- (byte)(dg * percLighter)),
winforms\Managed\System\WinForms\DataGridViewCell.cs (2)
1181
int deltaG = color1.
G
- color2.
G
;
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1386
ButtonInternal.ButtonBaseAdapter.ColorOptions.Adjust255(adjust, highlight.
G
),
winforms\Managed\System\WinForms\HtmlDocument.cs (5)
205
int color = value.R << 16 | value.
G
<< 8 | value.B;
234
int color = value.R << 16 | value.
G
<< 8 | value.B;
263
int color = value.R << 16 | value.
G
<< 8 | value.B;
292
int color = value.R << 16 | value.
G
<< 8 | value.B;
321
int color = value.R << 16 | value.
G
<< 8 | value.B;
winforms\Managed\System\WinForms\LinkUtilities.cs (1)
115
int g = SystemColors.WindowText.
G
;
winforms\Managed\System\WinForms\ProfessionalColorTable.cs (4)
428
int green = (src.
G
* alpha + (255 - alpha) * dest.
G
) / 255;
463
g = (nPart1 * src.
G
+ nPart2 * dest.
G
+ sum / 2) / sum;
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
139
return Color.FromArgb(color.A, (byte)~color.R, (byte)~color.
G
, (byte)~color.B);
winforms\Managed\System\WinForms\SafeNativeMethods.cs (1)
898
return (int)color.R | ((int)color.
G
<< 8) | ((int)color.B << 16);
System.Windows.Forms.DataVisualization (10)
Common\Borders3D\EmbedBorder.cs (1)
924
(int)(backColor.
G
*colorDarkeningIndex),
Common\Borders3D\EmbossBorder.cs (3)
176
float colorDarkeningIndex = 0.2f + (0.4f * (borderSkin.PageColor.R + borderSkin.PageColor.
G
+ borderSkin.PageColor.B) / 765f);
179
(int)(borderSkin.PageColor.
G
*colorDarkeningIndex),
189
(int)(borderSkin.PageColor.
G
*colorDarkeningIndex),
Common\ChartTypes\BoxPlotChart.cs (4)
491
double brightness = Math.Sqrt(point.Color.R * point.Color.R + point.Color.
G
* point.Color.
G
+ point.Color.B * point.Color.B);
1271
double brightness = Math.Sqrt(point.Color.R * point.Color.R + point.Color.
G
* point.Color.
G
+ point.Color.B * point.Color.B);
Common\General\ChartGraphics.cs (2)
5697
int nBGreen = beginColor.
G
;
5702
int nEGreen = endColor.
G
;
System.Workflow.ComponentModel (6)
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (1)
325
long colorValue = (long)((uint)(color.A << 24 | color.R << 16 | color.
G
<< 8 | color.B)) & 0xFFFFFFFF;
AuthoringOM\Design\DesignerHelpers.cs (1)
480
shadowColor = Color.FromArgb(shadowColor.A + alphaIncreament, shadowColor.R, shadowColor.
G
, shadowColor.B);
AuthoringOM\Design\DesignerWidgets.cs (2)
1882
hottrackColor = Color.FromArgb(255 - hottrackColor.R, 255 - hottrackColor.
G
, 255 - hottrackColor.B);
1883
selectionColor = Color.FromArgb(255 - selectionColor.R, 255 - selectionColor.
G
, 255 - selectionColor.B);
AuthoringOM\Design\Themes.cs (2)
2883
Color minorGridColor = Color.FromArgb(this.gridColor.A, Math.Min(this.gridColor.R + 32, 255), Math.Min(this.gridColor.
G
+ 32, 255), Math.Min(this.gridColor.B + 32, 255));
2899
Color minorGridColor = Color.FromArgb(this.gridColor.A, Math.Min(this.gridColor.R + 32, 255), Math.Min(this.gridColor.
G
+ 32, 255), Math.Min(this.gridColor.B + 32, 255));