34 writes to A
PresentationCore (3)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
420color.A = Convert.ToByte(alpha);
MS\Internal\Ink\StrokeRenderer.cs (1)
1117color.A = SolidStrokeAlpha;
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
63color.A = StrokeRenderer.SolidStrokeAlpha;
PresentationFramework.Aero (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
305stopColor.A = (byte)(.74336 * c.A); 308stopColor.A = (byte)(.38053 * c.A); 311stopColor.A = (byte)(.12389 * c.A); 314stopColor.A = (byte)(.02654 * c.A); 317stopColor.A = 0;
PresentationFramework.Aero2 (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
305stopColor.A = (byte)(.74336 * c.A); 308stopColor.A = (byte)(.38053 * c.A); 311stopColor.A = (byte)(.12389 * c.A); 314stopColor.A = (byte)(.02654 * c.A); 317stopColor.A = 0;
PresentationFramework.AeroLite (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
305stopColor.A = (byte)(.74336 * c.A); 308stopColor.A = (byte)(.38053 * c.A); 311stopColor.A = (byte)(.12389 * c.A); 314stopColor.A = (byte)(.02654 * c.A); 317stopColor.A = 0;
PresentationFramework.Classic (6)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (1)
442darkDarkColor.A = (byte)((darkColor.A + SystemColors.WindowFrameColor.A) / 2);
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
305stopColor.A = (byte)(.74336 * c.A); 308stopColor.A = (byte)(.38053 * c.A); 311stopColor.A = (byte)(.12389 * c.A); 314stopColor.A = (byte)(.02654 * c.A); 317stopColor.A = 0;
PresentationFramework.Luna (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
305stopColor.A = (byte)(.74336 * c.A); 308stopColor.A = (byte)(.38053 * c.A); 311stopColor.A = (byte)(.12389 * c.A); 314stopColor.A = (byte)(.02654 * c.A); 317stopColor.A = 0;
PresentationFramework.Royale (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
305stopColor.A = (byte)(.74336 * c.A); 308stopColor.A = (byte)(.38053 * c.A); 311stopColor.A = (byte)(.12389 * c.A); 314stopColor.A = (byte)(.02654 * c.A); 317stopColor.A = 0;
65 references to A
PresentationCore (8)
MS\Internal\Ink\InkSerializedFormat\DrawingAttributeSerializer.cs (1)
521byte alphaChannel = da.Color.A;
MS\Internal\Ink\StrokeRenderer.cs (1)
1101if (da.Color.A != SolidStrokeAlpha)
MS\Internal\TextFormatting\SimpleTextLine.cs (1)
1758(byte)(color.A>>2), // * 0.25
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (1)
62_opacity = _drawingAttributes.IsHighlighter ? 0 : (double)color.A / (double)StrokeRenderer.SolidStrokeAlpha;
System\Windows\Media\ColorConverter.cs (1)
117return new InstanceDescriptor(mi, new object[]{c.A, c.R, c.G, c.B});
System\Windows\Media\Effects\ShaderEffect.cs (1)
906newVal.a = (float)col.A / 255f;
System\Windows\Media\Imaging\BitmapPalette.cs (2)
251if (color.A != 255) 295paletteColorArray[i].A = color.A;
PresentationFramework (3)
System\Windows\Annotations\AnnotationHelper.cs (2)
950alpha = brush.Color.A; 952alpha = (byte) (brush.Opacity * brush.Color.A);
System\Windows\Controls\Border.cs (1)
303|| ((originIndependentBrush.Color.A < 0xff) && !uniformBorders)
PresentationFramework.Aero (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
108if (shadowBounds.Width > 0 && shadowBounds.Height > 0 && color.A > 0) 305stopColor.A = (byte)(.74336 * c.A); 308stopColor.A = (byte)(.38053 * c.A); 311stopColor.A = (byte)(.12389 * c.A); 314stopColor.A = (byte)(.02654 * c.A);
PresentationFramework.Aero2 (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
108if (shadowBounds.Width > 0 && shadowBounds.Height > 0 && color.A > 0) 305stopColor.A = (byte)(.74336 * c.A); 308stopColor.A = (byte)(.38053 * c.A); 311stopColor.A = (byte)(.12389 * c.A); 314stopColor.A = (byte)(.02654 * c.A);
PresentationFramework.AeroLite (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
108if (shadowBounds.Width > 0 && shadowBounds.Height > 0 && color.A > 0) 305stopColor.A = (byte)(.74336 * c.A); 308stopColor.A = (byte)(.38053 * c.A); 311stopColor.A = (byte)(.12389 * c.A); 314stopColor.A = (byte)(.02654 * c.A);
PresentationFramework.Classic (11)
Microsoft\Windows\Themes\ClassicBorderDecorator.cs (6)
182: this(color.A, color.R / 255.0f, color.G / 255.0f, color.B / 255.0f) 416controlBrush != null && (controlColor = controlBrush.Color) != SystemColors.ControlColor && controlColor.A > 0x00) 442darkDarkColor.A = (byte)((darkColor.A + SystemColors.WindowFrameColor.A) / 2); 924return (solidBrush != null && (solidBrush.Color.A == 0xFF || solidBrush.Color.A == 0x00));
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
108if (shadowBounds.Width > 0 && shadowBounds.Height > 0 && color.A > 0) 305stopColor.A = (byte)(.74336 * c.A); 308stopColor.A = (byte)(.38053 * c.A); 311stopColor.A = (byte)(.12389 * c.A); 314stopColor.A = (byte)(.02654 * c.A);
PresentationFramework.Luna (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
108if (shadowBounds.Width > 0 && shadowBounds.Height > 0 && color.A > 0) 305stopColor.A = (byte)(.74336 * c.A); 308stopColor.A = (byte)(.38053 * c.A); 311stopColor.A = (byte)(.12389 * c.A); 314stopColor.A = (byte)(.02654 * c.A);
PresentationFramework.Royale (5)
src\Microsoft.DotNet.Wpf\src\Themes\Shared\Microsoft\Windows\Themes\SystemDropShadowChrome.cs (5)
108if (shadowBounds.Width > 0 && shadowBounds.Height > 0 && color.A > 0) 305stopColor.A = (byte)(.74336 * c.A); 308stopColor.A = (byte)(.38053 * c.A); 311stopColor.A = (byte)(.12389 * c.A); 314stopColor.A = (byte)(.02654 * c.A);
ReachFramework (16)
AlphaFlattener\BrushProxy.cs (11)
1020_beforeDrawing.A != 0 || // merge before/after brush color into brush 1021_afterDrawing.A != 0 || 2004if (color0.A != color1.A) 2092(Byte) (a * prevColor.A + b * currentColor.A), 2615if ((c.A == 255) && (c.R == 255) && (c.G == 255) && (c.B == 255)) 2632if ((c.A == 255) && (c.R == 0) && (c.G == 0) && (c.B == 0)) 3602if (brush.BeforeFill.A != 0) 3609if (brush.AfterFill.A != 0) 3670m_a = (float) (c.A / 255.0);
AlphaFlattener\Utility.cs (4)
1161Byte a = x.A; 1162Byte b = y.A; 1247Byte xA = colorX.A; 1294Byte b = colorY.A;
Serialization\VisualTreeFlattener.cs (1)
607color.A == 0)
WindowsFormsIntegration (2)
System\Windows\Integration\Convert.cs (1)
326return SD.Color.FromArgb(color.A, color.R, color.G, color.B);
System\Windows\Integration\HostUtils.cs (1)
145return solid != null && solid.Color.A == 255;