1 write to B
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
438
darkDarkColor.
B
= (byte)((darkColor.B + SystemColors.WindowFrameColor.B) / 2);
35 references to B
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)
1752
color.
B
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)
892
newVal.b = (float)col.
B
/ 255f;
System\Windows\Media\Imaging\BitmapPalette.cs (1)
275
paletteColorArray[i].B = color.
B
;
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)
406
(byte)(cCF.
B
+ ((255 - cCF.
B
) * (10000 - shade) / 10000)));
416
(byte)(cCB.
B
- (cCB.
B
* shade / 10000)));
428
(byte)((cCB.
B
* (10000 - shade) / 10000) +
429
(cCF.
B
* shade / 10000)));
3854
_color = Color.FromArgb(0xff, value, _color.G, _color.
B
);
3862
_color = Color.FromArgb(0xff, _color.R, value, _color.
B
);
System\windows\Documents\TextSelection.cs (1)
1658
byte b = (byte)~(backgroundColor.
B
);
System\Windows\Documents\XamlToRtfWriter.cs (1)
564
_rtfBuilder.Append(color.
B
.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)
438
darkDarkColor.B = (byte)((darkColor.
B
+ SystemColors.WindowFrameColor.
B
) / 2);
ReachFramework (14)
AlphaFlattener\BrushProxy.cs (8)
1163
if ((c.R == 255) && (c.G == 255) && (c.
B
== 255))
2006
color0.
B
!= color1.
B
)
2091
(Byte) (a * prevColor.
B
+ b * currentColor.
B
)
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))
3669
m_b = (float) (c.
B
/ 255.0);
AlphaFlattener\Utility.cs (5)
1163
Byte blue = (Byte)((x.
B
* c + y.
B
* b * 255) / d);
1239
Byte xB = colorX.
B
;
1286
Byte yB = colorY.
B
;
1290
int yBb = colorY.
B
* 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
);