1 write to B
PresentationFramework.Classic (1)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
438
B
= (byte)((darkColor.B + SystemColors.WindowFrameColor.B) / 2),
36 references to B
PresentationCore (5)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
501
uint r = (uint)daColor.R, g = (uint)daColor.G, b = (uint)(daColor.
B
);
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1749
color.
B
System\Windows\Media\ColorConverter.cs (1)
105
return new InstanceDescriptor(mi, new object[]{c.A, c.R, c.G, c.
B
});
System\Windows\Media\Effects\ShaderEffect.cs (1)
882
newVal.b = (float)col.
B
/ 255f;
System\Windows\Media\Imaging\BitmapPalette.cs (1)
275
paletteColorArray[i].B = color.
B
;
PresentationCore.Tests (1)
System\Windows\ClipboardTests.cs (1)
188
byte[] colorData = [color.
B
, color.G, color.R, color.A];
PresentationFramework (12)
System\Windows\Annotations\AnnotationHelper.cs (1)
939
color = Color.FromArgb(alpha, brush.Color.R, brush.Color.G, brush.Color.
B
);
System\Windows\Controls\TextRangeAdaptor.cs (1)
1258
return (0 + (color.R << 16) + (color.G << 8) + color.
B
);
System\Windows\Documents\RtfToXamlReader.cs (8)
405
(byte)(cCF.
B
+ ((255 - cCF.
B
) * (10000 - shade) / 10000)));
415
(byte)(cCB.
B
- (cCB.
B
* shade / 10000)));
427
(byte)((cCB.
B
* (10000 - shade) / 10000) +
428
(cCF.
B
* shade / 10000)));
3859
_color = Color.FromArgb(0xff, value, _color.G, _color.
B
);
3867
_color = Color.FromArgb(0xff, _color.R, value, _color.
B
);
System\windows\Documents\TextSelection.cs (1)
1642
byte b = (byte)~(backgroundColor.
B
);
System\Windows\Documents\XamlToRtfWriter.cs (1)
563
_rtfBuilder.Append(color.
B
.ToString(CultureInfo.InvariantCulture));
PresentationFramework.Classic (3)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (3)
178
: this(color.A, color.R / 255.0f, color.G / 255.0f, color.
B
/ 255.0f)
438
B = (byte)((darkColor.
B
+ SystemColors.WindowFrameColor.
B
) / 2),
ReachFramework (14)
AlphaFlattener\BrushProxy.cs (8)
1160
if ((c.R == 255) && (c.G == 255) && (c.
B
== 255))
2004
color0.
B
!= color1.
B
)
2089
(Byte) (a * prevColor.
B
+ b * currentColor.
B
)
2610
if ((c.A == 255) && (c.R == 255) && (c.G == 255) && (c.
B
== 255))
2627
if ((c.A == 255) && (c.R == 0) && (c.G == 0) && (c.
B
== 0))
3670
m_b = (float) (c.
B
/ 255.0);
AlphaFlattener\Utility.cs (5)
1162
Byte blue = (Byte)((x.
B
* c + y.
B
* b * 255) / d);
1238
Byte xB = colorX.
B
;
1285
Byte yB = colorY.
B
;
1289
int yBb = colorY.
B
* b;
Serialization\VisualTreeFlattener.cs (1)
598
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
);