191 references to A
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspectorFontAndColorDictionary.cs (3)
27color.A = drawingBrush.Color.A; 38startingColor.A = drawingBrush.LinearColors[0].A; 43endingColor.A = drawingBrush.LinearColors[1].A;
System.Drawing (7)
commonui\System\Drawing\Bitmap.cs (1)
556if (transparent.A < 255) {
commonui\System\Drawing\Color.cs (2)
1468Name, A, R, G, B); 1757sb.Append(A);
commonui\System\Drawing\ColorConverter.cs (4)
269if (c.A < 255) { 271args[nArg++] = intConverter.ConvertToString(context, culture, (object)c.A); 304else if (c.A != 255) { 306args = new object[] {c.A, c.R, c.G, c.B};
System.Web.DataVisualization (66)
Common\Annotation\TextAnnotation.cs (2)
625textShadowColor = (textShadowColor.A != 255) ? textShadowColor : Color.FromArgb(textShadowColor.A / 2, textShadowColor);
Common\ChartTypes\AreaChart.cs (4)
356using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb(pointColor.A / 2, series.ShadowColor))) 1234 if(surfaceColor.A == 255) 1616 if(pointEx.dataPoint.Color.A != 255)
Common\ChartTypes\FunnelChart.cs (3)
1417 series.Points[pointIndex-1].Color.A != 255) 1432 series.Points[pointIndex-1].Color.A != 255) 1455 else if(series.Points[pointIndex+1].Color.A != 255)
Common\ChartTypes\LineChart.cs (3)
756 Pen shadowPen = new Pen((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb((useBorderColor) ? point.BorderColor.A/2 : point.Color.A/2, series.ShadowColor), pointBorderWidth);
Common\ChartTypes\PieChart.cs (8)
907 if( point.Color.A != 255 ) 908 shcolor = Color.FromArgb( point.Color.A/2, point.series.ShadowColor ); 915 if( point.BackSecondaryColor.A != 255 ) 916 shGradientColor = Color.FromArgb( point.BackSecondaryColor.A/2, point.series.ShadowColor ); 926 if( point.BorderColor.A != 255 ) 927 shBorderColor = Color.FromArgb( point.BorderColor.A/2, point.series.ShadowColor ); 3325brush = graph.GetGradientBrush(graph.GetAbsoluteRectangle(area.Position.ToRectangleF()), Color.FromArgb(brushWithoutLight.Color.A, 0, 0, 0), brushWithoutLight.Color, GradientStyle.VerticalCenter); 3837brush = graph.GetGradientBrush(graph.GetAbsoluteRectangle(area.Position.ToRectangleF()), Color.FromArgb(brushWithoutLight.Color.A, 0, 0, 0), brushWithoutLight.Color, GradientStyle.VerticalCenter);
Common\ChartTypes\RangeChart.cs (4)
519using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb(point.Color.A / 2, series.ShadowColor))) 1250 if(surfaceColor.A == 255) 1743 else if(polygonColor.A == 255)
Common\ChartTypes\StackedAreaChart.cs (3)
1236if (pointProperties.Color.A == 255) 1264if (pointProperties.Color.A != 255) 1431 if(pointEx.dataPoint.Color.A != 255)
Common\General\AxisScaleSegments.cs (2)
422 int transparencyStep = (int)(this.axis.ChartArea.ShadowColor.A / size); 458 this.axis.ChartArea.ShadowColor.A - transparencyStep * index,
Common\General\Chart.cs (2)
2542 if(value == Color.Empty || value.A != 255 || value == Color.Transparent) 2902 if(value != Color.Empty && (value.A != 255 || value == Color.Transparent))
Common\General\ChartGraphics.cs (19)
325 if( shadowColor.A != 255 ) 328 shColor = Color.FromArgb(color.A/2, shadowColor); 817this.FillPolygon(new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor)), points); 834using (SolidBrush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 948using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 1026using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 1079using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 3756using (SolidBrush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(backColor.A / 2, shadowColor))) 4092 return GetGradientColor( Color.FromArgb(beginColor.A,255,255,255), beginColor, 1 - brightness + position ); 4100 return Color.FromArgb( beginColor.A, 0, 0, 0 ); 5290 Color.FromArgb( backColor.A, backColor ), 5291 Color.FromArgb( backColor.A, backColor )}; 5725 return Color.FromArgb(beginColor.A, (int)dRRed, (int)dRGreen, (int)dRBlue);
Common\General\ChartGraphics3D.cs (11)
1273 else if(polygonColor.A == 255) 2181 if(polygonColor.A == 255) 2483 bool transparent = color.A != 255; 2508 leftPointAttr.dataPoint.series.EmptyPointStyle.Color.A == 255) 2516 leftPointAttr.dataPoint.Color.A == 255) 2564 rightPointAttr.dataPoint.series.EmptyPointStyle.Color.A == 255) 2572 rightPointAttr.dataPoint.Color.A == 255) 2923 if(drawVisible == 0 && backColor.A == 255) 3551using (Brush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 4099 if(drawVisible == 0 && backColor.A == 255)
Common\General\Legend.cs (1)
5541 if(value != Color.Empty && (value.A != 255 || value == Color.Transparent))
Common\General\Matrix3D.cs (2)
1193 return ChartGraphics.GetGradientColor( Color.FromArgb(beginColor.A,255,255,255), beginColor, 1 - brightness + position ); 1201 return Color.FromArgb( beginColor.A, 0, 0, 0 );
Common\General\Title.cs (2)
1623textShadowColor = (textShadowColor.A != 255) ? textShadowColor : Color.FromArgb(textShadowColor.A / 2, textShadowColor);
System.Windows.Forms (44)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
95byte a1 = color1.A; 100byte a2 = color2.A;
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (3)
95if (color.A == 255 && e.HDC != IntPtr.Zero) { 109if (color.A > 0) { 110if (color.A == 255) {
winforms\Managed\System\WinForms\Control.cs (8)
1115if (!value.Equals(Color.Empty) && !GetStyle(ControlStyles.SupportsTransparentBackColor) && value.A < 255) 2254if (color.A == 0) { 2256while (color.A == 0) { 3195if (!c.IsEmpty && !GetStyle(ControlStyles.SupportsTransparentBackColor) && c.A < 255) 3642return GetStyle(ControlStyles.SupportsTransparentBackColor) && this.BackColor.A < 255; 3649return GetStyle(ControlStyles.SupportsTransparentBackColor) && c.A < 255; 9644if (color.A == 255) { 9657if (color.A > 0) {
winforms\Managed\System\WinForms\ControlPaint.cs (5)
2319return Color.FromArgb(color.A, (byte)~color.R, (byte)~color.G, (byte)~color.B); 2569Debug.Assert(replaceBlack.A == 255, "replaceBlack.Alpha is ignored, so please set it to 255 so I know you know what you're doing"); 2570Debug.Assert(replaceWhite.A == 255, "replaceWhite.Alpha is ignored, so please set it to 255 so I know you know what you're doing"); 2577float normBlackAlpha = ((float)replaceBlack.A)/(float)255.0; 2582float normWhiteAlpha = ((float)replaceWhite.A)/(float)255.0;
winforms\Managed\System\WinForms\DataGrid.cs (1)
6711return color.A < 255;
winforms\Managed\System\WinForms\DataGridView.cs (2)
1297if (value.A < 255) 3328if (value.A < 255)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (2)
736if (paint && DataGridViewCell.PaintBackground(paintParts) && backBrush.Color.A == 255) 807if (backBrush.Color.A == 255)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1219if (paint && DataGridViewCell.PaintBackground(paintParts) && br.Color.A == 255)
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
895if (br.Color.A == 255)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (4)
2169if (paint && DataGridViewCell.PaintBackground(paintParts) && br.Color.A == 255 && valBounds.Width > 0 && valBounds.Height > 0) 2192if (paintPostXPThemes && DataGridViewCell.PaintBackground(paintParts) && br.Color.A == 255) 2208DataGridViewCell.PaintBackground(paintParts) && br.Color.A == 255 && valBounds.Width > 2 && valBounds.Height > 2) 2213else if (DataGridViewCell.PaintBackground(paintParts) && br.Color.A == 255)
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (1)
132if (dataGridViewCellStyle.BackColor.A < 255)
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (1)
657if (br.Color.A == 255)
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (3)
903if (DataGridViewCell.PaintBackground(paintParts) && br.Color.A == 255) 927if (paint && DataGridViewCell.PaintBackground(paintParts) && br.Color.A == 255) 936if (paint && DataGridViewCell.PaintBackground(paintParts) && br.Color.A == 255)
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (1)
1021if (paint && DataGridViewCell.PaintBackground(paintParts) && br.Color.A == 255)
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
867if (paint && DataGridViewCell.PaintBackground(paintParts) && br.Color.A == 255)
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
717if (paint && DataGridViewCell.PaintBackground(paintParts) && br.Color.A == 255 && valBounds.Width > 0 && valBounds.Height > 0)
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (1)
134if (dataGridViewCellStyle.BackColor.A < 255)
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (1)
306if (br.Color.A == 255)
winforms\Managed\System\WinForms\ImageList.cs (2)
396get { return TransparentColor.A > 0;} 450if (transparent.A > 0) {
winforms\Managed\System\WinForms\ProfessionalColorTable.cs (2)
430int newAlpha = (src.A * alpha + (255 - alpha) * dest.A) / 255;
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
139return Color.FromArgb(color.A, (byte)~color.R, (byte)~color.G, (byte)~color.B);
System.Windows.Forms.DataVisualization (67)
Common\Annotation\TextAnnotation.cs (2)
625textShadowColor = (textShadowColor.A != 255) ? textShadowColor : Color.FromArgb(textShadowColor.A / 2, textShadowColor);
Common\ChartTypes\AreaChart.cs (4)
356using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb(pointColor.A / 2, series.ShadowColor))) 1234 if(surfaceColor.A == 255) 1616 if(pointEx.dataPoint.Color.A != 255)
Common\ChartTypes\FunnelChart.cs (3)
1417 series.Points[pointIndex-1].Color.A != 255) 1432 series.Points[pointIndex-1].Color.A != 255) 1455 else if(series.Points[pointIndex+1].Color.A != 255)
Common\ChartTypes\LineChart.cs (3)
756 Pen shadowPen = new Pen((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb((useBorderColor) ? point.BorderColor.A/2 : point.Color.A/2, series.ShadowColor), pointBorderWidth);
Common\ChartTypes\PieChart.cs (8)
907 if( point.Color.A != 255 ) 908 shcolor = Color.FromArgb( point.Color.A/2, point.series.ShadowColor ); 915 if( point.BackSecondaryColor.A != 255 ) 916 shGradientColor = Color.FromArgb( point.BackSecondaryColor.A/2, point.series.ShadowColor ); 926 if( point.BorderColor.A != 255 ) 927 shBorderColor = Color.FromArgb( point.BorderColor.A/2, point.series.ShadowColor ); 3325brush = graph.GetGradientBrush(graph.GetAbsoluteRectangle(area.Position.ToRectangleF()), Color.FromArgb(brushWithoutLight.Color.A, 0, 0, 0), brushWithoutLight.Color, GradientStyle.VerticalCenter); 3837brush = graph.GetGradientBrush(graph.GetAbsoluteRectangle(area.Position.ToRectangleF()), Color.FromArgb(brushWithoutLight.Color.A, 0, 0, 0), brushWithoutLight.Color, GradientStyle.VerticalCenter);
Common\ChartTypes\RangeChart.cs (4)
519using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor : Color.FromArgb(point.Color.A / 2, series.ShadowColor))) 1250 if(surfaceColor.A == 255) 1743 else if(polygonColor.A == 255)
Common\ChartTypes\StackedAreaChart.cs (3)
1236if (pointProperties.Color.A == 255) 1264if (pointProperties.Color.A != 255) 1431 if(pointEx.dataPoint.Color.A != 255)
Common\General\AxisScaleSegments.cs (2)
422 int transparencyStep = (int)(this.axis.ChartArea.ShadowColor.A / size); 458 this.axis.ChartArea.ShadowColor.A - transparencyStep * index,
Common\General\Chart.cs (2)
2542 if(value == Color.Empty || value.A != 255 || value == Color.Transparent) 2902 if(value != Color.Empty && (value.A != 255 || value == Color.Transparent))
Common\General\ChartGraphics.cs (19)
325 if( shadowColor.A != 255 ) 328 shColor = Color.FromArgb(color.A/2, shadowColor); 817this.FillPolygon(new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor)), points); 834using (SolidBrush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 948using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 1026using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 1079using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 3756using (SolidBrush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(backColor.A / 2, shadowColor))) 4092 return GetGradientColor( Color.FromArgb(beginColor.A,255,255,255), beginColor, 1 - brightness + position ); 4100 return Color.FromArgb( beginColor.A, 0, 0, 0 ); 5290 Color.FromArgb( backColor.A, backColor ), 5291 Color.FromArgb( backColor.A, backColor )}; 5725 return Color.FromArgb(beginColor.A, (int)dRRed, (int)dRGreen, (int)dRBlue);
Common\General\ChartGraphics3D.cs (11)
1273 else if(polygonColor.A == 255) 2181 if(polygonColor.A == 255) 2483 bool transparent = color.A != 255; 2508 leftPointAttr.dataPoint.series.EmptyPointStyle.Color.A == 255) 2516 leftPointAttr.dataPoint.Color.A == 255) 2564 rightPointAttr.dataPoint.series.EmptyPointStyle.Color.A == 255) 2572 rightPointAttr.dataPoint.Color.A == 255) 2923 if(drawVisible == 0 && backColor.A == 255) 3551using (Brush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.FromArgb(markerColor.A / 2, shadowColor))) 4099 if(drawVisible == 0 && backColor.A == 255)
Common\General\Legend.cs (1)
5541 if(value != Color.Empty && (value.A != 255 || value == Color.Transparent))
Common\General\Matrix3D.cs (2)
1193 return ChartGraphics.GetGradientColor( Color.FromArgb(beginColor.A,255,255,255), beginColor, 1 - brightness + position ); 1201 return Color.FromArgb( beginColor.A, 0, 0, 0 );
Common\General\Title.cs (2)
1623textShadowColor = (textShadowColor.A != 255) ? textShadowColor : Color.FromArgb(textShadowColor.A / 2, textShadowColor);
WinForm\ChartWinControl.cs (1)
386 (this.BackColor == Color.Transparent || this.BackColor.A != 255) )
System.Workflow.ComponentModel (4)
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (1)
325long colorValue = (long)((uint)(color.A << 24 | color.R << 16 | color.G << 8 | color.B)) & 0xFFFFFFFF;
AuthoringOM\Design\DesignerHelpers.cs (1)
480shadowColor = Color.FromArgb(shadowColor.A + alphaIncreament, shadowColor.R, shadowColor.G, shadowColor.B);
AuthoringOM\Design\Themes.cs (2)
2883Color minorGridColor = Color.FromArgb(this.gridColor.A, Math.Min(this.gridColor.R + 32, 255), Math.Min(this.gridColor.G + 32, 255), Math.Min(this.gridColor.B + 32, 255)); 2899Color minorGridColor = Color.FromArgb(this.gridColor.A, Math.Min(this.gridColor.R + 32, 255), Math.Min(this.gridColor.G + 32, 255), Math.Min(this.gridColor.B + 32, 255));