191 references to A
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspectorFontAndColorDictionary.cs (3)
27
color.A = drawingBrush.Color.
A
;
38
startingColor.A = drawingBrush.LinearColors[0].
A
;
43
endingColor.A = drawingBrush.LinearColors[1].
A
;
System.Drawing (7)
commonui\System\Drawing\Bitmap.cs (1)
556
if (transparent.
A
< 255) {
commonui\System\Drawing\Color.cs (2)
1468
Name,
A
, R, G, B);
1757
sb.Append(
A
);
commonui\System\Drawing\ColorConverter.cs (4)
269
if (c.
A
< 255) {
271
args[nArg++] = intConverter.ConvertToString(context, culture, (object)c.
A
);
304
else if (c.
A
!= 255) {
306
args = new object[] {c.
A
, c.R, c.G, c.B};
System.Web.DataVisualization (66)
Common\Annotation\TextAnnotation.cs (2)
625
textShadowColor = (textShadowColor.
A
!= 255) ? textShadowColor : Color.FromArgb(textShadowColor.
A
/ 2, textShadowColor);
Common\ChartTypes\AreaChart.cs (4)
356
using (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 );
3325
brush = graph.GetGradientBrush(graph.GetAbsoluteRectangle(area.Position.ToRectangleF()), Color.FromArgb(brushWithoutLight.Color.
A
, 0, 0, 0), brushWithoutLight.Color, GradientStyle.VerticalCenter);
3837
brush = graph.GetGradientBrush(graph.GetAbsoluteRectangle(area.Position.ToRectangleF()), Color.FromArgb(brushWithoutLight.Color.
A
, 0, 0, 0), brushWithoutLight.Color, GradientStyle.VerticalCenter);
Common\ChartTypes\RangeChart.cs (4)
519
using (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)
1236
if (pointProperties.Color.
A
== 255)
1264
if (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);
817
this.FillPolygon(new SolidBrush((shadowColor.
A
!= 255) ? shadowColor : Color.FromArgb(markerColor.
A
/ 2, shadowColor)), points);
834
using (SolidBrush shadowBrush = new SolidBrush((shadowColor.
A
!= 255) ? shadowColor : Color.FromArgb(markerColor.
A
/ 2, shadowColor)))
948
using (Brush softShadowBrush = new SolidBrush((shadowColor.
A
!= 255) ? shadowColor : Color.FromArgb(markerColor.
A
/ 2, shadowColor)))
1026
using (Brush softShadowBrush = new SolidBrush((shadowColor.
A
!= 255) ? shadowColor : Color.FromArgb(markerColor.
A
/ 2, shadowColor)))
1079
using (Brush softShadowBrush = new SolidBrush((shadowColor.
A
!= 255) ? shadowColor : Color.FromArgb(markerColor.
A
/ 2, shadowColor)))
3756
using (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)
3551
using (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)
1623
textShadowColor = (textShadowColor.
A
!= 255) ? textShadowColor : Color.FromArgb(textShadowColor.
A
/ 2, textShadowColor);
System.Windows.Forms (44)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (2)
95
byte a1 = color1.
A
;
100
byte a2 = color2.
A
;
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (3)
95
if (color.
A
== 255 && e.HDC != IntPtr.Zero) {
109
if (color.
A
> 0) {
110
if (color.
A
== 255) {
winforms\Managed\System\WinForms\Control.cs (8)
1115
if (!value.Equals(Color.Empty) && !GetStyle(ControlStyles.SupportsTransparentBackColor) && value.
A
< 255)
2254
if (color.
A
== 0) {
2256
while (color.
A
== 0) {
3195
if (!c.IsEmpty && !GetStyle(ControlStyles.SupportsTransparentBackColor) && c.
A
< 255)
3642
return GetStyle(ControlStyles.SupportsTransparentBackColor) && this.BackColor.
A
< 255;
3649
return GetStyle(ControlStyles.SupportsTransparentBackColor) && c.
A
< 255;
9644
if (color.
A
== 255) {
9657
if (color.
A
> 0) {
winforms\Managed\System\WinForms\ControlPaint.cs (5)
2319
return Color.FromArgb(color.
A
, (byte)~color.R, (byte)~color.G, (byte)~color.B);
2569
Debug.Assert(replaceBlack.
A
== 255, "replaceBlack.Alpha is ignored, so please set it to 255 so I know you know what you're doing");
2570
Debug.Assert(replaceWhite.
A
== 255, "replaceWhite.Alpha is ignored, so please set it to 255 so I know you know what you're doing");
2577
float normBlackAlpha = ((float)replaceBlack.
A
)/(float)255.0;
2582
float normWhiteAlpha = ((float)replaceWhite.
A
)/(float)255.0;
winforms\Managed\System\WinForms\DataGrid.cs (1)
6711
return color.
A
< 255;
winforms\Managed\System\WinForms\DataGridView.cs (2)
1297
if (value.
A
< 255)
3328
if (value.
A
< 255)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (2)
736
if (paint && DataGridViewCell.PaintBackground(paintParts) && backBrush.Color.
A
== 255)
807
if (backBrush.Color.
A
== 255)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (1)
1219
if (paint && DataGridViewCell.PaintBackground(paintParts) && br.Color.
A
== 255)
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
895
if (br.Color.
A
== 255)
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (4)
2169
if (paint && DataGridViewCell.PaintBackground(paintParts) && br.Color.
A
== 255 && valBounds.Width > 0 && valBounds.Height > 0)
2192
if (paintPostXPThemes && DataGridViewCell.PaintBackground(paintParts) && br.Color.
A
== 255)
2208
DataGridViewCell.PaintBackground(paintParts) && br.Color.
A
== 255 && valBounds.Width > 2 && valBounds.Height > 2)
2213
else if (DataGridViewCell.PaintBackground(paintParts) && br.Color.
A
== 255)
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (1)
132
if (dataGridViewCellStyle.BackColor.
A
< 255)
winforms\Managed\System\WinForms\DataGridViewHeaderCell.cs (1)
657
if (br.Color.
A
== 255)
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (3)
903
if (DataGridViewCell.PaintBackground(paintParts) && br.Color.
A
== 255)
927
if (paint && DataGridViewCell.PaintBackground(paintParts) && br.Color.
A
== 255)
936
if (paint && DataGridViewCell.PaintBackground(paintParts) && br.Color.
A
== 255)
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (1)
1021
if (paint && DataGridViewCell.PaintBackground(paintParts) && br.Color.
A
== 255)
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (1)
867
if (paint && DataGridViewCell.PaintBackground(paintParts) && br.Color.
A
== 255)
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
717
if (paint && DataGridViewCell.PaintBackground(paintParts) && br.Color.
A
== 255 && valBounds.Width > 0 && valBounds.Height > 0)
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (1)
134
if (dataGridViewCellStyle.BackColor.
A
< 255)
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (1)
306
if (br.Color.
A
== 255)
winforms\Managed\System\WinForms\ImageList.cs (2)
396
get { return TransparentColor.
A
> 0;}
450
if (transparent.
A
> 0) {
winforms\Managed\System\WinForms\ProfessionalColorTable.cs (2)
430
int newAlpha = (src.
A
* alpha + (255 - alpha) * dest.
A
) / 255;
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (1)
139
return Color.FromArgb(color.
A
, (byte)~color.R, (byte)~color.G, (byte)~color.B);
System.Windows.Forms.DataVisualization (67)
Common\Annotation\TextAnnotation.cs (2)
625
textShadowColor = (textShadowColor.
A
!= 255) ? textShadowColor : Color.FromArgb(textShadowColor.
A
/ 2, textShadowColor);
Common\ChartTypes\AreaChart.cs (4)
356
using (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 );
3325
brush = graph.GetGradientBrush(graph.GetAbsoluteRectangle(area.Position.ToRectangleF()), Color.FromArgb(brushWithoutLight.Color.
A
, 0, 0, 0), brushWithoutLight.Color, GradientStyle.VerticalCenter);
3837
brush = graph.GetGradientBrush(graph.GetAbsoluteRectangle(area.Position.ToRectangleF()), Color.FromArgb(brushWithoutLight.Color.
A
, 0, 0, 0), brushWithoutLight.Color, GradientStyle.VerticalCenter);
Common\ChartTypes\RangeChart.cs (4)
519
using (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)
1236
if (pointProperties.Color.
A
== 255)
1264
if (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);
817
this.FillPolygon(new SolidBrush((shadowColor.
A
!= 255) ? shadowColor : Color.FromArgb(markerColor.
A
/ 2, shadowColor)), points);
834
using (SolidBrush shadowBrush = new SolidBrush((shadowColor.
A
!= 255) ? shadowColor : Color.FromArgb(markerColor.
A
/ 2, shadowColor)))
948
using (Brush softShadowBrush = new SolidBrush((shadowColor.
A
!= 255) ? shadowColor : Color.FromArgb(markerColor.
A
/ 2, shadowColor)))
1026
using (Brush softShadowBrush = new SolidBrush((shadowColor.
A
!= 255) ? shadowColor : Color.FromArgb(markerColor.
A
/ 2, shadowColor)))
1079
using (Brush softShadowBrush = new SolidBrush((shadowColor.
A
!= 255) ? shadowColor : Color.FromArgb(markerColor.
A
/ 2, shadowColor)))
3756
using (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)
3551
using (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)
1623
textShadowColor = (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)
325
long colorValue = (long)((uint)(color.
A
<< 24 | color.R << 16 | color.G << 8 | color.B)) & 0xFFFFFFFF;
AuthoringOM\Design\DesignerHelpers.cs (1)
480
shadowColor = Color.FromArgb(shadowColor.
A
+ alphaIncreament, shadowColor.R, shadowColor.G, shadowColor.B);
AuthoringOM\Design\Themes.cs (2)
2883
Color 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));
2899
Color 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));