823 references to Empty
System.Drawing (6)
commonui\System\Drawing\Advanced\ColorTranslator.cs (1)
229Color c = Color.Empty;
commonui\System\Drawing\ColorConverter.cs (2)
135obj = Color.Empty; 247if (c == Color.Empty) {
commonui\System\Drawing\Pen.cs (1)
791if (color == Color.Empty) {
commonui\System\Drawing\SolidBrush.cs (2)
25private Color color = Color.Empty; 113if (this.color == Color.Empty)
System.Web (49)
UI\ObjectStateFormatter.cs (1)
606return Color.Empty;
UI\WebControls\BaseValidator.cs (1)
770Color defaultForeColor = (RenderingCompatibility < VersionUtil.Framework40) ? Color.Red : Color.Empty;
UI\WebControls\Calendar.cs (5)
850if (titleStyle.BackColor != Color.Empty) { 853if (titleStyle.BorderColor != Color.Empty) { 877if (titleStyle.ForeColor != Color.Empty) { 880else if (ForeColor != Color.Empty) { 1251if (defaultForeColor == Color.Empty) {
UI\WebControls\DataControlLinkButton.cs (1)
93if (hyperLinkForeColor != Color.Empty) {
UI\WebControls\DataControlPagerLinkButton.cs (1)
54if (hyperLinkForeColor != Color.Empty) {
UI\WebControls\DataGridLinkButton.cs (1)
46if (hyperLinkForeColor != Color.Empty) {
UI\WebControls\LoginUtil.cs (3)
453if (control.BackColor != Color.Empty) { 456if (control.BorderColor != Color.Empty) { 468if (control.ForeColor != Color.Empty) {
UI\WebControls\MenuItem.cs (1)
695panel.BackColor = Color.Empty;
UI\WebControls\MenuRendererClassic.cs (2)
223Menu.ForeColor = Color.Empty; 241rootMenuStyle.ForeColor = Color.Empty;
UI\WebControls\MenuRendererStandards.cs (1)
87menuStyle.ForeColor = Color.Empty;
UI\WebControls\Style.cs (12)
109return Color.Empty; 135return Color.Empty; 261return Color.Empty; 474if (s.IsSet(PROP_BACKCOLOR) && (s.BackColor != Color.Empty)) { 478if (s.IsSet(PROP_FORECOLOR) && (s.ForeColor != Color.Empty)) { 482if (s.IsSet(PROP_BORDERCOLOR) && (s.BorderColor != Color.Empty)) { 504if (s.IsSet(PROP_BACKCOLOR) && (s.BackColor != Color.Empty)) 506if (s.IsSet(PROP_FORECOLOR) && (s.ForeColor != Color.Empty)) 508if (s.IsSet(PROP_BORDERCOLOR) && (s.BorderColor != Color.Empty)) 742if (s.IsSet(PROP_BACKCOLOR) && (!this.IsSet(PROP_BACKCOLOR) || (BackColor == Color.Empty))) 744if (s.IsSet(PROP_FORECOLOR) && (!this.IsSet(PROP_FORECOLOR) || (ForeColor == Color.Empty))) 746if (s.IsSet(PROP_BORDERCOLOR) && (!this.IsSet(PROP_BORDERCOLOR) || (BorderColor == Color.Empty)))
UI\WebControls\ValidationSummary.cs (1)
474Color defaultForeColor = (RenderingCompatibility < VersionUtil.Framework40) ? Color.Red : Color.Empty;
UI\WebControls\WebColorConverter.cs (2)
32Color c = Color.Empty; 75if (c == Color.Empty) {
UI\WebControls\WebControl.cs (3)
149return Color.Empty; 171return Color.Empty; 386return Color.Empty;
UI\WebParts\CatalogPartChrome.cs (3)
60if (style.BorderColor == Color.Empty) { 79if (style.BorderColor != Color.Empty) { 80style.BorderColor = Color.Empty;
UI\WebParts\EditorPartChrome.cs (2)
68if (style.BorderColor != Color.Empty) { 69style.BorderColor = Color.Empty;
UI\WebParts\WebPartChrome.cs (6)
105if (style.BorderColor != Color.Empty) { 106style.BorderColor = Color.Empty; 120if (style.BorderColor == Color.Empty) { 128if (partTitleStyle.ForeColor != Color.Empty) { 143if (style.ForeColor != Color.Empty) { 144style.ForeColor = Color.Empty;
UI\WebParts\WebPartMenuStyle.cs (1)
45return Color.Empty;
UI\WebParts\WebPartZoneBase.cs (2)
1183BorderColor = Color.Empty; 1201if (_borderColor != Color.Empty || _borderStyle != BorderStyle.NotSet || _borderWidth != Unit.Empty) {
System.Web.DataVisualization (292)
Common\Annotation\AnnotationBase.cs (6)
199 private Color _backColor = Color.Empty; 202 private Color _backSecondaryColor = Color.Empty; 2084 Color.Empty, 2097 Color.Empty, 2152 Color.Empty, 2244 Color.Empty,
Common\Annotation\ArrowAnnotation.cs (1)
341Color.Empty,
Common\Annotation\CalloutAnnotation.cs (9)
884 Color.Empty, 1048Color.Empty, 1071 Color.Empty, 1201 Color.Empty, 1232 Color.Empty, 1253 Color.Empty, 1289 Color.Empty, 1408 Color.Empty, 1455 Color.Empty,
Common\Annotation\ImageAnnotation.cs (1)
79 private Color _imageTransparentColor = Color.Empty;
Common\Annotation\PolygonAnnotation.cs (3)
700Color.Empty, 720Color.Empty, 723Color.Empty,
Common\Annotation\RectangleAnnotation.cs (3)
426 Color.Empty, 545 this.lineColor = Color.Empty; 669 Color.Empty,
Common\Borders3D\Borders3D.cs (2)
166 private Color _backSecondaryColor = Color.Empty; 170 private Color _backImageTransparentColor = Color.Empty;
Common\ChartTypes\AreaChart.cs (7)
351if (series.ShadowColor != Color.Empty && series.ShadowOffset != 0) 353if (pointColor != Color.Empty && pointColor != Color.Transparent) 465if (pointBorderWidth > 0 && pointBorderColor != Color.Empty) 467Pen pen = new Pen((pointBorderColor != Color.Empty) ? pointBorderColor : pointColor, pointBorderWidth); 535if (pointBorderWidth > 1 && pointBorderDashStyle != ChartDashStyle.NotSet && pointBorderColor != Color.Empty) 961 if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color == Color.Empty) 1241 if(surfaceBorderColor == Color.Empty)
Common\ChartTypes\BarChart.cs (3)
794 (point.MarkerColor == Color.Empty) ? point.Color : point.MarkerColor, 800 (point.series != null) ? point.series.ShadowColor : Color.Empty, 1797 (point.series != null) ? point.series.ShadowColor : Color.Empty,
Common\ChartTypes\BoxPlotChart.cs (12)
406 if(lineColor == Color.Empty) 483 if(point.BorderColor == Color.Empty) 509 Color.Empty, 554 Color.Empty, 772 if(lineColor == Color.Empty) 786 (point.series != null) ? point.series.ShadowColor : Color.Empty, 805 Color markerColor = (point.MarkerColor == Color.Empty) ? point.BorderColor : point.MarkerColor; 806 if(markerColor == Color.Empty) 822 (point.series != null) ? point.series.ShadowColor : Color.Empty, 1194 if(lineColor == Color.Empty) 1289 Color.Empty, 1334 Color.Empty,
Common\ChartTypes\ColumnChart.cs (3)
1145 (point.MarkerColor == Color.Empty) ? point.Color : point.MarkerColor, 1146 (point.MarkerBorderColor == Color.Empty) ? point.BorderColor : point.MarkerBorderColor, 1151 (point.series != null) ? point.series.ShadowColor : Color.Empty,
Common\ChartTypes\ErrorBarChart.cs (3)
847 (point.series != null) ? point.series.ShadowColor : Color.Empty, 866 Color markerColor = (point.MarkerColor == Color.Empty) ? point.Color : point.MarkerColor; 879 (point.series != null) ? point.series.ShadowColor : Color.Empty,
Common\ChartTypes\FunnelChart.cs (1)
1198 point.BorderColor == Color.Empty)
Common\ChartTypes\KagiChart.cs (2)
92 internal Color kagiUpColor = Color.Empty; 746 if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color == Color.Empty)
Common\ChartTypes\LineChart.cs (5)
752 if(!disableShadow && series.ShadowOffset != 0 && series.ShadowColor != Color.Empty) 754 if(color != Color.Empty && color != Color.Transparent && pointBorderWidth > 0 && dashStyle != ChartDashStyle.NotSet) 808 if(color != Color.Empty && pointBorderWidth > 0 && dashStyle != ChartDashStyle.NotSet) 1377 if(pointAttr.dataPoint.Color != Color.Empty) 1533 if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color == Color.Empty)
Common\ChartTypes\PieChart.cs (10)
837 Color pieLineColor = Color.Empty; 921 shGradientColor = Color.Empty; 932 shBorderColor = Color.Empty; 1315 if( pieLineColor == Color.Empty ) 2692 Color penColor = Color.Empty; 2693 Color penCurveColor = Color.Empty; 2695 if( point.BorderColor == Color.Empty && area.Area3DStyle.LightStyle == LightStyle.None ) 2699 else if( point.BorderColor == Color.Empty ) 2708 if( point.BorderColor != Color.Empty || area.Area3DStyle.LightStyle == LightStyle.None ) 2718 if( point.BorderColor == Color.Empty )
Common\ChartTypes\PointChart.cs (6)
486 (point.MarkerColor == Color.Empty) ? point.Color : point.MarkerColor, 487 (point.MarkerBorderColor == Color.Empty) ? point.BorderColor : point.MarkerBorderColor, 492 (point.series != null) ? point.series.ShadowColor : Color.Empty, 1228 (point.MarkerColor == Color.Empty) ? point.Color : point.MarkerColor, 1229 (point.MarkerBorderColor == Color.Empty) ? point.BorderColor : point.MarkerBorderColor, 1234 (point.series != null) ? point.series.ShadowColor : Color.Empty,
Common\ChartTypes\RadarChart.cs (5)
476if (areaColor != Color.Transparent && areaColor != Color.Empty && ser.ShadowOffset != 0) 596if (areaColor != Color.Transparent && areaColor != Color.Empty) 642if (borderColor != Color.Empty && borderWidth > 0 && borderDashStyle != ChartDashStyle.NotSet) 658(areaColor == Color.Transparent || areaColor == Color.Empty) ? ser.ShadowOffset : 0); 767 (point.series != null) ? point.series.ShadowColor : Color.Empty,
Common\ChartTypes\RangeChart.cs (6)
508 if(series.ShadowColor != Color.Empty && series.ShadowOffset != 0) 510 if(point.Color != Color.Empty && point.Color != Color.Transparent) 649 point.BorderColor != Color.Empty) || 942 if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color == Color.Empty) 1257 if(surfaceBorderColor == Color.Empty) 1713 if(surfaceBorderColor == Color.Empty)
Common\ChartTypes\RenkoChart.cs (2)
501 if( (newDataPoint.BorderColor == Color.Empty || newDataPoint.BorderColor == Color.Transparent) && 502 (newDataPoint.Color == Color.Empty || newDataPoint.Color == Color.Transparent) )
Common\ChartTypes\StackedAreaChart.cs (3)
625else if (point.IsEmpty && point.Color == Color.Empty) 637if ((point.BorderColor != Color.Empty && point.BorderWidth > 0)) 716if (point.BorderWidth > 1 && point.BorderDashStyle != ChartDashStyle.NotSet && point.BorderColor != Color.Empty)
Common\ChartTypes\StepLineChart.cs (1)
284 if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color == Color.Empty)
Common\ChartTypes\StockChart.cs (10)
564 (point.MarkerColor == Color.Empty) ? point.Color : point.MarkerColor, 565 (point.MarkerBorderColor == Color.Empty) ? point.BorderColor : point.MarkerBorderColor, 570 (point.series != null) ? point.series.ShadowColor : Color.Empty, 805 Color barBorderColor = (point.BorderColor == Color.Empty) ? (barColor == Color.Empty) ? point.Color : barColor : point.BorderColor; 1391 (point.MarkerColor == Color.Empty) ? point.Color : point.MarkerColor, 1392 (point.MarkerBorderColor == Color.Empty) ? point.BorderColor : point.MarkerBorderColor, 1397 (point.series != null) ? point.series.ShadowColor : Color.Empty, 1630 Color barBorderColor = (point.BorderColor == Color.Empty) ? (barColor == Color.Empty) ? point.Color : barColor : point.BorderColor;
Common\ChartTypes\ThreeLineBreakChart.cs (2)
479 if( (newDataPoint.BorderColor == Color.Empty || newDataPoint.BorderColor == Color.Transparent) && 480 (newDataPoint.Color == Color.Empty || newDataPoint.Color == Color.Transparent) )
Common\DataManager\DataManager.cs (1)
238 if(dataSeries.Color == Color.Empty || dataSeries.tempColorIsSet)
Common\DataManager\DataPoint.cs (37)
3086 SetAttributeObject(CommonCustomProperties.Color, Color.Empty); 3108 SetAttributeObject(CommonCustomProperties.BorderColor, Color.Empty); 3116 SetAttributeObject(CommonCustomProperties.BackImageTransparentColor, Color.Empty); 3120 SetAttributeObject(CommonCustomProperties.BackSecondaryColor, Color.Empty); 3126 SetAttributeObject(CommonCustomProperties.MarkerImageTransparentColor, Color.Empty); 3128 SetAttributeObject(CommonCustomProperties.MarkerColor, Color.Empty); 3130 SetAttributeObject(CommonCustomProperties.MarkerBorderColor, Color.Empty); 3151 SetAttributeObject(CommonCustomProperties.LabelBackColor, Color.Empty); 3157 SetAttributeObject(CommonCustomProperties.LabelBorderColor, Color.Empty); 3502 return Color.Empty; 3522 if(value == Color.Empty && this.pointCustomProperties) 3564 return Color.Empty; 3838 return Color.Empty; 3995 return Color.Empty; 4437 return Color.Empty; 4491 return Color.Empty; 4545 return Color.Empty; 5208 return Color.Empty; 5267 return Color.Empty; 5871 return series.color != Color.Empty; 5883 return series.borderColor != Color.Empty; 5955 return series.backImageTransparentColor != Color.Empty; 5991 return series.backSecondaryColor != Color.Empty; 6088 return series.markerImageTransparentColor != Color.Empty; 6100 return series.markerColor != Color.Empty; 6112 return series.markerBorderColor != Color.Empty; 6277 return series.labelBackColor != Color.Empty; 6289 return series.labelBorderColor != Color.Empty; 6374 series.color = Color.Empty; 6386 series.borderColor = Color.Empty; 6462 series.backImageTransparentColor = Color.Empty; 6474 series.backSecondaryColor = Color.Empty; 6561 series.markerImageTransparentColor = Color.Empty; 6573 series.markerColor = Color.Empty; 6585 series.markerBorderColor = Color.Empty; 6751 series.labelBackColor = Color.Empty; 6763 series.labelBorderColor = Color.Empty;
Common\DataManager\DataSeries.cs (11)
300 internal Color color = Color.Empty; 305 internal Color borderColor = Color.Empty; 335 internal Color backImageTransparentColor = Color.Empty; 350 internal Color backSecondaryColor = Color.Empty; 395 internal Color markerImageTransparentColor = Color.Empty; 400 internal Color markerColor = Color.Empty; 405 internal Color markerBorderColor = Color.Empty; 448 internal Color labelBackColor = Color.Empty; 453 internal Color labelBorderColor = Color.Empty; 1540 this.Color = Color.Empty; 1555 dataPoint.Color = Color.Empty;
Common\General\Axis.cs (4)
250private Color _interlacedColor = Color.Empty; 3067stripLine.BorderColor = Color.Empty; 3105if (this.InterlacedColor != Color.Empty) 3112if (ChartArea.BackColor == Color.Empty)
Common\General\Chart.cs (8)
360if (this.BackColor != Color.Empty) 367this.BorderSkin.PageColor != Color.Empty) 1459 private Color _backSecondaryColor = Color.Empty; 1463 private Color _backImageTransparentColor = Color.Empty; 1890 Color.Empty, 1893 Color.Empty, 2542 if(value == Color.Empty || value.A != 255 || value == Color.Transparent) 2902 if(value != Color.Empty && (value.A != 255 || value == Color.Transparent))
Common\General\ChartArea.cs (8)
175 private Color _backColor = Color.Empty; 182 private Color _backImageTransparentColor = Color.Empty; 185 private Color _backSecondaryColor = Color.Empty; 2025 (requireAxes) ? Color.Empty : BorderColor, 2046 if(BorderColor != Color.Empty && BorderWidth > 0) 2053 Color.Empty, 2056 Color.Empty, 2060 Color.Empty,
Common\General\ChartArea3D.cs (1)
697 if(sceneBackColor == Color.Empty)
Common\General\ChartAreaCircular.cs (1)
86internal Color TitleForeColor = Color.Empty;
Common\General\ChartGraphics.cs (34)
389 if(backImageTransparentColor != Color.Empty) 396 if(backImageTransparentColor == Color.Empty && 729if (markerImageTransparentColor != Color.Empty) 735if (shadowSize != 0 && shadowColor != Color.Empty) 764 else if(markerStyle != MarkerStyle.None && markerSize > 0 && markerColor != Color.Empty) 810if (shadowSize != 0 && shadowColor != Color.Empty) 830if (shadowSize != 0 && shadowColor != Color.Empty) 885if (shadowSize != 0 && shadowColor != Color.Empty) 936if (shadowSize != 0 && shadowColor != Color.Empty) 1016if (shadowSize != 0 && shadowColor != Color.Empty) 1069if (shadowSize != 0 && shadowColor != Color.Empty) 2323if (imageTransparentColor != Color.Empty) 2527 axis.MajorTickMark.LineColor == Color.Empty) 2861 Color.Empty, 2865 Color.Empty, 2888 Color.Empty, 2892 Color.Empty, 2987 Color.Empty, 2991 Color.Empty, 3015 Color.Empty, 3019 Color.Empty, 3506 if(backColor == Color.Empty || backColor == Color.Transparent) 3527 if(backImageTransparentColor != Color.Empty) 3605 if(backBrush != null && backImageTransparentColor != Color.Empty) 3729if (shadowOffset == 0 || shadowColor == Color.Empty) 4208 if(backImageTransparentColor != Color.Empty) 4278 if(backBrush != null && backImageTransparentColor != Color.Empty) 4364 Color.Empty, 4367 Color.Empty, 4381 Color.Empty, 4384 Color.Empty, 4504 if(backImageTransparentColor != Color.Empty) 4578 if(backBrush != null && backImageTransparentColor != Color.Empty) 4587 if(borderColor != Color.Empty && borderWidth > 0 && borderDashStyle != ChartDashStyle.NotSet)
Common\General\ChartGraphics3D.cs (13)
765if (point.BorderColor != Color.Empty && 879if (area.Area3DStyle.LightStyle == LightStyle.Realistic && point.BorderColor == Color.Empty) 893if (point.BorderColor != Color.Empty && 1017if (area.Area3DStyle.LightStyle == LightStyle.Realistic && point.BorderColor == Color.Empty) 1031if (point.BorderColor != Color.Empty && 1235 if(surfaceBorderColor == Color.Empty) 2111 if(surfaceBorderColor == Color.Empty) 2882 (borderWidth == 0 || borderDashStyle == ChartDashStyle.NotSet || borderColor == Color.Empty) ) 3034(borderWidth == 0 || borderDashStyle == ChartDashStyle.NotSet || borderColor == Color.Empty)) 3523if (markerStyle != MarkerStyle.None && markerSize > 0 && markerColor != Color.Empty) 3547if (shadowSize != 0 && shadowColor != Color.Empty) 4017 (borderWidth == 0 || borderDashStyle == ChartDashStyle.NotSet || borderColor == Color.Empty) ) 4300(borderWidth == 0 || borderDashStyle == ChartDashStyle.NotSet || borderColor == Color.Empty))
Common\General\Label.cs (3)
431 private Color _foreColor = Color.Empty; 432 private Color _markColor = Color.Empty; 445 private Color _imageTransparentColor = Color.Empty;
Common\General\Legend.cs (40)
250 private Color _backImageTransparentColor = Color.Empty; 253 private Color _backSecondaryColor = Color.Empty; 254 private Color _borderColor = Color.Empty; 255 private Color _backColor = Color.Empty; 291 private Color _interlacedRowsColor = Color.Empty; 319 private Color _titleBackColor = Color.Empty; 2552 Color.Empty, 2555 Color.Empty, 2557 Color.Empty, 4175 Color.Empty, 4178 Color.Empty, 4179 Color.Empty, 4182 Color.Empty, 4238 Color.Empty, 4241 Color.Empty, 4245 Color.Empty, 4294 Color.Empty, 4297 Color.Empty, 4298 Color.Empty, 4301 Color.Empty, 4352 Color.Empty, 4355 Color.Empty, 4359 Color.Empty, 4586 Color.Empty, 4590 Color.Empty, 4604 Color.Empty, 4608 Color.Empty, 4625 Color.Empty, 4629 Color.Empty, 4643 Color.Empty, 4647 Color.Empty, 5126 LegendItem item = new LegendItem(text, Color.Empty, image); 5140 LegendItem item = new LegendItem(text, Color.Empty, image); 5181 private Color _color = Color.Empty; 5198 internal Color backSecondaryColor = Color.Empty; 5199 internal Color backImageTransparentColor = Color.Empty; 5213 internal Color markerImageTransparentColor = Color.Empty; 5214 internal Color markerColor = Color.Empty; 5215 internal Color markerBorderColor = Color.Empty; 5541 if(value != Color.Empty && (value.A != 255 || value == Color.Transparent))
Common\General\LegendColumns.cs (15)
134 private Color _foreColor = Color.Empty; 137 private Color _backColor = Color.Empty; 177 private Color _headerBackColor = Color.Empty; 826 private Color _foreColor = Color.Empty; 829 private Color _backColor = Color.Empty; 841 private Color _imageTransparentColor = Color.Empty; 1596 if(this.Legend.BackColor == Color.Empty) 1934 Color.Empty, 1937 Color.Empty, 1938 Color.Empty, 1941 Color.Empty, 2177 if(this.ImageTransparentColor != Color.Empty) 2319if (legendItem.BackImageTransparentColor != Color.Empty) 2470 (legendItem.markerColor == Color.Empty) ? legendItem.Color : legendItem.markerColor, 2471 (legendItem.markerBorderColor == Color.Empty) ? legendItem.borderColor : legendItem.markerBorderColor,
Common\General\StripLine.cs (5)
141 private Color _backColor = Color.Empty; 145 private Color _backImageTransparentColor = Color.Empty; 148 private Color _backSecondaryColor = Color.Empty; 149 private Color _borderColor = Color.Empty; 403 this.BorderWidth, this.BorderDashStyle, Color.Empty,
Common\General\Title.cs (4)
212 private Color _backColor = Color.Empty; 216 private Color _backImageTransparentColor = Color.Empty; 219 private Color _backSecondaryColor = Color.Empty; 224 private Color _borderColor = Color.Empty;
WebForm\ChartWebControl.cs (1)
2334 return Color.Empty;
System.Web.Mobile (26)
UI\MobileControls\Adapters\HtmlFormAdapter.cs (1)
87if ((backColor != Color.Empty) && (writer.RenderBodyColor))
UI\MobileControls\Adapters\HtmlMobileTextWriter.cs (8)
508_fontColor = Color.Empty; 669_color = Color.Empty; 703state.Current.FontColor = Color.Empty; 728if(Color != Color.Empty) 738if(((FontStyleTag)o).Color != Color.Empty) 1150(newStyle.FontColor == Color.Empty) && 1151(_current.FontColor != Color.Empty) && 1154while(_current.FontColor != Color.Empty)
UI\MobileControls\Adapters\HtmlObjectListAdapter.cs (1)
526writer.Write((foreColor != Color.Empty) ? ColorTranslator.ToHtml(foreColor) : "#000000");
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (1)
629hruleStyle[Style.BackColorKey] = foreColor == Color.Empty ? Color.Black : foreColor;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlStyleClass.cs (2)
121if (styleColor != Color.Empty) { 131if (styleColor != Color.Empty) {
UI\MobileControls\Design\Adapters\DesignerTextWriter.cs (3)
86if (backColor != Color.Empty) 150if (foreColor != Color.Empty) 157if (backColor != Color.Empty)
UI\MobileControls\Design\StylesEditorDialog.cs (6)
574if (!c.Equals(Color.Empty)) 581if (!c.Equals(Color.Empty)) 1084if (foreColor == Color.Empty) 1088if (backColor == Color.Empty) 1120if (foreColor == Color.Empty) 1124if (backColor == Color.Empty)
UI\MobileControls\Style.cs (2)
50ForeColorKey = RegisterStyle("ForeColor", typeof(Color) , Color.Empty , true), 51BackColorKey = RegisterStyle("BackColor", typeof(Color) , Color.Empty , false);
UI\MobileControls\StyleSheet.cs (2)
611return Color.Empty; 636return Color.Empty;
System.Windows.Forms (144)
misc\GDI\WindowsGraphics2.cs (4)
140DrawText(text, font, pt, foreColor, Color.Empty, IntTextFormatFlags.Default); 158DrawText(text, font, pt, foreColor, Color.Empty, flags); 176DrawText(text, font, bounds, foreColor, Color.Empty); 192DrawText( text, font, bounds, color, Color.Empty, flags );
winforms\Managed\System\WinForms\ButtonBase.cs (1)
168if (value != Color.Empty) {
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (2)
26private static Color checkImageCheckedBackColor = Color.Empty; 31private static Color checkImageIndeterminateBackColor = Color.Empty;
winforms\Managed\System\WinForms\Control.cs (8)
1115if (!value.Equals(Color.Empty) && !GetStyle(ControlStyles.SupportsTransparentBackColor) && value.A < 255) 2723Color c = Color.Empty; 3838Color oldBackColor = Color.Empty; 3839Color oldForeColor = Color.Empty; 10872BackColor = Color.Empty; 10903ForeColor = Color.Empty; 16350return Color.Empty; 16432return Color.Empty;
winforms\Managed\System\WinForms\ControlPaint.cs (18)
1121NativeMethods.DFCS_BUTTONPUSH | (int) state, Color.Empty, Color.Empty); 1138(int) button | (int) state, Color.Empty, Color.Empty); 1161NativeMethods.DFCS_BUTTONCHECK | (int) state, Color.Empty, Color.Empty); 1179NativeMethods.DFCS_SCROLLCOMBOBOX | (int) state, Color.Empty, Color.Empty); 1370if (foreColor == Color.Empty || backColor == Color.Empty) { 1715(int) glyph, Color.Empty, Color.Empty); 1742NativeMethods.DFCS_BUTTON3STATE | (int) state, Color.Empty, Color.Empty); 1759NativeMethods.DFCS_BUTTONRADIO | ((int)state), Color.Empty, Color.Empty); 1858(int)button | (int)state, Color.Empty, Color.Empty);
winforms\Managed\System\WinForms\DataGridView.cs (8)
2504else if (this.defaultCellStyle.BackColor == Color.Empty || 2505this.defaultCellStyle.ForeColor == Color.Empty || 2506this.defaultCellStyle.SelectionBackColor == Color.Empty || 2507this.defaultCellStyle.SelectionForeColor == Color.Empty || 2514if (this.defaultCellStyle.BackColor == Color.Empty) 2518if (this.defaultCellStyle.ForeColor == Color.Empty) 2523if (this.defaultCellStyle.SelectionBackColor == Color.Empty) 2527if (this.defaultCellStyle.SelectionForeColor == Color.Empty)
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (1)
944ControlPaint.DrawFocusRectangle(g, Rectangle.Inflate(valBounds, -1, -1), Color.Empty, SystemColors.Control);
winforms\Managed\System\WinForms\DataGridViewCell.cs (4)
2176inheritedCellStyleTmp.BackColor = Color.Empty; 2177inheritedCellStyleTmp.ForeColor = Color.Empty; 2178inheritedCellStyleTmp.SelectionBackColor = Color.Empty; 2179inheritedCellStyleTmp.SelectionForeColor = Color.Empty;
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (4)
821if (this.BackColor != Color.Empty) 826if (this.ForeColor != Color.Empty) 835if (this.SelectionBackColor != Color.Empty) 844if (this.SelectionForeColor != Color.Empty)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (2)
1246ControlPaint.DrawFocusRectangle(g, valBounds, Color.Empty, br.Color); 1367Color highlight = Color.Empty;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (3)
2548ControlPaint.DrawFocusRectangle(g, focusBounds, Color.Empty, br.Color); 2559ControlPaint.DrawFocusRectangle(g, focusBounds, Color.Empty, br.Color); 2564ControlPaint.DrawFocusRectangle(g, textBounds, Color.Empty, br.Color);
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
952ControlPaint.DrawFocusRectangle(g, valBounds, Color.Empty, br.Color);
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (3)
1084ControlPaint.DrawFocusRectangle(g, focusBounds, Color.Empty, br.Color); 1121ControlPaint.DrawFocusRectangle(g, errorBounds, Color.Empty, br.Color); 1147ControlPaint.DrawFocusRectangle(g, valBounds, Color.Empty, br.Color);
winforms\Managed\System\WinForms\DataGridViewRow.cs (1)
1300ControlPaint.DrawFocusRectangle(graphics, bounds, Color.Empty, backColor);
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
745ControlPaint.DrawFocusRectangle(graphics, valBounds, Color.Empty, br.Color);
winforms\Managed\System\WinForms\FlatButtonAppearance.cs (4)
23private Color borderColor = Color.Empty; 24private Color checkedBackColor = Color.Empty; 25private Color mouseDownBackColor = Color.Empty; 26private Color mouseOverBackColor = Color.Empty;
winforms\Managed\System\WinForms\Form.cs (6)
540Properties.SetObject(PropTransparencyKey, Color.Empty); 2102formState[FormStateLayered] = (this.TransparencyKey != Color.Empty) ? 1 : 0; 2604return Color.Empty; 2610if (value != Color.Empty) 5629TransparencyKey = Color.Empty; 6310return !TransparencyKey.Equals(Color.Empty);
winforms\Managed\System\WinForms\HtmlDocument.cs (6)
189Color c = Color.Empty; 218Color c = Color.Empty; 247Color c = Color.Empty; 276Color c = Color.Empty; 305Color c = Color.Empty; 871return Color.Empty;
winforms\Managed\System\WinForms\LinkLabel.cs (12)
46static Color iedisabledLinkColor = Color.Empty; 57Color linkColor = Color.Empty; 58Color activeLinkColor = Color.Empty; 59Color visitedLinkColor = Color.Empty; 60Color disabledLinkColor = Color.Empty; 1387Color brushColor = Color.Empty; 1422SolidBrush useBrush = brushColor == Color.Empty ? linkBrush : new SolidBrush( brushColor ); 1432if(brushColor == Color.Empty ){ 1654activeLinkColor = Color.Empty; 1658disabledLinkColor = Color.Empty; 1662linkColor = Color.Empty; 1667visitedLinkColor = Color.Empty;
winforms\Managed\System\WinForms\LinkUtilities.cs (3)
18static Color ielinkColor = Color.Empty; 19static Color ieactiveLinkColor = Color.Empty; 20static Color ievisitedLinkColor = Color.Empty;
winforms\Managed\System\WinForms\ListItemConverter.cs (4)
109item.SubItems[0].CustomForeColor ? item.ForeColor : Color.Empty, 110item.SubItems[0].CustomBackColor ? item.BackColor : Color.Empty, 125item.SubItems[0].CustomForeColor ? item.ForeColor : Color.Empty, 126item.SubItems[0].CustomBackColor ? item.BackColor : Color.Empty,
winforms\Managed\System\WinForms\ListView.cs (4)
2712Color subItemForeColor = Color.Empty; 2713Color subItemBackColor = Color.Empty; 2746Color riFore = Color.Empty; 2747Color riBack = Color.Empty;
winforms\Managed\System\WinForms\ListViewInsertionMark.cs (1)
24private Color color = Color.Empty;
winforms\Managed\System\WinForms\ListViewItem.cs (4)
1470if (style != null && style.backColor != Color.Empty) { 1568if (style != null && style.foreColor != Color.Empty) { 1699public Color backColor = Color.Empty; 1700public Color foreColor = Color.Empty;
winforms\Managed\System\WinForms\OwnerDrawPropertyBag.cs (2)
32Color foreColor = Color.Empty; 33Color backColor = Color.Empty;
winforms\Managed\System\WinForms\ProfessionalColorTable.cs (1)
505Color empty = Color.Empty;
winforms\Managed\System\WinForms\PropertyGrid.cs (4)
4239hotcommands.SetColors(SystemColors.Control, SystemColors.ControlText, Color.Empty, Color.Empty, Color.Empty, Color.Empty);
winforms\Managed\System\WinForms\PropertyStore.cs (1)
84return Color.Empty;
winforms\Managed\System\WinForms\RichTextBox.cs (4)
998Color selColor = Color.Empty; 1032Color selColor = Color.Empty; 1057if (value == Color.Empty) 2561if (selectionBackColorToSetOnHandleCreated != Color.Empty) {
winforms\Managed\System\WinForms\TabPage.cs (1)
134if (value != Color.Empty) {
winforms\Managed\System\WinForms\ToolStripArrowRenderEventArgs.cs (2)
16private Color arrowColor = Color.Empty; 17private Color defaultArrowColor = Color.Empty;
winforms\Managed\System\WinForms\ToolStripItem.cs (7)
65private Color imageTransparentColor = Color.Empty; 1263if (bmp != null && ImageTransparentColor != Color.Empty) { 1295if (currentImage != null && value != Color.Empty) { 3659return ImageTransparentColor != Color.Empty; 3767BackColor = Color.Empty; 3781ForeColor = Color.Empty; 3805ImageTransparentColor = Color.Empty;
winforms\Managed\System\WinForms\ToolStripLabel.cs (3)
30private Color linkColor = Color.Empty; 31private Color activeLinkColor = Color.Empty; 32private Color visitedLinkColor = Color.Empty;
winforms\Managed\System\WinForms\ToolStripRenderer.cs (1)
1067return (control.RawBackColor == Color.Empty && control.BackgroundImage == null);
winforms\Managed\System\WinForms\ToolStripRenderEventArgs.cs (3)
21private Color backColor = Color.Empty; 62if (backColor == Color.Empty) { 65if (backColor == Color.Empty) {
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (2)
381else if (item.RawBackColor != Color.Empty) { 421else if (!ToolStripManager.VisualStylesEnabled && (item.RawBackColor != Color.Empty)) {
winforms\Managed\System\WinForms\TreeNode.cs (6)
244if (propBag==null) return Color.Empty; 254propBag.BackColor = Color.Empty; 460if (propBag == null) return Color.Empty; 469propBag.ForeColor = Color.Empty; 1836return BackColor != Color.Empty; 1840return ForeColor != Color.Empty;
winforms\Managed\System\WinForms\TreeView.cs (2)
2013if (lineColor != Color.Empty) { 2838Color color = (((curState & TreeNodeStates.Selected) == TreeNodeStates.Selected) && node.TreeView.Focused) ? SystemColors.HighlightText : (node.ForeColor != Color.Empty) ? node.ForeColor : node.TreeView.ForeColor;
System.Windows.Forms.DataVisualization (299)
Common\Annotation\AnnotationBase.cs (6)
199 private Color _backColor = Color.Empty; 202 private Color _backSecondaryColor = Color.Empty; 2084 Color.Empty, 2097 Color.Empty, 2152 Color.Empty, 2244 Color.Empty,
Common\Annotation\ArrowAnnotation.cs (1)
341Color.Empty,
Common\Annotation\CalloutAnnotation.cs (9)
884 Color.Empty, 1048Color.Empty, 1071 Color.Empty, 1201 Color.Empty, 1232 Color.Empty, 1253 Color.Empty, 1289 Color.Empty, 1408 Color.Empty, 1455 Color.Empty,
Common\Annotation\ImageAnnotation.cs (1)
79 private Color _imageTransparentColor = Color.Empty;
Common\Annotation\PolygonAnnotation.cs (3)
700Color.Empty, 720Color.Empty, 723Color.Empty,
Common\Annotation\RectangleAnnotation.cs (3)
426 Color.Empty, 545 this.lineColor = Color.Empty; 669 Color.Empty,
Common\Borders3D\Borders3D.cs (2)
166 private Color _backSecondaryColor = Color.Empty; 170 private Color _backImageTransparentColor = Color.Empty;
Common\ChartTypes\AreaChart.cs (7)
351if (series.ShadowColor != Color.Empty && series.ShadowOffset != 0) 353if (pointColor != Color.Empty && pointColor != Color.Transparent) 465if (pointBorderWidth > 0 && pointBorderColor != Color.Empty) 467Pen pen = new Pen((pointBorderColor != Color.Empty) ? pointBorderColor : pointColor, pointBorderWidth); 535if (pointBorderWidth > 1 && pointBorderDashStyle != ChartDashStyle.NotSet && pointBorderColor != Color.Empty) 961 if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color == Color.Empty) 1241 if(surfaceBorderColor == Color.Empty)
Common\ChartTypes\BarChart.cs (3)
794 (point.MarkerColor == Color.Empty) ? point.Color : point.MarkerColor, 800 (point.series != null) ? point.series.ShadowColor : Color.Empty, 1797 (point.series != null) ? point.series.ShadowColor : Color.Empty,
Common\ChartTypes\BoxPlotChart.cs (12)
406 if(lineColor == Color.Empty) 483 if(point.BorderColor == Color.Empty) 509 Color.Empty, 554 Color.Empty, 772 if(lineColor == Color.Empty) 786 (point.series != null) ? point.series.ShadowColor : Color.Empty, 805 Color markerColor = (point.MarkerColor == Color.Empty) ? point.BorderColor : point.MarkerColor; 806 if(markerColor == Color.Empty) 822 (point.series != null) ? point.series.ShadowColor : Color.Empty, 1194 if(lineColor == Color.Empty) 1289 Color.Empty, 1334 Color.Empty,
Common\ChartTypes\ColumnChart.cs (3)
1145 (point.MarkerColor == Color.Empty) ? point.Color : point.MarkerColor, 1146 (point.MarkerBorderColor == Color.Empty) ? point.BorderColor : point.MarkerBorderColor, 1151 (point.series != null) ? point.series.ShadowColor : Color.Empty,
Common\ChartTypes\ErrorBarChart.cs (3)
847 (point.series != null) ? point.series.ShadowColor : Color.Empty, 866 Color markerColor = (point.MarkerColor == Color.Empty) ? point.Color : point.MarkerColor; 879 (point.series != null) ? point.series.ShadowColor : Color.Empty,
Common\ChartTypes\FunnelChart.cs (1)
1198 point.BorderColor == Color.Empty)
Common\ChartTypes\KagiChart.cs (2)
92 internal Color kagiUpColor = Color.Empty; 746 if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color == Color.Empty)
Common\ChartTypes\LineChart.cs (5)
752 if(!disableShadow && series.ShadowOffset != 0 && series.ShadowColor != Color.Empty) 754 if(color != Color.Empty && color != Color.Transparent && pointBorderWidth > 0 && dashStyle != ChartDashStyle.NotSet) 808 if(color != Color.Empty && pointBorderWidth > 0 && dashStyle != ChartDashStyle.NotSet) 1377 if(pointAttr.dataPoint.Color != Color.Empty) 1533 if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color == Color.Empty)
Common\ChartTypes\PieChart.cs (10)
837 Color pieLineColor = Color.Empty; 921 shGradientColor = Color.Empty; 932 shBorderColor = Color.Empty; 1315 if( pieLineColor == Color.Empty ) 2692 Color penColor = Color.Empty; 2693 Color penCurveColor = Color.Empty; 2695 if( point.BorderColor == Color.Empty && area.Area3DStyle.LightStyle == LightStyle.None ) 2699 else if( point.BorderColor == Color.Empty ) 2708 if( point.BorderColor != Color.Empty || area.Area3DStyle.LightStyle == LightStyle.None ) 2718 if( point.BorderColor == Color.Empty )
Common\ChartTypes\PointChart.cs (6)
486 (point.MarkerColor == Color.Empty) ? point.Color : point.MarkerColor, 487 (point.MarkerBorderColor == Color.Empty) ? point.BorderColor : point.MarkerBorderColor, 492 (point.series != null) ? point.series.ShadowColor : Color.Empty, 1228 (point.MarkerColor == Color.Empty) ? point.Color : point.MarkerColor, 1229 (point.MarkerBorderColor == Color.Empty) ? point.BorderColor : point.MarkerBorderColor, 1234 (point.series != null) ? point.series.ShadowColor : Color.Empty,
Common\ChartTypes\RadarChart.cs (5)
476if (areaColor != Color.Transparent && areaColor != Color.Empty && ser.ShadowOffset != 0) 596if (areaColor != Color.Transparent && areaColor != Color.Empty) 642if (borderColor != Color.Empty && borderWidth > 0 && borderDashStyle != ChartDashStyle.NotSet) 658(areaColor == Color.Transparent || areaColor == Color.Empty) ? ser.ShadowOffset : 0); 767 (point.series != null) ? point.series.ShadowColor : Color.Empty,
Common\ChartTypes\RangeChart.cs (6)
508 if(series.ShadowColor != Color.Empty && series.ShadowOffset != 0) 510 if(point.Color != Color.Empty && point.Color != Color.Transparent) 649 point.BorderColor != Color.Empty) || 942 if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color == Color.Empty) 1257 if(surfaceBorderColor == Color.Empty) 1713 if(surfaceBorderColor == Color.Empty)
Common\ChartTypes\RenkoChart.cs (2)
501 if( (newDataPoint.BorderColor == Color.Empty || newDataPoint.BorderColor == Color.Transparent) && 502 (newDataPoint.Color == Color.Empty || newDataPoint.Color == Color.Transparent) )
Common\ChartTypes\StackedAreaChart.cs (3)
625else if (point.IsEmpty && point.Color == Color.Empty) 637if ((point.BorderColor != Color.Empty && point.BorderWidth > 0)) 716if (point.BorderWidth > 1 && point.BorderDashStyle != ChartDashStyle.NotSet && point.BorderColor != Color.Empty)
Common\ChartTypes\StepLineChart.cs (1)
284 if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color == Color.Empty)
Common\ChartTypes\StockChart.cs (10)
564 (point.MarkerColor == Color.Empty) ? point.Color : point.MarkerColor, 565 (point.MarkerBorderColor == Color.Empty) ? point.BorderColor : point.MarkerBorderColor, 570 (point.series != null) ? point.series.ShadowColor : Color.Empty, 805 Color barBorderColor = (point.BorderColor == Color.Empty) ? (barColor == Color.Empty) ? point.Color : barColor : point.BorderColor; 1391 (point.MarkerColor == Color.Empty) ? point.Color : point.MarkerColor, 1392 (point.MarkerBorderColor == Color.Empty) ? point.BorderColor : point.MarkerBorderColor, 1397 (point.series != null) ? point.series.ShadowColor : Color.Empty, 1630 Color barBorderColor = (point.BorderColor == Color.Empty) ? (barColor == Color.Empty) ? point.Color : barColor : point.BorderColor;
Common\ChartTypes\ThreeLineBreakChart.cs (2)
479 if( (newDataPoint.BorderColor == Color.Empty || newDataPoint.BorderColor == Color.Transparent) && 480 (newDataPoint.Color == Color.Empty || newDataPoint.Color == Color.Transparent) )
Common\DataManager\DataManager.cs (1)
238 if(dataSeries.Color == Color.Empty || dataSeries.tempColorIsSet)
Common\DataManager\DataPoint.cs (37)
3086 SetAttributeObject(CommonCustomProperties.Color, Color.Empty); 3108 SetAttributeObject(CommonCustomProperties.BorderColor, Color.Empty); 3116 SetAttributeObject(CommonCustomProperties.BackImageTransparentColor, Color.Empty); 3120 SetAttributeObject(CommonCustomProperties.BackSecondaryColor, Color.Empty); 3126 SetAttributeObject(CommonCustomProperties.MarkerImageTransparentColor, Color.Empty); 3128 SetAttributeObject(CommonCustomProperties.MarkerColor, Color.Empty); 3130 SetAttributeObject(CommonCustomProperties.MarkerBorderColor, Color.Empty); 3151 SetAttributeObject(CommonCustomProperties.LabelBackColor, Color.Empty); 3157 SetAttributeObject(CommonCustomProperties.LabelBorderColor, Color.Empty); 3502 return Color.Empty; 3522 if(value == Color.Empty && this.pointCustomProperties) 3564 return Color.Empty; 3838 return Color.Empty; 3995 return Color.Empty; 4437 return Color.Empty; 4491 return Color.Empty; 4545 return Color.Empty; 5208 return Color.Empty; 5267 return Color.Empty; 5871 return series.color != Color.Empty; 5883 return series.borderColor != Color.Empty; 5955 return series.backImageTransparentColor != Color.Empty; 5991 return series.backSecondaryColor != Color.Empty; 6088 return series.markerImageTransparentColor != Color.Empty; 6100 return series.markerColor != Color.Empty; 6112 return series.markerBorderColor != Color.Empty; 6277 return series.labelBackColor != Color.Empty; 6289 return series.labelBorderColor != Color.Empty; 6374 series.color = Color.Empty; 6386 series.borderColor = Color.Empty; 6462 series.backImageTransparentColor = Color.Empty; 6474 series.backSecondaryColor = Color.Empty; 6561 series.markerImageTransparentColor = Color.Empty; 6573 series.markerColor = Color.Empty; 6585 series.markerBorderColor = Color.Empty; 6751 series.labelBackColor = Color.Empty; 6763 series.labelBorderColor = Color.Empty;
Common\DataManager\DataSeries.cs (11)
300 internal Color color = Color.Empty; 305 internal Color borderColor = Color.Empty; 335 internal Color backImageTransparentColor = Color.Empty; 350 internal Color backSecondaryColor = Color.Empty; 395 internal Color markerImageTransparentColor = Color.Empty; 400 internal Color markerColor = Color.Empty; 405 internal Color markerBorderColor = Color.Empty; 448 internal Color labelBackColor = Color.Empty; 453 internal Color labelBorderColor = Color.Empty; 1540 this.Color = Color.Empty; 1555 dataPoint.Color = Color.Empty;
Common\General\Axis.cs (4)
250private Color _interlacedColor = Color.Empty; 3067stripLine.BorderColor = Color.Empty; 3105if (this.InterlacedColor != Color.Empty) 3112if (ChartArea.BackColor == Color.Empty)
Common\General\Chart.cs (8)
360if (this.BackColor != Color.Empty) 367this.BorderSkin.PageColor != Color.Empty) 1459 private Color _backSecondaryColor = Color.Empty; 1463 private Color _backImageTransparentColor = Color.Empty; 1890 Color.Empty, 1893 Color.Empty, 2542 if(value == Color.Empty || value.A != 255 || value == Color.Transparent) 2902 if(value != Color.Empty && (value.A != 255 || value == Color.Transparent))
Common\General\ChartArea.cs (8)
175 private Color _backColor = Color.Empty; 182 private Color _backImageTransparentColor = Color.Empty; 185 private Color _backSecondaryColor = Color.Empty; 2025 (requireAxes) ? Color.Empty : BorderColor, 2046 if(BorderColor != Color.Empty && BorderWidth > 0) 2053 Color.Empty, 2056 Color.Empty, 2060 Color.Empty,
Common\General\ChartArea3D.cs (1)
697 if(sceneBackColor == Color.Empty)
Common\General\ChartAreaCircular.cs (1)
86internal Color TitleForeColor = Color.Empty;
Common\General\ChartGraphics.cs (34)
389 if(backImageTransparentColor != Color.Empty) 396 if(backImageTransparentColor == Color.Empty && 729if (markerImageTransparentColor != Color.Empty) 735if (shadowSize != 0 && shadowColor != Color.Empty) 764 else if(markerStyle != MarkerStyle.None && markerSize > 0 && markerColor != Color.Empty) 810if (shadowSize != 0 && shadowColor != Color.Empty) 830if (shadowSize != 0 && shadowColor != Color.Empty) 885if (shadowSize != 0 && shadowColor != Color.Empty) 936if (shadowSize != 0 && shadowColor != Color.Empty) 1016if (shadowSize != 0 && shadowColor != Color.Empty) 1069if (shadowSize != 0 && shadowColor != Color.Empty) 2323if (imageTransparentColor != Color.Empty) 2527 axis.MajorTickMark.LineColor == Color.Empty) 2861 Color.Empty, 2865 Color.Empty, 2888 Color.Empty, 2892 Color.Empty, 2987 Color.Empty, 2991 Color.Empty, 3015 Color.Empty, 3019 Color.Empty, 3506 if(backColor == Color.Empty || backColor == Color.Transparent) 3527 if(backImageTransparentColor != Color.Empty) 3605 if(backBrush != null && backImageTransparentColor != Color.Empty) 3729if (shadowOffset == 0 || shadowColor == Color.Empty) 4208 if(backImageTransparentColor != Color.Empty) 4278 if(backBrush != null && backImageTransparentColor != Color.Empty) 4364 Color.Empty, 4367 Color.Empty, 4381 Color.Empty, 4384 Color.Empty, 4504 if(backImageTransparentColor != Color.Empty) 4578 if(backBrush != null && backImageTransparentColor != Color.Empty) 4587 if(borderColor != Color.Empty && borderWidth > 0 && borderDashStyle != ChartDashStyle.NotSet)
Common\General\ChartGraphics3D.cs (13)
765if (point.BorderColor != Color.Empty && 879if (area.Area3DStyle.LightStyle == LightStyle.Realistic && point.BorderColor == Color.Empty) 893if (point.BorderColor != Color.Empty && 1017if (area.Area3DStyle.LightStyle == LightStyle.Realistic && point.BorderColor == Color.Empty) 1031if (point.BorderColor != Color.Empty && 1235 if(surfaceBorderColor == Color.Empty) 2111 if(surfaceBorderColor == Color.Empty) 2882 (borderWidth == 0 || borderDashStyle == ChartDashStyle.NotSet || borderColor == Color.Empty) ) 3034(borderWidth == 0 || borderDashStyle == ChartDashStyle.NotSet || borderColor == Color.Empty)) 3523if (markerStyle != MarkerStyle.None && markerSize > 0 && markerColor != Color.Empty) 3547if (shadowSize != 0 && shadowColor != Color.Empty) 4017 (borderWidth == 0 || borderDashStyle == ChartDashStyle.NotSet || borderColor == Color.Empty) ) 4300(borderWidth == 0 || borderDashStyle == ChartDashStyle.NotSet || borderColor == Color.Empty))
Common\General\Label.cs (3)
431 private Color _foreColor = Color.Empty; 432 private Color _markColor = Color.Empty; 445 private Color _imageTransparentColor = Color.Empty;
Common\General\Legend.cs (40)
250 private Color _backImageTransparentColor = Color.Empty; 253 private Color _backSecondaryColor = Color.Empty; 254 private Color _borderColor = Color.Empty; 255 private Color _backColor = Color.Empty; 291 private Color _interlacedRowsColor = Color.Empty; 319 private Color _titleBackColor = Color.Empty; 2552 Color.Empty, 2555 Color.Empty, 2557 Color.Empty, 4175 Color.Empty, 4178 Color.Empty, 4179 Color.Empty, 4182 Color.Empty, 4238 Color.Empty, 4241 Color.Empty, 4245 Color.Empty, 4294 Color.Empty, 4297 Color.Empty, 4298 Color.Empty, 4301 Color.Empty, 4352 Color.Empty, 4355 Color.Empty, 4359 Color.Empty, 4586 Color.Empty, 4590 Color.Empty, 4604 Color.Empty, 4608 Color.Empty, 4625 Color.Empty, 4629 Color.Empty, 4643 Color.Empty, 4647 Color.Empty, 5126 LegendItem item = new LegendItem(text, Color.Empty, image); 5140 LegendItem item = new LegendItem(text, Color.Empty, image); 5181 private Color _color = Color.Empty; 5198 internal Color backSecondaryColor = Color.Empty; 5199 internal Color backImageTransparentColor = Color.Empty; 5213 internal Color markerImageTransparentColor = Color.Empty; 5214 internal Color markerColor = Color.Empty; 5215 internal Color markerBorderColor = Color.Empty; 5541 if(value != Color.Empty && (value.A != 255 || value == Color.Transparent))
Common\General\LegendColumns.cs (15)
134 private Color _foreColor = Color.Empty; 137 private Color _backColor = Color.Empty; 177 private Color _headerBackColor = Color.Empty; 826 private Color _foreColor = Color.Empty; 829 private Color _backColor = Color.Empty; 841 private Color _imageTransparentColor = Color.Empty; 1596 if(this.Legend.BackColor == Color.Empty) 1934 Color.Empty, 1937 Color.Empty, 1938 Color.Empty, 1941 Color.Empty, 2177 if(this.ImageTransparentColor != Color.Empty) 2319if (legendItem.BackImageTransparentColor != Color.Empty) 2470 (legendItem.markerColor == Color.Empty) ? legendItem.Color : legendItem.markerColor, 2471 (legendItem.markerBorderColor == Color.Empty) ? legendItem.borderColor : legendItem.markerBorderColor,
Common\General\StripLine.cs (5)
141 private Color _backColor = Color.Empty; 145 private Color _backImageTransparentColor = Color.Empty; 148 private Color _backSecondaryColor = Color.Empty; 149 private Color _borderColor = Color.Empty; 403 this.BorderWidth, this.BorderDashStyle, Color.Empty,
Common\General\Title.cs (4)
212 private Color _backColor = Color.Empty; 216 private Color _backImageTransparentColor = Color.Empty; 219 private Color _backSecondaryColor = Color.Empty; 224 private Color _borderColor = Color.Empty;
WinForm\ChartWinControl.cs (8)
502 if(chartPicture.BackColor.A != 255 && chartPicture.BackColor != Color.Empty) 507 chartPicture.BackImageTransparentColor != Color.Empty && 556 chartPicture.BorderSkin.PageColor != Color.Empty) 560 if(chartPicture.BorderSkin.BackColor.A != 255 && chartPicture.BorderSkin.BackColor != Color.Empty) 565 chartPicture.BorderSkin.BackImageTransparentColor != Color.Empty && 724 if((chartPicture.BackColor.A != 255 && chartPicture.BackColor != Color.Empty) || 727 chartPicture.BorderSkin.PageColor != Color.Empty)) 1333 return Color.Empty;
System.Workflow.Activities (1)
Designers\StateDesigner.Layouts.cs (1)
1010color1 = Color.Empty;
System.Workflow.ComponentModel (6)
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (2)
384Color color1 = Color.Empty; 471Color color1 = Color.Empty;
AuthoringOM\Design\Themes.cs (4)
992private Color backColorEnd = Color.Empty; 1664BackColorStart = Color.Empty; 1665BackColorEnd = Color.Empty; 3328if (selectedColor != Color.Empty)