142 references to FromArgb
System.Drawing (1)
commonui\System\Drawing\ToolboxBitmapAttribute.cs (1)
470
Color newBottomLeft = Color.
FromArgb
(0, bottomLeft);
System.Web.DataVisualization (59)
Common\Annotation\TextAnnotation.cs (1)
625
textShadowColor = (textShadowColor.A != 255) ? textShadowColor : Color.
FromArgb
(textShadowColor.A / 2, textShadowColor);
Common\Borders3D\EmbedBorder.cs (4)
958
graph.DrawRoundedRectShadowAbs(shadowRect, cornerRadius, radius, Color.
FromArgb
(128, Color.Black), borderSkin.PageColor, outsideShadowRate);
1048
Color.
FromArgb
(175, (sunken) ? Color.White : shadowColor),
1078
Color.
FromArgb
(175, (sunken) ? shadowColor : Color.White),
1095
screwPen = new Pen(Color.
FromArgb
(128, Color.Black), 1);
Common\Borders3D\EmbossBorder.cs (1)
261
Color.
FromArgb
(128, Color.Gray),
Common\ChartTypes\AreaChart.cs (1)
356
using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor : Color.
FromArgb
(pointColor.A / 2, series.ShadowColor)))
Common\ChartTypes\LineChart.cs (1)
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 (3)
908
shcolor = Color.
FromArgb
( point.Color.A/2, point.series.ShadowColor );
916
shGradientColor = Color.
FromArgb
( point.BackSecondaryColor.A/2, point.series.ShadowColor );
927
shBorderColor = Color.
FromArgb
( point.BorderColor.A/2, point.series.ShadowColor );
Common\ChartTypes\RangeChart.cs (1)
519
using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor : Color.
FromArgb
(point.Color.A / 2, series.ShadowColor)))
Common\General\AxisScaleSegments.cs (1)
457
Color color = Color.
FromArgb
(
Common\General\ChartGraphics.cs (30)
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)))
2864
Color.
FromArgb
(120, Color.White),
2884
Color.
FromArgb
(120, Color.White),
2891
Color.
FromArgb
(150, Color.Black),
2926
using(SolidBrush leftTopBrush = new SolidBrush(Color.
FromArgb
(100, Color.White)))
2947
using(SolidBrush bottomRightBrush = new SolidBrush(Color.
FromArgb
(80, Color.Black)))
2983
(isVertical) ? Color.
FromArgb
(120, Color.White) : Color.Transparent,
2990
(isVertical) ? Color.Transparent : Color.
FromArgb
(120, Color.White),
3011
(!isVertical) ? Color.
FromArgb
(80, Color.Black) : Color.Transparent,
3018
(!isVertical) ? Color.Transparent : Color.
FromArgb
(80, Color.Black),
3058
using(SolidBrush brush = new SolidBrush(Color.
FromArgb
(90, Color.Black)))
3079
using(SolidBrush brush = new SolidBrush(Color.
FromArgb
(50, Color.Black)))
3085
using(Pen penDark = new Pen(Color.
FromArgb
(20, Color.Black), 1))
3109
using(Pen pen = new Pen(Color.
FromArgb
(40, Color.White), 1))
3149
using(SolidBrush brush = new SolidBrush(Color.
FromArgb
(50, Color.Black)))
3155
using(Pen penDark = new Pen(Color.
FromArgb
(20, Color.Black), 1))
3159
using(Pen pen = new Pen(Color.
FromArgb
(40, Color.White), 1))
3756
using (SolidBrush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.
FromArgb
(backColor.A / 2, shadowColor)))
5173
colorBlend.Colors[0] = Color.
FromArgb
(100, Color.Black);
5175
colorBlend.Colors[2] = Color.
FromArgb
(140, Color.White);
5215
brush.SurroundColors = new Color[] { Color.
FromArgb
(100, Color.Black) };
5251
brushInner.CenterColor = Color.
FromArgb
(100, Color.Black);
5289
Color.
FromArgb
( 0, backColor ),
5290
Color.
FromArgb
( backColor.A, backColor ),
5291
Color.
FromArgb
( backColor.A, backColor )};
Common\General\ChartGraphics3D.cs (14)
3147
using(SolidBrush brush = new SolidBrush(Color.
FromArgb
(90, Color.Black)))
3168
using(SolidBrush brush = new SolidBrush(Color.
FromArgb
(50, Color.Black)))
3174
using(Pen penDark = new Pen(Color.
FromArgb
(20, Color.Black), 1))
3184
using(Pen pen = new Pen(Color.
FromArgb
(40, Color.White), 1))
3210
using(SolidBrush brush = new SolidBrush(Color.
FromArgb
(50, Color.Black)))
3216
using(Pen penDark = new Pen(Color.
FromArgb
(20, Color.Black), 1))
3220
using(Pen pen = new Pen(Color.
FromArgb
(40, Color.White), 1))
3288
(!isVertical) ? Color.Transparent : Color.
FromArgb
(120, Color.White),
3289
(!isVertical) ? Color.
FromArgb
(120, Color.White) : Color.Transparent,
3344
(isVertical) ? Color.Transparent : Color.
FromArgb
(80, Color.Black),
3345
(isVertical) ? Color.
FromArgb
(80, Color.Black) : Color.Transparent,
3395
using(SolidBrush leftTopBrush = new SolidBrush(Color.
FromArgb
(100, Color.White)))
3425
using(SolidBrush bottomRightBrush = new SolidBrush(Color.
FromArgb
(80, Color.Black)))
3551
using (Brush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.
FromArgb
(markerColor.A / 2, shadowColor)))
Common\General\Title.cs (2)
1537
Color.
FromArgb
(0, Color.White),
1623
textShadowColor = (textShadowColor.A != 255) ? textShadowColor : Color.
FromArgb
(textShadowColor.A / 2, textShadowColor);
System.Windows.Forms (4)
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (1)
135
Color opaqueBackColor = Color.
FromArgb
(255, dataGridViewCellStyle.BackColor);
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (1)
137
Color opaqueBackColor = Color.
FromArgb
(255, dataGridViewCellStyle.BackColor);
winforms\Managed\System\WinForms\HtmlDocument.cs (2)
850
return Color.
FromArgb
(255, Color.FromArgb(int.Parse(hexColor, NumberStyles.HexNumber, CultureInfo.InvariantCulture)));
860
return Color.
FromArgb
(255, Color.FromArgb((int)oColor));
System.Windows.Forms.DataVisualization (59)
Common\Annotation\TextAnnotation.cs (1)
625
textShadowColor = (textShadowColor.A != 255) ? textShadowColor : Color.
FromArgb
(textShadowColor.A / 2, textShadowColor);
Common\Borders3D\EmbedBorder.cs (4)
958
graph.DrawRoundedRectShadowAbs(shadowRect, cornerRadius, radius, Color.
FromArgb
(128, Color.Black), borderSkin.PageColor, outsideShadowRate);
1048
Color.
FromArgb
(175, (sunken) ? Color.White : shadowColor),
1078
Color.
FromArgb
(175, (sunken) ? shadowColor : Color.White),
1095
screwPen = new Pen(Color.
FromArgb
(128, Color.Black), 1);
Common\Borders3D\EmbossBorder.cs (1)
261
Color.
FromArgb
(128, Color.Gray),
Common\ChartTypes\AreaChart.cs (1)
356
using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor : Color.
FromArgb
(pointColor.A / 2, series.ShadowColor)))
Common\ChartTypes\LineChart.cs (1)
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 (3)
908
shcolor = Color.
FromArgb
( point.Color.A/2, point.series.ShadowColor );
916
shGradientColor = Color.
FromArgb
( point.BackSecondaryColor.A/2, point.series.ShadowColor );
927
shBorderColor = Color.
FromArgb
( point.BorderColor.A/2, point.series.ShadowColor );
Common\ChartTypes\RangeChart.cs (1)
519
using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor : Color.
FromArgb
(point.Color.A / 2, series.ShadowColor)))
Common\General\AxisScaleSegments.cs (1)
457
Color color = Color.
FromArgb
(
Common\General\ChartGraphics.cs (30)
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)))
2864
Color.
FromArgb
(120, Color.White),
2884
Color.
FromArgb
(120, Color.White),
2891
Color.
FromArgb
(150, Color.Black),
2926
using(SolidBrush leftTopBrush = new SolidBrush(Color.
FromArgb
(100, Color.White)))
2947
using(SolidBrush bottomRightBrush = new SolidBrush(Color.
FromArgb
(80, Color.Black)))
2983
(isVertical) ? Color.
FromArgb
(120, Color.White) : Color.Transparent,
2990
(isVertical) ? Color.Transparent : Color.
FromArgb
(120, Color.White),
3011
(!isVertical) ? Color.
FromArgb
(80, Color.Black) : Color.Transparent,
3018
(!isVertical) ? Color.Transparent : Color.
FromArgb
(80, Color.Black),
3058
using(SolidBrush brush = new SolidBrush(Color.
FromArgb
(90, Color.Black)))
3079
using(SolidBrush brush = new SolidBrush(Color.
FromArgb
(50, Color.Black)))
3085
using(Pen penDark = new Pen(Color.
FromArgb
(20, Color.Black), 1))
3109
using(Pen pen = new Pen(Color.
FromArgb
(40, Color.White), 1))
3149
using(SolidBrush brush = new SolidBrush(Color.
FromArgb
(50, Color.Black)))
3155
using(Pen penDark = new Pen(Color.
FromArgb
(20, Color.Black), 1))
3159
using(Pen pen = new Pen(Color.
FromArgb
(40, Color.White), 1))
3756
using (SolidBrush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.
FromArgb
(backColor.A / 2, shadowColor)))
5173
colorBlend.Colors[0] = Color.
FromArgb
(100, Color.Black);
5175
colorBlend.Colors[2] = Color.
FromArgb
(140, Color.White);
5215
brush.SurroundColors = new Color[] { Color.
FromArgb
(100, Color.Black) };
5251
brushInner.CenterColor = Color.
FromArgb
(100, Color.Black);
5289
Color.
FromArgb
( 0, backColor ),
5290
Color.
FromArgb
( backColor.A, backColor ),
5291
Color.
FromArgb
( backColor.A, backColor )};
Common\General\ChartGraphics3D.cs (14)
3147
using(SolidBrush brush = new SolidBrush(Color.
FromArgb
(90, Color.Black)))
3168
using(SolidBrush brush = new SolidBrush(Color.
FromArgb
(50, Color.Black)))
3174
using(Pen penDark = new Pen(Color.
FromArgb
(20, Color.Black), 1))
3184
using(Pen pen = new Pen(Color.
FromArgb
(40, Color.White), 1))
3210
using(SolidBrush brush = new SolidBrush(Color.
FromArgb
(50, Color.Black)))
3216
using(Pen penDark = new Pen(Color.
FromArgb
(20, Color.Black), 1))
3220
using(Pen pen = new Pen(Color.
FromArgb
(40, Color.White), 1))
3288
(!isVertical) ? Color.Transparent : Color.
FromArgb
(120, Color.White),
3289
(!isVertical) ? Color.
FromArgb
(120, Color.White) : Color.Transparent,
3344
(isVertical) ? Color.Transparent : Color.
FromArgb
(80, Color.Black),
3345
(isVertical) ? Color.
FromArgb
(80, Color.Black) : Color.Transparent,
3395
using(SolidBrush leftTopBrush = new SolidBrush(Color.
FromArgb
(100, Color.White)))
3425
using(SolidBrush bottomRightBrush = new SolidBrush(Color.
FromArgb
(80, Color.Black)))
3551
using (Brush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor : Color.
FromArgb
(markerColor.A / 2, shadowColor)))
Common\General\Title.cs (2)
1537
Color.
FromArgb
(0, Color.White),
1623
textShadowColor = (textShadowColor.A != 255) ? textShadowColor : Color.
FromArgb
(textShadowColor.A / 2, textShadowColor);
System.Workflow.Activities (6)
Designers\StateDesigner.Layouts.cs (6)
1003
color1 = Color.
FromArgb
(32, designerTheme.BorderColor);
1004
color2 = Color.
FromArgb
(160, designerTheme.BorderColor);
1011
color2 = Color.
FromArgb
(128, designerTheme.BorderColor);
1015
color1 = Color.
FromArgb
(16, designerTheme.BorderColor);
1016
color2 = Color.
FromArgb
(16, designerTheme.BorderColor);
1215
Color color = Color.
FromArgb
(64, designerTheme.ForeColor);
System.Workflow.ComponentModel (13)
AuthoringOM\Design\ActivityDesigner.cs (1)
3081
using (Brush transparentSelectionBrush = new SolidBrush(Color.
FromArgb
(50, WorkflowTheme.CurrentTheme.AmbientTheme.SelectionForeColor)))
AuthoringOM\Design\DesignerHelpers.cs (5)
296
using (SolidBrush backgroundBrush = new SolidBrush(Color.
FromArgb
(alpha, SystemColors.Control)))
297
using (Pen lightPen = new Pen(Color.
FromArgb
(alpha, SystemColors.ControlLightLight)))
298
using (Pen darkPen = new Pen(Color.
FromArgb
(alpha, SystemColors.ControlDark)))
299
using (Pen darkdarkPen = new Pen(Color.
FromArgb
(alpha, SystemColors.ControlDarkDark)))
464
Color shadowColor = Color.
FromArgb
(Convert.ToInt32((baseAlphaLevel * lightSourceIntensity)), baseColor);
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (1)
118
using (Brush dragRectangleBrush = new SolidBrush(Color.
FromArgb
(10, ambientTheme.SelectionForeColor)))
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (2)
385
Color color2 = Color.
FromArgb
(50, e.DesignerTheme.BorderColor);
472
Color color2 = Color.
FromArgb
(50, e.DesignerTheme.BorderColor);
AuthoringOM\Design\Themes.cs (3)
1941
internal static readonly Brush DisabledBrush = new SolidBrush(Color.
FromArgb
(40, Color.Gray));
3004
this.commentIndicatorBrush = new SolidBrush(Color.
FromArgb
(40, this.commentIndicatorColor));
3016
this.readonlyIndicatorBrush = new SolidBrush(Color.
FromArgb
(20, this.readonlyIndicatorColor));
AuthoringOM\Design\WorkflowView.cs (1)
1659
using (Brush shadowDepthBrush = new SolidBrush(Color.
FromArgb
(220, Color.White)))