346 references to IsEmpty
System.Drawing (5)
commonui\System\Drawing\Advanced\ColorTranslator.cs (4)
256
if (c.
IsEmpty
&& String.Equals(htmlColor, "LightGrey", StringComparison.OrdinalIgnoreCase))
262
if (c.
IsEmpty
) {
274
if (c.
IsEmpty
) {
290
if (c.
IsEmpty
)
commonui\System\Drawing\ColorConverter.cs (1)
295
if (c.
IsEmpty
) {
System.Web (26)
UI\ObjectStateFormatter.cs (1)
1134
if (c.
IsEmpty
) {
UI\WebControls\Calendar.cs (3)
947
sb.Append(foreColor.
IsEmpty
? defaultButtonColorText : ColorTranslator.ToHtml(foreColor));
1327
writer.Write(foreColor.
IsEmpty
? defaultButtonColorText : ColorTranslator.ToHtml(foreColor));
1643
if (inDesignSelectionMode && cellStyle.ForeColor.
IsEmpty
) {
UI\WebControls\HyperLinkStyle.cs (1)
86
if (!c.
IsEmpty
) {
UI\WebControls\Menu.cs (1)
2074
if (!ForeColor.
IsEmpty
) {
UI\WebControls\MenuItemStyle.cs (2)
170
if (!c.
IsEmpty
) {
178
if (!c.
IsEmpty
) {
UI\WebControls\PopOutPanel.cs (4)
134
if (ScrollerStyle.BackColor.
IsEmpty
) {
152
if (BackColor.
IsEmpty
) {
199
if (BackColor.
IsEmpty
&& ((_owner == null) || _owner.BackColor.
IsEmpty
)) {
UI\WebControls\Style.cs (3)
531
if (!c.
IsEmpty
) {
539
if (!c.
IsEmpty
) {
547
if (!c.
IsEmpty
) {
UI\WebControls\SubMenuStyle.cs (2)
126
if (!c.
IsEmpty
) {
134
if (!c.
IsEmpty
) {
UI\WebControls\Table.cs (1)
234
if (!borderColor.
IsEmpty
) {
UI\WebControls\TreeNodeStyle.cs (2)
224
if (!c.
IsEmpty
) {
232
if (!c.
IsEmpty
) {
UI\WebControls\TreeView.cs (1)
990
if (!ForeColor.
IsEmpty
) {
UI\WebParts\ToolZone.cs (1)
298
if (!headerStyle.ForeColor.
IsEmpty
) {
UI\WebParts\WebPartMenu.cs (1)
61
if (foreColor.
IsEmpty
== false) {
UI\WebParts\WebPartMenuStyle.cs (1)
73
if (shadowColor.
IsEmpty
== false) {
UI\WebParts\WebPartZoneBase.cs (2)
283
if (c.
IsEmpty
== false) {
1441
if (!headerStyle.ForeColor.
IsEmpty
) {
System.Web.DataVisualization (54)
Common\Annotation\ArrowAnnotation.cs (1)
337
(this.BackColor.
IsEmpty
) ? Color.White : this.BackColor,
Common\Annotation\CalloutAnnotation.cs (1)
1314
Color color = (this.BackColor.
IsEmpty
) ? Color.White : this.BackColor;
Common\ChartTypes\BarChart.cs (5)
1025
!point.LabelBackColor.
IsEmpty
||
1026
!point.LabelBorderColor.
IsEmpty
)
1791
(point.MarkerColor.
IsEmpty
) ? point.series.Color : point.MarkerColor,
2111
!point.LabelBackColor.
IsEmpty
||
2112
!point.LabelBorderColor.
IsEmpty
)
Common\ChartTypes\FastPointChart.cs (4)
313
SolidBrush markerBrush = new SolidBrush( ((series.MarkerColor.
IsEmpty
) ? series.Color : series.MarkerColor) );
314
SolidBrush emptyMarkerBrush = new SolidBrush( ((series.EmptyPointStyle.MarkerColor.
IsEmpty
) ? series.EmptyPointStyle.Color : series.EmptyPointStyle.MarkerColor) );
319
if(!series.MarkerBorderColor.
IsEmpty
&& series.MarkerBorderWidth > 0)
323
if(!series.EmptyPointStyle.MarkerBorderColor.
IsEmpty
&& series.EmptyPointStyle.MarkerBorderWidth > 0)
Common\ChartTypes\FunnelChart.cs (2)
2075
if(!testLabelInfo.Point.LabelBackColor.
IsEmpty
||
2077
!testLabelInfo.Point.LabelBorderColor.
IsEmpty
&&
Common\ChartTypes\PieChart.cs (2)
913
if( !point.BackSecondaryColor.
IsEmpty
)
924
if( !point.BorderColor.
IsEmpty
)
Common\ChartTypes\RadarChart.cs (3)
720
markerColor.
IsEmpty
)
746
if(markerColor.
IsEmpty
)
1581
if(markerColor.
IsEmpty
)
Common\ChartTypes\StockChart.cs (2)
1048
if (!point.LabelBackColor.
IsEmpty
||
1050
!point.LabelBorderColor.
IsEmpty
)
Common\General\AxisScaleSegments.cs (1)
385
if( this.axis.ChartArea.ShadowOffset != 0 && !this.axis.ChartArea.ShadowColor.
IsEmpty
)
Common\General\ChartGraphics.cs (15)
1518
if( !backColor.
IsEmpty
||
1519
!borderColor.
IsEmpty
)
1530
!borderColor.
IsEmpty
&& borderDashStyle != ChartDashStyle.NotSet)
2425
(markColor.
IsEmpty
) ? axis.MajorTickMark.LineColor : markColor,
2606
(markColor.
IsEmpty
) ? axis.MajorTickMark.LineColor : markColor,
3407
if( backColor.
IsEmpty
)
3412
if( backSecondaryColor.
IsEmpty
)
3417
if( borderColor.
IsEmpty
|| borderDashStyle == ChartDashStyle.NotSet)
4142
if( backColor.
IsEmpty
)
4145
if( backSecondaryColor.
IsEmpty
)
4148
if( borderColor.
IsEmpty
)
4356
backSecondaryColor.
IsEmpty
)
4446
if( backColor.
IsEmpty
)
4449
if( backSecondaryColor.
IsEmpty
)
4452
if( borderColor.
IsEmpty
)
Common\General\Label.cs (3)
1252
if (!circAxis.TitleForeColor.
IsEmpty
)
1772
using (Brush brush = new SolidBrush((label.ForeColor.
IsEmpty
) ? _foreColor : label.ForeColor))
2489
using (Brush brush = new SolidBrush((label.ForeColor.
IsEmpty
) ? _foreColor : label.ForeColor))
Common\General\Legend.cs (5)
4055
if(!legendColumn.HeaderBackColor.
IsEmpty
)
4154
if(!legendColumn.HeaderBackColor.
IsEmpty
)
4283
if(!this.TitleBackColor.
IsEmpty
)
4343
if(!this.TitleBackColor.
IsEmpty
||
4670
!this.BorderColor.
IsEmpty
&&
Common\General\LegendColumns.cs (7)
1569
if(this.BackColor.
IsEmpty
&& this.Legend != null)
1580
!this.Legend.CellColumns[cellIndex].BackColor.
IsEmpty
)
1588
if(resultColor.
IsEmpty
&&
1592
if(this.Legend.InterlacedRowsColor.
IsEmpty
)
1866
if(!this.ForeColor.
IsEmpty
)
1883
!this.Legend.CellColumns[cellIndex].ForeColor.
IsEmpty
)
1926
if(!cellBackColor.
IsEmpty
)
Common\General\Selection.cs (1)
2273
(title.BackColor == Color.Transparent || title.BackColor.
IsEmpty
))
Common\General\Title.cs (2)
1211
if(!this.BackColor.
IsEmpty
||
1213
(!this.BorderColor.
IsEmpty
&& this.BorderDashStyle != ChartDashStyle.NotSet) )
System.Windows.Forms (206)
misc\GDI\WindowsGraphics2.cs (2)
221
if( !foreColor.
IsEmpty
&& foreColor != this.dc.TextColor)
231
DeviceContextBackgroundMode newBackGndMode = (backColor.
IsEmpty
|| backColor == Color.Transparent) ?
winforms\Managed\System\WinForms\ButtonBase.cs (1)
1232
if (isEnableVisualStyleBackgroundSet || ((RawBackColor.
IsEmpty
) && (BackColor == SystemColors.Control)))
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (13)
32
bool hasCustomBorder = (Control.FlatAppearance.BorderSize != BORDERSIZE || !Control.FlatAppearance.BorderColor.
IsEmpty
);
36
!Control.FlatAppearance.CheckedBackColor.
IsEmpty
|| (SystemInformation.HighContrast ? state != CheckState.Indeterminate : state == CheckState.Unchecked),
42
if (!Control.FlatAppearance.BorderColor.
IsEmpty
) {
53
if (!Control.FlatAppearance.CheckedBackColor.
IsEmpty
) {
114
bool hasCustomBorder = (Control.FlatAppearance.BorderSize != BORDERSIZE || !Control.FlatAppearance.BorderColor.
IsEmpty
);
118
!Control.FlatAppearance.CheckedBackColor.
IsEmpty
|| (SystemInformation.HighContrast ? state != CheckState.Indeterminate : state == CheckState.Unchecked),
123
if (!Control.FlatAppearance.BorderColor.
IsEmpty
) {
134
if (!Control.FlatAppearance.MouseDownBackColor.
IsEmpty
) {
192
bool hasCustomBorder = (Control.FlatAppearance.BorderSize != BORDERSIZE || !Control.FlatAppearance.BorderColor.
IsEmpty
);
196
!Control.FlatAppearance.CheckedBackColor.
IsEmpty
|| state == CheckState.Unchecked,
202
if (!Control.FlatAppearance.BorderColor.
IsEmpty
) {
213
if (!Control.FlatAppearance.MouseOverBackColor.
IsEmpty
) {
216
else if (!Control.FlatAppearance.CheckedBackColor.
IsEmpty
) {
winforms\Managed\System\WinForms\ColorDialog.cs (1)
121
if (!value.
IsEmpty
) {
winforms\Managed\System\WinForms\Control.cs (13)
1084
if (!c.
IsEmpty
) {
1102
if (c.
IsEmpty
) {
1108
if (!c.
IsEmpty
&& IsValidBackColor(c))
1119
if (!value.
IsEmpty
|| Properties.ContainsObject(PropBackColor)) {
2714
if (!color.
IsEmpty
) {
2729
if (c.
IsEmpty
) {
2735
if (!c.
IsEmpty
)
2743
if (!value.
IsEmpty
|| Properties.ContainsObject(PropForeColor)) {
3195
if (!c.
IsEmpty
&& !GetStyle(ControlStyles.SupportsTransparentBackColor) && c.A < 255)
8330
if (backColor.
IsEmpty
) {
8447
if (foreColor.
IsEmpty
) {
12247
return !backColor.
IsEmpty
;
12276
return !foreColor.
IsEmpty
;
winforms\Managed\System\WinForms\DataGrid.cs (8)
420
if (value.
IsEmpty
) {
1193
if (value.
IsEmpty
)
1248
if (value.
IsEmpty
)
1807
if (value.
IsEmpty
)
2005
if (value.
IsEmpty
)
2083
if (value.
IsEmpty
)
2182
if (value.
IsEmpty
)
2356
if (value.
IsEmpty
)
winforms\Managed\System\WinForms\DataGridCaption.cs (2)
146
if (value.
IsEmpty
)
247
if (value.
IsEmpty
)
winforms\Managed\System\WinForms\DataGridParentRows.cs (2)
106
if (value.
IsEmpty
)
225
if (value.
IsEmpty
)
winforms\Managed\System\WinForms\DataGridTable.cs (9)
172
if (value.
IsEmpty
) {
263
if (value.
IsEmpty
) {
414
if (value.
IsEmpty
) {
473
if (value.
IsEmpty
)
590
if (value.
IsEmpty
)
730
if (value.
IsEmpty
)
806
if (value.
IsEmpty
)
1224
if (value.
IsEmpty
)
1297
if (value.
IsEmpty
)
winforms\Managed\System\WinForms\DataGridView.cs (2)
1293
if (value.
IsEmpty
)
3324
if (value.
IsEmpty
)
winforms\Managed\System\WinForms\DataGridViewButtonColumn.cs (4)
233
return (!defaultCellStyle.BackColor.
IsEmpty
||
234
!defaultCellStyle.ForeColor.
IsEmpty
||
235
!defaultCellStyle.SelectionBackColor.
IsEmpty
||
236
!defaultCellStyle.SelectionForeColor.
IsEmpty
||
winforms\Managed\System\WinForms\DataGridViewCell.cs (24)
2213
if (cellStyle != null && !cellStyle.BackColor.
IsEmpty
)
2217
else if (rowStyle != null && !rowStyle.BackColor.
IsEmpty
)
2221
else if (!this.DataGridView.RowsDefaultCellStyle.BackColor.
IsEmpty
&&
2222
(rowIndex % 2 == 0 || this.DataGridView.AlternatingRowsDefaultCellStyle.BackColor.
IsEmpty
))
2226
else if (rowIndex % 2 == 1 && !this.DataGridView.AlternatingRowsDefaultCellStyle.BackColor.
IsEmpty
)
2230
else if (columnStyle != null && !columnStyle.BackColor.
IsEmpty
)
2239
if (cellStyle != null && !cellStyle.ForeColor.
IsEmpty
)
2243
else if (rowStyle != null && !rowStyle.ForeColor.
IsEmpty
)
2247
else if (!this.DataGridView.RowsDefaultCellStyle.ForeColor.
IsEmpty
&&
2248
(rowIndex % 2 == 0 || this.DataGridView.AlternatingRowsDefaultCellStyle.ForeColor.
IsEmpty
))
2252
else if (rowIndex % 2 == 1 && !this.DataGridView.AlternatingRowsDefaultCellStyle.ForeColor.
IsEmpty
)
2256
else if (columnStyle != null && !columnStyle.ForeColor.
IsEmpty
)
2265
if (cellStyle != null && !cellStyle.SelectionBackColor.
IsEmpty
)
2269
else if (rowStyle != null && !rowStyle.SelectionBackColor.
IsEmpty
)
2273
else if (!this.DataGridView.RowsDefaultCellStyle.SelectionBackColor.
IsEmpty
&&
2274
(rowIndex % 2 == 0 || this.DataGridView.AlternatingRowsDefaultCellStyle.SelectionBackColor.
IsEmpty
))
2278
else if (rowIndex % 2 == 1 && !this.DataGridView.AlternatingRowsDefaultCellStyle.SelectionBackColor.
IsEmpty
)
2282
else if (columnStyle != null && !columnStyle.SelectionBackColor.
IsEmpty
)
2291
if (cellStyle != null && !cellStyle.SelectionForeColor.
IsEmpty
)
2295
else if (rowStyle != null && !rowStyle.SelectionForeColor.
IsEmpty
)
2299
else if (!this.DataGridView.RowsDefaultCellStyle.SelectionForeColor.
IsEmpty
&&
2300
(rowIndex % 2 == 0 || this.DataGridView.AlternatingRowsDefaultCellStyle.SelectionForeColor.
IsEmpty
))
2304
else if (rowIndex % 2 == 1 && !this.DataGridView.AlternatingRowsDefaultCellStyle.SelectionForeColor.
IsEmpty
)
2308
else if (columnStyle != null && !columnStyle.SelectionForeColor.
IsEmpty
)
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (8)
154
if (!value.
IsEmpty
|| this.Properties.ContainsObject(PropBackColor))
248
if (!value.
IsEmpty
|| this.Properties.ContainsObject(PropForeColor))
497
if (!value.
IsEmpty
|| this.Properties.ContainsObject(PropSelectionBackColor))
521
if (!value.
IsEmpty
|| this.Properties.ContainsObject(PropSelectionForeColor))
606
if (!dataGridViewCellStyle.BackColor.
IsEmpty
)
610
if (!dataGridViewCellStyle.ForeColor.
IsEmpty
)
614
if (!dataGridViewCellStyle.SelectionBackColor.
IsEmpty
)
618
if (!dataGridViewCellStyle.SelectionForeColor.
IsEmpty
)
winforms\Managed\System\WinForms\DataGridViewCheckBoxColumn.cs (4)
338
return (!defaultCellStyle.BackColor.
IsEmpty
||
339
!defaultCellStyle.ForeColor.
IsEmpty
||
340
!defaultCellStyle.SelectionBackColor.
IsEmpty
||
341
!defaultCellStyle.SelectionForeColor.
IsEmpty
||
winforms\Managed\System\WinForms\DataGridViewColumn.cs (8)
314
return (!defaultCellStyle.BackColor.
IsEmpty
||
315
!defaultCellStyle.ForeColor.
IsEmpty
||
316
!defaultCellStyle.SelectionBackColor.
IsEmpty
||
317
!defaultCellStyle.SelectionForeColor.
IsEmpty
||
636
if (columnStyle != null && !columnStyle.BackColor.
IsEmpty
)
645
if (columnStyle != null && !columnStyle.ForeColor.
IsEmpty
)
654
if (columnStyle != null && !columnStyle.SelectionBackColor.
IsEmpty
)
663
if (columnStyle != null && !columnStyle.SelectionForeColor.
IsEmpty
)
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (8)
338
if (cellStyle != null && !cellStyle.BackColor.
IsEmpty
)
342
else if (!columnHeadersStyle.BackColor.
IsEmpty
)
351
if (cellStyle != null && !cellStyle.ForeColor.
IsEmpty
)
355
else if (!columnHeadersStyle.ForeColor.
IsEmpty
)
364
if (cellStyle != null && !cellStyle.SelectionBackColor.
IsEmpty
)
368
else if (!columnHeadersStyle.SelectionBackColor.
IsEmpty
)
377
if (cellStyle != null && !cellStyle.SelectionForeColor.
IsEmpty
)
381
else if (!columnHeadersStyle.SelectionForeColor.
IsEmpty
)
winforms\Managed\System\WinForms\DataGridViewImageColumn.cs (4)
330
return (!defaultCellStyle.BackColor.
IsEmpty
||
331
!defaultCellStyle.ForeColor.
IsEmpty
||
332
!defaultCellStyle.SelectionBackColor.
IsEmpty
||
333
!defaultCellStyle.SelectionForeColor.
IsEmpty
||
winforms\Managed\System\WinForms\DataGridViewMethods.cs (8)
2841
if (cellStyle != null && !cellStyle.BackColor.
IsEmpty
)
2845
else if (!columnHeadersStyle.BackColor.
IsEmpty
)
2854
if (cellStyle != null && !cellStyle.ForeColor.
IsEmpty
)
2858
else if (!columnHeadersStyle.ForeColor.
IsEmpty
)
2867
if (cellStyle != null && !cellStyle.SelectionBackColor.
IsEmpty
)
2871
else if (!columnHeadersStyle.SelectionBackColor.
IsEmpty
)
2880
if (cellStyle != null && !cellStyle.SelectionForeColor.
IsEmpty
)
2884
else if (!columnHeadersStyle.SelectionForeColor.
IsEmpty
)
winforms\Managed\System\WinForms\DataGridViewRow.cs (24)
697
if (cellStyle != null && !cellStyle.BackColor.
IsEmpty
)
701
else if (!rowHeadersStyle.BackColor.
IsEmpty
)
710
if (cellStyle != null && !cellStyle.ForeColor.
IsEmpty
)
714
else if (!rowHeadersStyle.ForeColor.
IsEmpty
)
723
if (cellStyle != null && !cellStyle.SelectionBackColor.
IsEmpty
)
727
else if (!rowHeadersStyle.SelectionBackColor.
IsEmpty
)
736
if (cellStyle != null && !cellStyle.SelectionForeColor.
IsEmpty
)
740
else if (!rowHeadersStyle.SelectionForeColor.
IsEmpty
)
891
if (rowStyle != null && !rowStyle.BackColor.
IsEmpty
)
895
else if (!rowsDefaultCellStyle.BackColor.
IsEmpty
&& (rowIndex % 2 == 0 || alternatingRowsDefaultCellStyle.BackColor.
IsEmpty
))
899
else if (rowIndex % 2 == 1 && !alternatingRowsDefaultCellStyle.BackColor.
IsEmpty
)
908
if (rowStyle != null && !rowStyle.ForeColor.
IsEmpty
)
912
else if (!rowsDefaultCellStyle.ForeColor.
IsEmpty
&& (rowIndex % 2 == 0 || alternatingRowsDefaultCellStyle.ForeColor.
IsEmpty
))
916
else if (rowIndex % 2 == 1 && !alternatingRowsDefaultCellStyle.ForeColor.
IsEmpty
)
925
if (rowStyle != null && !rowStyle.SelectionBackColor.
IsEmpty
)
929
else if (!rowsDefaultCellStyle.SelectionBackColor.
IsEmpty
&& (rowIndex % 2 == 0 || alternatingRowsDefaultCellStyle.SelectionBackColor.
IsEmpty
))
933
else if (rowIndex % 2 == 1 && !alternatingRowsDefaultCellStyle.SelectionBackColor.
IsEmpty
)
942
if (rowStyle != null && !rowStyle.SelectionForeColor.
IsEmpty
)
946
else if (!rowsDefaultCellStyle.SelectionForeColor.
IsEmpty
&& (rowIndex % 2 == 0 || alternatingRowsDefaultCellStyle.SelectionForeColor.
IsEmpty
))
950
else if (rowIndex % 2 == 1 && !alternatingRowsDefaultCellStyle.SelectionForeColor.
IsEmpty
)
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (8)
464
if (cellStyle != null && !cellStyle.BackColor.
IsEmpty
)
468
else if (!rowHeadersStyle.BackColor.
IsEmpty
)
477
if (cellStyle != null && !cellStyle.ForeColor.
IsEmpty
)
481
else if (!rowHeadersStyle.ForeColor.
IsEmpty
)
490
if (cellStyle != null && !cellStyle.SelectionBackColor.
IsEmpty
)
494
else if (!rowHeadersStyle.SelectionBackColor.
IsEmpty
)
503
if (cellStyle != null && !cellStyle.SelectionForeColor.
IsEmpty
)
507
else if (!rowHeadersStyle.SelectionForeColor.
IsEmpty
)
winforms\Managed\System\WinForms\DateTimePicker.cs (5)
250
if (value.
IsEmpty
) {
317
if (value.
IsEmpty
) {
342
if (value.
IsEmpty
) {
367
if (value.
IsEmpty
) {
392
if (value.
IsEmpty
) {
winforms\Managed\System\WinForms\FontDialog.cs (1)
180
if (!value.
IsEmpty
) {
winforms\Managed\System\WinForms\Form.cs (2)
772
if (!c.
IsEmpty
)
6456
if (transparencyKey.
IsEmpty
) {
winforms\Managed\System\WinForms\LinkLabel.cs (9)
107
if (activeLinkColor.
IsEmpty
) {
134
if (disabledLinkColor.
IsEmpty
) {
190
if (iedisabledLinkColor.
IsEmpty
) {
311
if (linkColor.
IsEmpty
) {
470
if (visitedLinkColor.
IsEmpty
) {
1749
return !activeLinkColor.
IsEmpty
;
1759
return !disabledLinkColor.
IsEmpty
;
1785
return !linkColor.
IsEmpty
;
1804
return !visitedLinkColor.
IsEmpty
;
winforms\Managed\System\WinForms\LinkUtilities.cs (3)
87
if (ielinkColor.
IsEmpty
) {
96
if (ieactiveLinkColor.
IsEmpty
) {
104
if (ievisitedLinkColor.
IsEmpty
) {
winforms\Managed\System\WinForms\ListView.cs (2)
2774
if (!haveRenderInfo || riFore.
IsEmpty
)
2827
if (!haveRenderInfo || riBack.
IsEmpty
)
winforms\Managed\System\WinForms\ListViewInsertionMark.cs (2)
77
if (color.
IsEmpty
) {
139
if (!color.
IsEmpty
) {
winforms\Managed\System\WinForms\ListViewItem.cs (2)
1507
return style != null && !style.backColor.
IsEmpty
;
1519
return style != null && !style.foreColor.
IsEmpty
;
winforms\Managed\System\WinForms\MonthCalendar.cs (3)
1118
if (value.
IsEmpty
) {
1141
if (value.
IsEmpty
) {
1164
if (value.
IsEmpty
) {
winforms\Managed\System\WinForms\OwnerDrawPropertyBag.cs (2)
113
return (Font == null && foreColor.
IsEmpty
&& backColor.
IsEmpty
);
winforms\Managed\System\WinForms\ToolStripItem.cs (9)
544
if (!c.
IsEmpty
)
555
if (!value.
IsEmpty
|| Properties.ContainsObject(PropBackColor)) {
1015
if (!foreColor.
IsEmpty
){
1028
if (!value.
IsEmpty
|| Properties.ContainsObject(PropForeColor)) {
1425
if (!color.
IsEmpty
) {
3269
if (backColor.
IsEmpty
) {
3316
if (foreColor.
IsEmpty
) {
3668
return !backColor.
IsEmpty
;
3684
return !foreColor.
IsEmpty
;
winforms\Managed\System\WinForms\ToolStripLabel.cs (6)
89
if (activeLinkColor.
IsEmpty
) {
149
if (linkColor.
IsEmpty
) {
187
if (visitedLinkColor.
IsEmpty
) {
267
return !activeLinkColor.
IsEmpty
;
272
return !linkColor.
IsEmpty
;
277
return !visitedLinkColor.
IsEmpty
;
winforms\Managed\System\WinForms\ToolTip.cs (1)
284
if (value.
IsEmpty
) {
winforms\Managed\System\WinForms\TreeNode.cs (4)
252
if (value.
IsEmpty
) {
257
if (!oldbk.
IsEmpty
) InvalidateHostTree();
467
if (value.
IsEmpty
) {
472
if (!oldfc.
IsEmpty
) InvalidateHostTree();
winforms\Managed\System\WinForms\TreeView.cs (2)
2780
if (renderinfo != null && !riFore.
IsEmpty
) {
2784
if (renderinfo != null && !riBack.
IsEmpty
) {
System.Windows.Forms.DataVisualization (55)
Common\Annotation\ArrowAnnotation.cs (1)
337
(this.BackColor.
IsEmpty
) ? Color.White : this.BackColor,
Common\Annotation\CalloutAnnotation.cs (1)
1314
Color color = (this.BackColor.
IsEmpty
) ? Color.White : this.BackColor;
Common\ChartTypes\BarChart.cs (5)
1025
!point.LabelBackColor.
IsEmpty
||
1026
!point.LabelBorderColor.
IsEmpty
)
1791
(point.MarkerColor.
IsEmpty
) ? point.series.Color : point.MarkerColor,
2111
!point.LabelBackColor.
IsEmpty
||
2112
!point.LabelBorderColor.
IsEmpty
)
Common\ChartTypes\FastPointChart.cs (4)
313
SolidBrush markerBrush = new SolidBrush( ((series.MarkerColor.
IsEmpty
) ? series.Color : series.MarkerColor) );
314
SolidBrush emptyMarkerBrush = new SolidBrush( ((series.EmptyPointStyle.MarkerColor.
IsEmpty
) ? series.EmptyPointStyle.Color : series.EmptyPointStyle.MarkerColor) );
319
if(!series.MarkerBorderColor.
IsEmpty
&& series.MarkerBorderWidth > 0)
323
if(!series.EmptyPointStyle.MarkerBorderColor.
IsEmpty
&& series.EmptyPointStyle.MarkerBorderWidth > 0)
Common\ChartTypes\FunnelChart.cs (2)
2075
if(!testLabelInfo.Point.LabelBackColor.
IsEmpty
||
2077
!testLabelInfo.Point.LabelBorderColor.
IsEmpty
&&
Common\ChartTypes\PieChart.cs (2)
913
if( !point.BackSecondaryColor.
IsEmpty
)
924
if( !point.BorderColor.
IsEmpty
)
Common\ChartTypes\RadarChart.cs (3)
720
markerColor.
IsEmpty
)
746
if(markerColor.
IsEmpty
)
1581
if(markerColor.
IsEmpty
)
Common\ChartTypes\StockChart.cs (2)
1048
if (!point.LabelBackColor.
IsEmpty
||
1050
!point.LabelBorderColor.
IsEmpty
)
Common\General\AxisScaleSegments.cs (1)
385
if( this.axis.ChartArea.ShadowOffset != 0 && !this.axis.ChartArea.ShadowColor.
IsEmpty
)
Common\General\ChartGraphics.cs (15)
1518
if( !backColor.
IsEmpty
||
1519
!borderColor.
IsEmpty
)
1530
!borderColor.
IsEmpty
&& borderDashStyle != ChartDashStyle.NotSet)
2425
(markColor.
IsEmpty
) ? axis.MajorTickMark.LineColor : markColor,
2606
(markColor.
IsEmpty
) ? axis.MajorTickMark.LineColor : markColor,
3407
if( backColor.
IsEmpty
)
3412
if( backSecondaryColor.
IsEmpty
)
3417
if( borderColor.
IsEmpty
|| borderDashStyle == ChartDashStyle.NotSet)
4142
if( backColor.
IsEmpty
)
4145
if( backSecondaryColor.
IsEmpty
)
4148
if( borderColor.
IsEmpty
)
4356
backSecondaryColor.
IsEmpty
)
4446
if( backColor.
IsEmpty
)
4449
if( backSecondaryColor.
IsEmpty
)
4452
if( borderColor.
IsEmpty
)
Common\General\Label.cs (3)
1252
if (!circAxis.TitleForeColor.
IsEmpty
)
1772
using (Brush brush = new SolidBrush((label.ForeColor.
IsEmpty
) ? _foreColor : label.ForeColor))
2489
using (Brush brush = new SolidBrush((label.ForeColor.
IsEmpty
) ? _foreColor : label.ForeColor))
Common\General\Legend.cs (5)
4055
if(!legendColumn.HeaderBackColor.
IsEmpty
)
4154
if(!legendColumn.HeaderBackColor.
IsEmpty
)
4283
if(!this.TitleBackColor.
IsEmpty
)
4343
if(!this.TitleBackColor.
IsEmpty
||
4670
!this.BorderColor.
IsEmpty
&&
Common\General\LegendColumns.cs (7)
1569
if(this.BackColor.
IsEmpty
&& this.Legend != null)
1580
!this.Legend.CellColumns[cellIndex].BackColor.
IsEmpty
)
1588
if(resultColor.
IsEmpty
&&
1592
if(this.Legend.InterlacedRowsColor.
IsEmpty
)
1866
if(!this.ForeColor.
IsEmpty
)
1883
!this.Legend.CellColumns[cellIndex].ForeColor.
IsEmpty
)
1926
if(!cellBackColor.
IsEmpty
)
Common\General\Selection.cs (1)
2273
(title.BackColor == Color.Transparent || title.BackColor.
IsEmpty
))
Common\General\Title.cs (2)
1211
if(!this.BackColor.
IsEmpty
||
1213
(!this.BorderColor.
IsEmpty
&& this.BorderDashStyle != ChartDashStyle.NotSet) )
WinForm\ChartWinControl.cs (1)
385
!this.BackColor.
IsEmpty
&&