1 write to B
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
441
darkDarkColor.
B
= (byte)((darkColor.B + SystemColors.WindowFrameColor.B) / 2);
35 references to B
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)
1761
color.
B
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)
905
newVal.b = (float)col.
B
/ 255f;
System\Windows\Media\Imaging\BitmapPalette.cs (1)
292
paletteColorArray[i].B = color.
B
;
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)
407
(byte)(cCF.
B
+ ((255 - cCF.
B
) * (10000 - shade) / 10000)));
417
(byte)(cCB.
B
- (cCB.
B
* shade / 10000)));
429
(byte)((cCB.
B
* (10000 - shade) / 10000) +
430
(cCF.
B
* shade / 10000)));
3855
_color = Color.FromArgb(0xff, value, _color.G, _color.
B
);
3863
_color = Color.FromArgb(0xff, _color.R, value, _color.
B
);
System\windows\Documents\TextSelection.cs (1)
1661
byte b = (byte)~(backgroundColor.
B
);
System\Windows\Documents\XamlToRtfWriter.cs (1)
565
_rtfBuilder.Append(color.
B
.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)
441
darkDarkColor.B = (byte)((darkColor.
B
+ SystemColors.WindowFrameColor.
B
) / 2);
ReachFramework (14)
AlphaFlattener\BrushProxy.cs (8)
1167
if ((c.R == 255) && (c.G == 255) && (c.
B
== 255))
2010
color0.
B
!= color1.
B
)
2095
(Byte) (a * prevColor.
B
+ b * currentColor.
B
)
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))
3673
m_b = (float) (c.
B
/ 255.0);
AlphaFlattener\Utility.cs (5)
1174
Byte blue = (Byte)((x.
B
* c + y.
B
* b * 255) / d);
1250
Byte xB = colorX.
B
;
1297
Byte yB = colorY.
B
;
1301
int yBb = colorY.
B
* 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
);