34 writes to A
PresentationCore (3)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
410color.A = Convert.ToByte(alpha);
MS\Internal\Ink\StrokeRenderer.cs (1)
1110color.A = SolidStrokeAlpha;
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
49color.A = StrokeRenderer.SolidStrokeAlpha;
PresentationFramework.Aero (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
301stopColor.A = (byte)(.74336 * c.A); 304stopColor.A = (byte)(.38053 * c.A); 307stopColor.A = (byte)(.12389 * c.A); 310stopColor.A = (byte)(.02654 * c.A); 313stopColor.A = 0;
PresentationFramework.Aero2 (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
301stopColor.A = (byte)(.74336 * c.A); 304stopColor.A = (byte)(.38053 * c.A); 307stopColor.A = (byte)(.12389 * c.A); 310stopColor.A = (byte)(.02654 * c.A); 313stopColor.A = 0;
PresentationFramework.AeroLite (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
301stopColor.A = (byte)(.74336 * c.A); 304stopColor.A = (byte)(.38053 * c.A); 307stopColor.A = (byte)(.12389 * c.A); 310stopColor.A = (byte)(.02654 * c.A); 313stopColor.A = 0;
PresentationFramework.Classic (6)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
439darkDarkColor.A = (byte)((darkColor.A + SystemColors.WindowFrameColor.A) / 2);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
301stopColor.A = (byte)(.74336 * c.A); 304stopColor.A = (byte)(.38053 * c.A); 307stopColor.A = (byte)(.12389 * c.A); 310stopColor.A = (byte)(.02654 * c.A); 313stopColor.A = 0;
PresentationFramework.Luna (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
301stopColor.A = (byte)(.74336 * c.A); 304stopColor.A = (byte)(.38053 * c.A); 307stopColor.A = (byte)(.12389 * c.A); 310stopColor.A = (byte)(.02654 * c.A); 313stopColor.A = 0;
PresentationFramework.Royale (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
301stopColor.A = (byte)(.74336 * c.A); 304stopColor.A = (byte)(.38053 * c.A); 307stopColor.A = (byte)(.12389 * c.A); 310stopColor.A = (byte)(.02654 * c.A); 313stopColor.A = 0;
65 references to A
PresentationCore (8)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
511byte alphaChannel = da.Color.A;
MS\Internal\Ink\StrokeRenderer.cs (1)
1094if (da.Color.A != SolidStrokeAlpha)
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1749(byte)(color.A>>2), // * 0.25
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
48_opacity = _drawingAttributes.IsHighlighter ? 0 : (double)color.A / (double)StrokeRenderer.SolidStrokeAlpha;
System\Windows\Media\ColorConverter.cs (1)
106return new InstanceDescriptor(mi, new object[]{c.A, c.R, c.G, c.B});
System\Windows\Media\Effects\ShaderEffect.cs (1)
893newVal.a = (float)col.A / 255f;
System\Windows\Media\Imaging\BitmapPalette.cs (2)
234if (color.A != 255) 278paletteColorArray[i].A = color.A;
PresentationFramework (3)
System\Windows\Annotations\AnnotationHelper.cs (2)
938alpha = brush.Color.A; 940alpha = (byte) (brush.Opacity * brush.Color.A);
System\Windows\Controls\Border.cs (1)
299|| ((originIndependentBrush.Color.A < 0xff) && !uniformBorders)
PresentationFramework.Aero (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
104if (shadowBounds.Width > 0 && shadowBounds.Height > 0 && color.A > 0) 301stopColor.A = (byte)(.74336 * c.A); 304stopColor.A = (byte)(.38053 * c.A); 307stopColor.A = (byte)(.12389 * c.A); 310stopColor.A = (byte)(.02654 * c.A);
PresentationFramework.Aero2 (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
104if (shadowBounds.Width > 0 && shadowBounds.Height > 0 && color.A > 0) 301stopColor.A = (byte)(.74336 * c.A); 304stopColor.A = (byte)(.38053 * c.A); 307stopColor.A = (byte)(.12389 * c.A); 310stopColor.A = (byte)(.02654 * c.A);
PresentationFramework.AeroLite (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
104if (shadowBounds.Width > 0 && shadowBounds.Height > 0 && color.A > 0) 301stopColor.A = (byte)(.74336 * c.A); 304stopColor.A = (byte)(.38053 * c.A); 307stopColor.A = (byte)(.12389 * c.A); 310stopColor.A = (byte)(.02654 * c.A);
PresentationFramework.Classic (11)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (6)
179: this(color.A, color.R / 255.0f, color.G / 255.0f, color.B / 255.0f) 413controlBrush != null && (controlColor = controlBrush.Color) != SystemColors.ControlColor && controlColor.A > 0x00) 439darkDarkColor.A = (byte)((darkColor.A + SystemColors.WindowFrameColor.A) / 2); 921return (solidBrush != null && (solidBrush.Color.A == 0xFF || solidBrush.Color.A == 0x00));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
104if (shadowBounds.Width > 0 && shadowBounds.Height > 0 && color.A > 0) 301stopColor.A = (byte)(.74336 * c.A); 304stopColor.A = (byte)(.38053 * c.A); 307stopColor.A = (byte)(.12389 * c.A); 310stopColor.A = (byte)(.02654 * c.A);
PresentationFramework.Luna (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
104if (shadowBounds.Width > 0 && shadowBounds.Height > 0 && color.A > 0) 301stopColor.A = (byte)(.74336 * c.A); 304stopColor.A = (byte)(.38053 * c.A); 307stopColor.A = (byte)(.12389 * c.A); 310stopColor.A = (byte)(.02654 * c.A);
PresentationFramework.Royale (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
104if (shadowBounds.Width > 0 && shadowBounds.Height > 0 && color.A > 0) 301stopColor.A = (byte)(.74336 * c.A); 304stopColor.A = (byte)(.38053 * c.A); 307stopColor.A = (byte)(.12389 * c.A); 310stopColor.A = (byte)(.02654 * c.A);
ReachFramework (16)
AlphaFlattener\BrushProxy.cs (11)
1016_beforeDrawing.A != 0 || // merge before/after brush color into brush 1017_afterDrawing.A != 0 || 2000if (color0.A != color1.A) 2088(Byte) (a * prevColor.A + b * currentColor.A), 2611if ((c.A == 255) && (c.R == 255) && (c.G == 255) && (c.B == 255)) 2628if ((c.A == 255) && (c.R == 0) && (c.G == 0) && (c.B == 0)) 3598if (brush.BeforeFill.A != 0) 3605if (brush.AfterFill.A != 0) 3666m_a = (float) (c.A / 255.0);
AlphaFlattener\Utility.cs (4)
1150Byte a = x.A; 1151Byte b = y.A; 1236Byte xA = colorX.A; 1283Byte b = colorY.A;
Serialization\VisualTreeFlattener.cs (1)
600color.A == 0)
WindowsFormsIntegration (2)
System\Windows\Integration\Convert.cs (1)
323return SD.Color.FromArgb(color.A, color.R, color.G, color.B);
System\Windows\Integration\HostUtils.cs (1)
141return solid != null && solid.Color.A == 255;