31 writes to Color
System.Web.DataVisualization (10)
Common\ChartTypes\LineChart.cs (1)
812 _linePen.Color = color;
Common\ChartTypes\RangeChart.cs (1)
588 areaLinePen.Color = hatchBrush.ForegroundColor;
Common\General\ChartGraphics.cs (4)
228 _pen.Color = color; 3632 _pen.Color = borderColor; 4155 _pen.Color = borderColor; 4459 _pen.Color = borderColor;
Common\General\ChartGraphics3D.cs (4)
881newPen.Color = frontLightColor; 1019newPen.Color = frontLightColor; 3037pen.Color = surfaceColor; 4303pen.Color = frontSurfaceBrush == null ? surfaceColor : ChartGraphics.GetGradientColor(backColor, Color.Black, 0.3);
System.Windows.Forms (9)
winforms\Managed\System\WinForms\ControlPaint.cs (6)
997pen.Color = hls.Lighter(1.0f); 1004pen.Color = hls.Lighter(0.5f); 1012pen.Color = SystemColors.ControlLight; 1038pen.Color = hls.Darker(1.0f); 1054pen.Color = color; 1066pen.Color = hls.Darker(0.5f);
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (3)
2385pen.Color = buttonShadowDark; 2409pen.Color = buttonFace; 2423pen.Color = buttonShadow;
System.Windows.Forms.DataVisualization (10)
Common\ChartTypes\LineChart.cs (1)
812 _linePen.Color = color;
Common\ChartTypes\RangeChart.cs (1)
588 areaLinePen.Color = hatchBrush.ForegroundColor;
Common\General\ChartGraphics.cs (4)
228 _pen.Color = color; 3632 _pen.Color = borderColor; 4155 _pen.Color = borderColor; 4459 _pen.Color = borderColor;
Common\General\ChartGraphics3D.cs (4)
881newPen.Color = frontLightColor; 1019newPen.Color = frontLightColor; 3037pen.Color = surfaceColor; 4303pen.Color = frontSurfaceBrush == null ? surfaceColor : ChartGraphics.GetGradientColor(backColor, Color.Black, 0.3);
System.WorkflowServices (2)
System\Workflow\Activities\Design\GradientPanel.cs (1)
115shadowPen.Color = Color.FromArgb(shadowIntensity - 1, 0, 0, 0);
System\Workflow\ComponentModel\Design\HighlightOverlayGlyph.cs (1)
73shadowPen.Color = Color.FromArgb(shadowIntensity - 1, 0, 0, 0);
27 references to Color
System.Drawing (2)
commonui\System\Drawing\Pen.cs (2)
57/// class with the specified <see cref='System.Drawing.Pen.Color'/>. 69/// <see cref='System.Drawing.Pen.Color'/> and <see cref='System.Drawing.Pen.Width'/>.
System.Web.DataVisualization (4)
Common\ChartTypes\LineChart.cs (1)
810 if(_linePen.Color != color)
Common\ChartTypes\PieChart.cs (1)
2969 Color pieLineColor = pen.Color;
Common\General\ChartGraphics.cs (2)
226 if(_pen.Color != color) 3630 if(_pen.Color != borderColor)
System.Windows.Forms (9)
winforms\Managed\System\WinForms\DataGrid.cs (2)
2179return headerForePen.Color; 2184if (!value.Equals(headerForePen.Color)) {
winforms\Managed\System\WinForms\DataGridTable.cs (2)
723return headerForePen.Color; 732if (!value.Equals(headerForePen.Color)) {
winforms\Managed\System\WinForms\DataGridView.cs (3)
3320return this.gridPen.Color; 3332if (!value.Equals(this.gridPen.Color)) 3365return !this.GridPen.Color.Equals(DefaultGridColor);
winforms\Managed\System\WinForms\DataGridViewCell.cs (2)
3581dividerWidthColor = this.DataGridView.GridPen.Color; 3619dividerHeightColor = this.DataGridView.GridPen.Color;
System.Windows.Forms.DataVisualization (4)
Common\ChartTypes\LineChart.cs (1)
810 if(_linePen.Color != color)
Common\ChartTypes\PieChart.cs (1)
2969 Color pieLineColor = pen.Color;
Common\General\ChartGraphics.cs (2)
226 if(_pen.Color != color) 3630 if(_pen.Color != borderColor)
System.Workflow.Activities (2)
Designers\StateMachineDesignerPaint.cs (2)
137using (Brush penBrush = new SolidBrush(pen.Color)) 164using (Brush penBrush = new SolidBrush(pen.Color))
System.Workflow.ComponentModel (6)
AuthoringOM\Design\Connector.cs (1)
482using (Pen editableConnectorPen = new Pen(e.AmbientTheme.SelectionForegroundPen.Color, e.AmbientTheme.SelectionForegroundPen.Width))
AuthoringOM\Design\DesignerHelpers.cs (3)
616using (Brush penBrush = new SolidBrush(pen.Color)) 646using (Brush penBrush = new SolidBrush(pen.Color)) 1114IntPtr penPtr = NativeMethods.ExtCreatePen(NativeMethods.PS_COSMETIC | NativeMethods.PS_USERSTYLE | penStyle, 1, new NativeMethods.LOGBRUSH(NativeMethods.BS_SOLID, ColorTranslator.ToWin32(pen.Color), 0), 2, new int[] { 1, 1 });
AuthoringOM\Design\Glyphs\ShadowGlyph.cs (1)
42ActivityDesignerPaint.DrawDropShadow(graphics, designer.Bounds, designer.DesignerTheme.BorderPen.Color, AmbientTheme.DropShadowWidth, LightSourcePosition.Left | LightSourcePosition.Top, 0.5f, drawRounded);
AuthoringOM\Design\WorkflowLayouts.cs (1)
260ActivityDesignerPaint.DrawDropShadow(graphics, rootBounds, AmbientTheme.WorkflowBorderPen.Color, AmbientTheme.DropShadowWidth, LightSourcePosition.Left | LightSourcePosition.Top, 0.2f, false);