79 references to B
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspectorFontAndColorDictionary.cs (3)
30
color.B = drawingBrush.Color.
B
;
41
startingColor.B = drawingBrush.LinearColors[0].
B
;
46
endingColor.B = drawingBrush.LinearColors[1].
B
;
System.Drawing (12)
commonui\System\Drawing\Advanced\ColorTranslator.cs (2)
40
return c.R << Win32RedShift | c.G << Win32GreenShift | c.
B
<< Win32BlueShift;
339
c.
B
.ToString("X2", null);
commonui\System\Drawing\Color.cs (7)
1468
Name, A, R, G,
B
);
1573
return new Color(MakeArgb(unchecked((byte) alpha), baseColor.R, baseColor.G, baseColor.
B
), StateARGBValueValid, null, (KnownColor)0);
1623
float b = (float)
B
/ 255.0f;
1644
if (R == G && G ==
B
)
1649
float b = (float)
B
/ 255.0f;
1689
float b = (float)
B
/ 255.0f;
1763
sb.Append(
B
);
commonui\System\Drawing\ColorConverter.cs (3)
280
args[nArg++] = intConverter.ConvertToString(context, culture, (object)c.
B
);
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)
126
sb.Append((c.
B
).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);
925
(int)(backColor.
B
*colorDarkeningIndex));
931
(int)(borderSkin.PageColor.
B
*colorDarkeningIndex));
Common\Borders3D\EmbossBorder.cs (3)
176
float colorDarkeningIndex = 0.2f + (0.4f * (borderSkin.PageColor.R + borderSkin.PageColor.G + borderSkin.PageColor.
B
) / 765f);
180
(int)(borderSkin.PageColor.
B
*colorDarkeningIndex));
190
(int)(borderSkin.PageColor.
B
*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)
5698
int nBBlue = beginColor.
B
;
5703
int nEBlue = endColor.
B
;
System.Web.Mobile (3)
UI\MobileControls\Adapters\HtmlCalendarAdapter.cs (1)
131
int deltaB = System.Math.Abs(backColor.
B
- 0xC0);
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (2)
244
(Int16)(ct.
B
* 0.1 + cw.
B
* 0.9));
System.Windows.Forms (32)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (4)
98
byte b1 = color1.
B
;
103
byte b2 = color2.
B
;
778
Adjust255(adjust, colors.buttonFace.
B
));
786
Adjust255(adjust, colors.highlight.
B
));
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (2)
97
byte B = (byte)((comboColor.
B
+ SystemColors.Window.
B
) / 2);
winforms\Managed\System\WinForms\ControlPaint.cs (10)
2319
return Color.FromArgb(color.A, (byte)~color.R, (byte)~color.G, (byte)~color.
B
);
2576
float normBlackBlue = ((float)replaceBlack.
B
)/(float)255.0;
2581
float normWhiteBlue = ((float)replaceWhite.
B
)/(float)255.0;
2819
int b = color.
B
;
2912
int db = dark.
B
- darkDark.
B
;
2916
(byte)(dark.
B
- (byte)(db * percDarker)));
2979
int db = light.
B
- lightLight.
B
;
2983
(byte)(light.
B
- (byte)(db * percLighter)));
winforms\Managed\System\WinForms\DataGridViewCell.cs (2)
1182
int deltaB = color1.
B
- color2.
B
;
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1387
ButtonInternal.ButtonBaseAdapter.ColorOptions.Adjust255(adjust, highlight.
B
));
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 (2)
116
int b = (SystemColors.Window.
B
+ SystemColors.WindowText.
B
+ 1) / 2;
winforms\Managed\System\WinForms\ProfessionalColorTable.cs (4)
429
int blue = (src.
B
* alpha + (255 - alpha) * dest.
B
) / 255;
464
b = (nPart1 * src.
B
+ nPart2 * dest.
B
+ 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)
925
(int)(backColor.
B
*colorDarkeningIndex));
Common\Borders3D\EmbossBorder.cs (3)
176
float colorDarkeningIndex = 0.2f + (0.4f * (borderSkin.PageColor.R + borderSkin.PageColor.G + borderSkin.PageColor.
B
) / 765f);
180
(int)(borderSkin.PageColor.
B
*colorDarkeningIndex));
190
(int)(borderSkin.PageColor.
B
*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)
5698
int nBBlue = beginColor.
B
;
5703
int nEBlue = endColor.
B
;
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));