189 instantiations of Color
System.Drawing (183)
commonui\System\Drawing\Advanced\ColorMap.cs (2)
29
oldColor = new
Color
();
30
newColor = new
Color
();
commonui\System\Drawing\Advanced\ImageAttributes.cs (1)
695
SetWrapMode(mode, new
Color
(), false);
commonui\System\Drawing\Color.cs (147)
38
public static readonly Color Empty = new
Color
();
49
return new
Color
(KnownColor.Transparent);
58
return new
Color
(KnownColor.AliceBlue);
67
return new
Color
(KnownColor.AntiqueWhite);
76
return new
Color
(KnownColor.Aqua);
85
return new
Color
(KnownColor.Aquamarine);
94
return new
Color
(KnownColor.Azure);
103
return new
Color
(KnownColor.Beige);
112
return new
Color
(KnownColor.Bisque);
121
return new
Color
(KnownColor.Black);
130
return new
Color
(KnownColor.BlanchedAlmond);
139
return new
Color
(KnownColor.Blue);
148
return new
Color
(KnownColor.BlueViolet);
157
return new
Color
(KnownColor.Brown);
166
return new
Color
(KnownColor.BurlyWood);
175
return new
Color
(KnownColor.CadetBlue);
184
return new
Color
(KnownColor.Chartreuse);
193
return new
Color
(KnownColor.Chocolate);
202
return new
Color
(KnownColor.Coral);
211
return new
Color
(KnownColor.CornflowerBlue);
220
return new
Color
(KnownColor.Cornsilk);
229
return new
Color
(KnownColor.Crimson);
238
return new
Color
(KnownColor.Cyan);
247
return new
Color
(KnownColor.DarkBlue);
256
return new
Color
(KnownColor.DarkCyan);
265
return new
Color
(KnownColor.DarkGoldenrod);
274
return new
Color
(KnownColor.DarkGray);
283
return new
Color
(KnownColor.DarkGreen);
292
return new
Color
(KnownColor.DarkKhaki);
301
return new
Color
(KnownColor.DarkMagenta);
310
return new
Color
(KnownColor.DarkOliveGreen);
319
return new
Color
(KnownColor.DarkOrange);
328
return new
Color
(KnownColor.DarkOrchid);
337
return new
Color
(KnownColor.DarkRed);
346
return new
Color
(KnownColor.DarkSalmon);
355
return new
Color
(KnownColor.DarkSeaGreen);
364
return new
Color
(KnownColor.DarkSlateBlue);
373
return new
Color
(KnownColor.DarkSlateGray);
382
return new
Color
(KnownColor.DarkTurquoise);
391
return new
Color
(KnownColor.DarkViolet);
400
return new
Color
(KnownColor.DeepPink);
409
return new
Color
(KnownColor.DeepSkyBlue);
418
return new
Color
(KnownColor.DimGray);
427
return new
Color
(KnownColor.DodgerBlue);
436
return new
Color
(KnownColor.Firebrick);
445
return new
Color
(KnownColor.FloralWhite);
454
return new
Color
(KnownColor.ForestGreen);
463
return new
Color
(KnownColor.Fuchsia);
472
return new
Color
(KnownColor.Gainsboro);
481
return new
Color
(KnownColor.GhostWhite);
490
return new
Color
(KnownColor.Gold);
499
return new
Color
(KnownColor.Goldenrod);
508
return new
Color
(KnownColor.Gray);
517
return new
Color
(KnownColor.Green);
526
return new
Color
(KnownColor.GreenYellow);
535
return new
Color
(KnownColor.Honeydew);
544
return new
Color
(KnownColor.HotPink);
553
return new
Color
(KnownColor.IndianRed);
562
return new
Color
(KnownColor.Indigo);
571
return new
Color
(KnownColor.Ivory);
580
return new
Color
(KnownColor.Khaki);
589
return new
Color
(KnownColor.Lavender);
598
return new
Color
(KnownColor.LavenderBlush);
607
return new
Color
(KnownColor.LawnGreen);
616
return new
Color
(KnownColor.LemonChiffon);
625
return new
Color
(KnownColor.LightBlue);
634
return new
Color
(KnownColor.LightCoral);
643
return new
Color
(KnownColor.LightCyan);
652
return new
Color
(KnownColor.LightGoldenrodYellow);
661
return new
Color
(KnownColor.LightGreen);
670
return new
Color
(KnownColor.LightGray);
679
return new
Color
(KnownColor.LightPink);
688
return new
Color
(KnownColor.LightSalmon);
697
return new
Color
(KnownColor.LightSeaGreen);
706
return new
Color
(KnownColor.LightSkyBlue);
715
return new
Color
(KnownColor.LightSlateGray);
724
return new
Color
(KnownColor.LightSteelBlue);
733
return new
Color
(KnownColor.LightYellow);
742
return new
Color
(KnownColor.Lime);
751
return new
Color
(KnownColor.LimeGreen);
760
return new
Color
(KnownColor.Linen);
769
return new
Color
(KnownColor.Magenta);
778
return new
Color
(KnownColor.Maroon);
787
return new
Color
(KnownColor.MediumAquamarine);
796
return new
Color
(KnownColor.MediumBlue);
805
return new
Color
(KnownColor.MediumOrchid);
814
return new
Color
(KnownColor.MediumPurple);
823
return new
Color
(KnownColor.MediumSeaGreen);
832
return new
Color
(KnownColor.MediumSlateBlue);
841
return new
Color
(KnownColor.MediumSpringGreen);
850
return new
Color
(KnownColor.MediumTurquoise);
859
return new
Color
(KnownColor.MediumVioletRed);
868
return new
Color
(KnownColor.MidnightBlue);
877
return new
Color
(KnownColor.MintCream);
886
return new
Color
(KnownColor.MistyRose);
895
return new
Color
(KnownColor.Moccasin);
904
return new
Color
(KnownColor.NavajoWhite);
913
return new
Color
(KnownColor.Navy);
922
return new
Color
(KnownColor.OldLace);
931
return new
Color
(KnownColor.Olive);
940
return new
Color
(KnownColor.OliveDrab);
949
return new
Color
(KnownColor.Orange);
958
return new
Color
(KnownColor.OrangeRed);
967
return new
Color
(KnownColor.Orchid);
976
return new
Color
(KnownColor.PaleGoldenrod);
985
return new
Color
(KnownColor.PaleGreen);
994
return new
Color
(KnownColor.PaleTurquoise);
1003
return new
Color
(KnownColor.PaleVioletRed);
1012
return new
Color
(KnownColor.PapayaWhip);
1021
return new
Color
(KnownColor.PeachPuff);
1030
return new
Color
(KnownColor.Peru);
1039
return new
Color
(KnownColor.Pink);
1048
return new
Color
(KnownColor.Plum);
1057
return new
Color
(KnownColor.PowderBlue);
1066
return new
Color
(KnownColor.Purple);
1075
return new
Color
(KnownColor.Red);
1084
return new
Color
(KnownColor.RosyBrown);
1093
return new
Color
(KnownColor.RoyalBlue);
1102
return new
Color
(KnownColor.SaddleBrown);
1111
return new
Color
(KnownColor.Salmon);
1120
return new
Color
(KnownColor.SandyBrown);
1129
return new
Color
(KnownColor.SeaGreen);
1138
return new
Color
(KnownColor.SeaShell);
1147
return new
Color
(KnownColor.Sienna);
1156
return new
Color
(KnownColor.Silver);
1165
return new
Color
(KnownColor.SkyBlue);
1174
return new
Color
(KnownColor.SlateBlue);
1183
return new
Color
(KnownColor.SlateGray);
1192
return new
Color
(KnownColor.Snow);
1201
return new
Color
(KnownColor.SpringGreen);
1210
return new
Color
(KnownColor.SteelBlue);
1219
return new
Color
(KnownColor.Tan);
1228
return new
Color
(KnownColor.Teal);
1237
return new
Color
(KnownColor.Thistle);
1246
return new
Color
(KnownColor.Tomato);
1255
return new
Color
(KnownColor.Turquoise);
1264
return new
Color
(KnownColor.Violet);
1273
return new
Color
(KnownColor.Wheat);
1282
return new
Color
(KnownColor.White);
1291
return new
Color
(KnownColor.WhiteSmoke);
1300
return new
Color
(KnownColor.Yellow);
1309
return new
Color
(KnownColor.YellowGreen);
1545
return new
Color
((long)argb & 0xffffffff, StateARGBValueValid, null, (KnownColor)0);
1560
return new
Color
(MakeArgb((byte) alpha, (byte) red, (byte) green, (byte) blue), StateARGBValueValid, null, (KnownColor)0);
1573
return new
Color
(MakeArgb(unchecked((byte) alpha), baseColor.R, baseColor.G, baseColor.B), StateARGBValueValid, null, (KnownColor)0);
1597
return new
Color
(color);
1613
return new
Color
(NotDefinedValue, StateNameValid, name, (KnownColor)0);
commonui\System\Drawing\SystemColors.cs (33)
34
return new
Color
(KnownColor.ActiveBorder);
44
return new
Color
(KnownColor.ActiveCaption);
54
return new
Color
(KnownColor.ActiveCaptionText);
66
return new
Color
(KnownColor.AppWorkspace);
78
return new
Color
(KnownColor.ButtonFace);
90
return new
Color
(KnownColor.ButtonHighlight);
102
return new
Color
(KnownColor.ButtonShadow);
112
return new
Color
(KnownColor.Control);
122
return new
Color
(KnownColor.ControlDark);
132
return new
Color
(KnownColor.ControlDarkDark);
142
return new
Color
(KnownColor.ControlLight);
152
return new
Color
(KnownColor.ControlLightLight);
162
return new
Color
(KnownColor.ControlText);
172
return new
Color
(KnownColor.Desktop);
185
return new
Color
(KnownColor.GradientActiveCaption);
198
return new
Color
(KnownColor.GradientInactiveCaption);
209
return new
Color
(KnownColor.GrayText);
220
return new
Color
(KnownColor.Highlight);
231
return new
Color
(KnownColor.HighlightText);
241
return new
Color
(KnownColor.HotTrack);
251
return new
Color
(KnownColor.InactiveBorder);
261
return new
Color
(KnownColor.InactiveCaption);
271
return new
Color
(KnownColor.InactiveCaptionText);
281
return new
Color
(KnownColor.Info);
291
return new
Color
(KnownColor.InfoText);
301
return new
Color
(KnownColor.Menu);
311
return new
Color
(KnownColor.MenuBar);
324
return new
Color
(KnownColor.MenuHighlight);
334
return new
Color
(KnownColor.MenuText);
345
return new
Color
(KnownColor.ScrollBar);
355
return new
Color
(KnownColor.Window);
365
return new
Color
(KnownColor.WindowFrame);
375
return new
Color
(KnownColor.WindowText);
System.Web.DataVisualization (3)
Common\ChartTypes\PieChart.cs (3)
902
Color shcolor = new
Color
();
903
Color shGradientColor = new
Color
();
904
Color shBorderColor = new
Color
();
System.Windows.Forms.DataVisualization (3)
Common\ChartTypes\PieChart.cs (3)
902
Color shcolor = new
Color
();
903
Color shGradientColor = new
Color
();
904
Color shBorderColor = new
Color
();
6480 references to Color
System.Drawing (712)
commonui\System\Drawing\Advanced\ColorBlend.cs (4)
20
Color
[] colors;
28
colors = new
Color
[1];
40
colors = new
Color
[count];
48
public
Color
[] Colors {
commonui\System\Drawing\Advanced\ColorMap.cs (6)
19
Color
oldColor;
20
Color
newColor;
36
/// Specifies the existing <see cref='System.Drawing.
Color
'/> to be
40
public
Color
OldColor {
47
/// Specifes the new <see cref='System.Drawing.
Color
'/> to which to convert.
50
public
Color
NewColor {
commonui\System\Drawing\Advanced\ColorPalette.cs (7)
26
private
Color
[] entries;
44
/// Specifies an array of <see cref='System.Drawing.
Color
'/> objects.
46
public
Color
[] Entries
54
entries = new
Color
[count];
58
entries = new
Color
[1];
74
entries = new
Color
[size];
80
entries[i] =
Color
.FromArgb(argb);
commonui\System\Drawing\Advanced\ColorTranslator.cs (81)
20
/// Translates colors to and from GDI+ <see cref='System.Drawing.
Color
'/> objects.
36
/// Translates the specified <see cref='System.Drawing.
Color
'/> to a
39
public static int ToWin32(
Color
c) {
45
/// Translates the specified <see cref='System.Drawing.
Color
'/> to
48
public static int ToOle(
Color
c) {
130
/// <see cref='System.Drawing.
Color
'/>.
132
public static
Color
FromOle(int oleColor) {
145
return
Color
.FromKnownColor(KnownColor.ActiveBorder);
147
return
Color
.FromKnownColor(KnownColor.ActiveCaption);
149
return
Color
.FromKnownColor(KnownColor.ActiveCaptionText);
151
return
Color
.FromKnownColor(KnownColor.AppWorkspace);
153
return
Color
.FromKnownColor(KnownColor.Control);
155
return
Color
.FromKnownColor(KnownColor.ControlDark);
157
return
Color
.FromKnownColor(KnownColor.ControlDarkDark);
159
return
Color
.FromKnownColor(KnownColor.ControlLight);
161
return
Color
.FromKnownColor(KnownColor.ControlLightLight);
163
return
Color
.FromKnownColor(KnownColor.ControlText);
165
return
Color
.FromKnownColor(KnownColor.Desktop);
167
return
Color
.FromKnownColor(KnownColor.GradientActiveCaption);
169
return
Color
.FromKnownColor(KnownColor.GradientInactiveCaption);
171
return
Color
.FromKnownColor(KnownColor.GrayText);
173
return
Color
.FromKnownColor(KnownColor.Highlight);
175
return
Color
.FromKnownColor(KnownColor.HighlightText);
177
return
Color
.FromKnownColor(KnownColor.HotTrack);
179
return
Color
.FromKnownColor(KnownColor.InactiveBorder);
181
return
Color
.FromKnownColor(KnownColor.InactiveCaption);
183
return
Color
.FromKnownColor(KnownColor.InactiveCaptionText);
185
return
Color
.FromKnownColor(KnownColor.Info);
187
return
Color
.FromKnownColor(KnownColor.InfoText);
189
return
Color
.FromKnownColor(KnownColor.Menu);
191
return
Color
.FromKnownColor(KnownColor.MenuBar);
193
return
Color
.FromKnownColor(KnownColor.MenuHighlight);
195
return
Color
.FromKnownColor(KnownColor.MenuText);
197
return
Color
.FromKnownColor(KnownColor.ScrollBar);
199
return
Color
.FromKnownColor(KnownColor.Window);
201
return
Color
.FromKnownColor(KnownColor.WindowFrame);
203
return
Color
.FromKnownColor(KnownColor.WindowText);
207
Color
color =
Color
.FromArgb((byte)((oleColor >> Win32RedShift) & 0xFF),
217
/// GDI+ <see cref='System.Drawing.
Color
'/>.
219
public static
Color
FromWin32(int win32Color) {
226
/// a GDI+ <see cref='System.Drawing.
Color
'/>.
228
public static
Color
FromHtml(string htmlColor) {
229
Color
c =
Color
.Empty;
240
c =
Color
.FromArgb(Convert.ToInt32(htmlColor.Substring(1, 2), 16),
249
c =
Color
.FromArgb(Convert.ToInt32(r + r, 16),
258
c =
Color
.LightGray;
269
c = (
Color
)o;
275
c = (
Color
)TypeDescriptor.GetConverter(typeof(
Color
)).ConvertFromString(htmlColor);
284
/// Translates the specified <see cref='System.Drawing.
Color
'/> to an Html string color representation.
287
public static string ToHtml(
Color
c) {
328
if (c ==
Color
.LightGray) {
347
htmlSysColorTable["activeborder"] =
Color
.FromKnownColor(KnownColor.ActiveBorder);
348
htmlSysColorTable["activecaption"] =
Color
.FromKnownColor(KnownColor.ActiveCaption);
349
htmlSysColorTable["appworkspace"] =
Color
.FromKnownColor(KnownColor.AppWorkspace);
350
htmlSysColorTable["background"] =
Color
.FromKnownColor(KnownColor.Desktop);
351
htmlSysColorTable["buttonface"] =
Color
.FromKnownColor(KnownColor.Control);
352
htmlSysColorTable["buttonhighlight"] =
Color
.FromKnownColor(KnownColor.ControlLightLight);
353
htmlSysColorTable["buttonshadow"] =
Color
.FromKnownColor(KnownColor.ControlDark);
354
htmlSysColorTable["buttontext"] =
Color
.FromKnownColor(KnownColor.ControlText);
355
htmlSysColorTable["captiontext"] =
Color
.FromKnownColor(KnownColor.ActiveCaptionText);
356
htmlSysColorTable["graytext"] =
Color
.FromKnownColor(KnownColor.GrayText);
357
htmlSysColorTable["highlight"] =
Color
.FromKnownColor(KnownColor.Highlight);
358
htmlSysColorTable["highlighttext"] =
Color
.FromKnownColor(KnownColor.HighlightText);
359
htmlSysColorTable["inactiveborder"] =
Color
.FromKnownColor(KnownColor.InactiveBorder);
360
htmlSysColorTable["inactivecaption"] =
Color
.FromKnownColor(KnownColor.InactiveCaption);
361
htmlSysColorTable["inactivecaptiontext"] =
Color
.FromKnownColor(KnownColor.InactiveCaptionText);
362
htmlSysColorTable["infobackground"] =
Color
.FromKnownColor(KnownColor.Info);
363
htmlSysColorTable["infotext"] =
Color
.FromKnownColor(KnownColor.InfoText);
364
htmlSysColorTable["menu"] =
Color
.FromKnownColor(KnownColor.Menu);
365
htmlSysColorTable["menutext"] =
Color
.FromKnownColor(KnownColor.MenuText);
366
htmlSysColorTable["scrollbar"] =
Color
.FromKnownColor(KnownColor.ScrollBar);
367
htmlSysColorTable["threeddarkshadow"] =
Color
.FromKnownColor(KnownColor.ControlDarkDark);
368
htmlSysColorTable["threedface"] =
Color
.FromKnownColor(KnownColor.Control);
369
htmlSysColorTable["threedhighlight"] =
Color
.FromKnownColor(KnownColor.ControlLight);
370
htmlSysColorTable["threedlightshadow"] =
Color
.FromKnownColor(KnownColor.ControlLightLight);
371
htmlSysColorTable["window"] =
Color
.FromKnownColor(KnownColor.Window);
372
htmlSysColorTable["windowframe"] =
Color
.FromKnownColor(KnownColor.WindowFrame);
373
htmlSysColorTable["windowtext"] =
Color
.FromKnownColor(KnownColor.WindowText);
commonui\System\Drawing\Advanced\HatchBrush.cs (8)
38
public HatchBrush(HatchStyle hatchstyle,
Color
foreColor) :
39
this(hatchstyle, foreColor,
Color
.FromArgb( unchecked( (int) 0xff000000) ) )
52
public HatchBrush(HatchStyle hatchstyle,
Color
foreColor,
Color
backColor)
116
public
Color
ForegroundColor
126
return
Color
.FromArgb(forecol);
137
public
Color
BackgroundColor
147
return
Color
.FromArgb(backcol);
commonui\System\Drawing\Advanced\ImageAttributes.cs (6)
449
public void SetColorKey(
Color
colorLow,
Color
colorHigh)
458
public void SetColorKey(
Color
colorLow,
Color
colorHigh, ColorAdjustType type)
702
public void SetWrapMode(WrapMode mode,
Color
color)
711
public void SetWrapMode(WrapMode mode,
Color
color, bool clamp)
commonui\System\Drawing\Advanced\LinearGradientBrush.cs (26)
41
Color
color1,
Color
color2)
68
Color
color1,
Color
color2)
94
public LinearGradientBrush(RectangleF rect,
Color
color1,
Color
color2,
133
public LinearGradientBrush(Rectangle rect,
Color
color1,
Color
color2,
173
public LinearGradientBrush(RectangleF rect,
Color
color1,
Color
color2,
186
public LinearGradientBrush(RectangleF rect,
Color
color1,
Color
color2,
220
public LinearGradientBrush(Rectangle rect,
Color
color1,
Color
color2,
234
public LinearGradientBrush(Rectangle rect,
Color
color1,
Color
color2,
289
private void _SetLinearColors(
Color
color1,
Color
color2)
299
private
Color
[] _GetLinearColors()
313
Color
[] lineColor = new
Color
[2];
315
lineColor[0] =
Color
.FromArgb(colors[0]);
316
lineColor[1] =
Color
.FromArgb(colors[1]);
326
public
Color
[] LinearColors
600
blend.Colors = new
Color
[argb.Length];
603
blend.Colors[i] =
Color
.FromArgb(argb[i]);
commonui\System\Drawing\Advanced\PathGradientBrush.cs (10)
207
public
Color
CenterColor
217
return
Color
.FromArgb(argb);
234
private void _SetSurroundColors(
Color
[] colors)
260
private
Color
[] _GetSurroundColors()
280
Color
[] colors = new
Color
[count];
282
colors[i] =
Color
.FromArgb(argbs[i]);
294
public
Color
[] SurroundColors
563
blend.Colors = new
Color
[argb.Length];
566
blend.Colors[i] =
Color
.FromArgb(argb[i]);
commonui\System\Drawing\Bitmap.cs (11)
38
private static
Color
defaultTransparentColor =
Color
.LightGray;
328
g.Clear(
Color
.Transparent);
405
return GetHbitmap(
Color
.LightGray);
418
public IntPtr GetHbitmap(
Color
background) {
553
Color
transparent = defaultTransparentColor;
572
public void MakeTransparent(
Color
transparentColor) {
587
graphics.Clear(
Color
.Transparent);
676
public
Color
GetPixel(int x, int y) {
693
return
Color
.FromArgb(color);
702
public void SetPixel(int x, int y,
Color
color) {
commonui\System\Drawing\Brushes.cs (141)
177
transparent = new SolidBrush(
Color
.Transparent);
194
aliceBlue = new SolidBrush(
Color
.AliceBlue);
211
antiqueWhite = new SolidBrush(
Color
.AntiqueWhite);
228
aqua = new SolidBrush(
Color
.Aqua);
245
aquamarine = new SolidBrush(
Color
.Aquamarine);
262
azure = new SolidBrush(
Color
.Azure);
279
beige = new SolidBrush(
Color
.Beige);
296
bisque = new SolidBrush(
Color
.Bisque);
313
black = new SolidBrush(
Color
.Black);
330
blanchedAlmond = new SolidBrush(
Color
.BlanchedAlmond);
347
blue = new SolidBrush(
Color
.Blue);
364
blueViolet = new SolidBrush(
Color
.BlueViolet);
381
brown = new SolidBrush(
Color
.Brown);
398
burlyWood = new SolidBrush(
Color
.BurlyWood);
415
cadetBlue = new SolidBrush(
Color
.CadetBlue);
432
chartreuse = new SolidBrush(
Color
.Chartreuse);
449
chocolate = new SolidBrush(
Color
.Chocolate);
466
choral = new SolidBrush(
Color
.Coral);
483
cornflowerBlue = new SolidBrush(
Color
.CornflowerBlue);
500
cornsilk = new SolidBrush(
Color
.Cornsilk);
517
crimson = new SolidBrush(
Color
.Crimson);
534
cyan = new SolidBrush(
Color
.Cyan);
551
darkBlue = new SolidBrush(
Color
.DarkBlue);
568
darkCyan = new SolidBrush(
Color
.DarkCyan);
585
darkGoldenrod = new SolidBrush(
Color
.DarkGoldenrod);
602
darkGray = new SolidBrush(
Color
.DarkGray);
619
darkGreen = new SolidBrush(
Color
.DarkGreen);
636
darkKhaki = new SolidBrush(
Color
.DarkKhaki);
653
darkMagenta = new SolidBrush(
Color
.DarkMagenta);
670
darkOliveGreen = new SolidBrush(
Color
.DarkOliveGreen);
687
darkOrange = new SolidBrush(
Color
.DarkOrange);
704
darkOrchid = new SolidBrush(
Color
.DarkOrchid);
721
darkRed = new SolidBrush(
Color
.DarkRed);
738
darkSalmon = new SolidBrush(
Color
.DarkSalmon);
755
darkSeaGreen = new SolidBrush(
Color
.DarkSeaGreen);
772
darkSlateBlue = new SolidBrush(
Color
.DarkSlateBlue);
789
darkSlateGray = new SolidBrush(
Color
.DarkSlateGray);
806
darkTurquoise = new SolidBrush(
Color
.DarkTurquoise);
823
darkViolet = new SolidBrush(
Color
.DarkViolet);
840
deepPink = new SolidBrush(
Color
.DeepPink);
857
deepSkyBlue = new SolidBrush(
Color
.DeepSkyBlue);
874
dimGray = new SolidBrush(
Color
.DimGray);
891
dodgerBlue = new SolidBrush(
Color
.DodgerBlue);
908
firebrick = new SolidBrush(
Color
.Firebrick);
925
floralWhite = new SolidBrush(
Color
.FloralWhite);
942
forestGreen = new SolidBrush(
Color
.ForestGreen);
959
fuchia = new SolidBrush(
Color
.Fuchsia);
976
gainsboro = new SolidBrush(
Color
.Gainsboro);
993
ghostWhite = new SolidBrush(
Color
.GhostWhite);
1010
gold = new SolidBrush(
Color
.Gold);
1027
goldenrod = new SolidBrush(
Color
.Goldenrod);
1044
gray = new SolidBrush(
Color
.Gray);
1061
green = new SolidBrush(
Color
.Green);
1078
greenYellow = new SolidBrush(
Color
.GreenYellow);
1095
honeydew = new SolidBrush(
Color
.Honeydew);
1112
hotPink = new SolidBrush(
Color
.HotPink);
1129
indianRed = new SolidBrush(
Color
.IndianRed);
1146
indigo = new SolidBrush(
Color
.Indigo);
1163
ivory = new SolidBrush(
Color
.Ivory);
1180
khaki = new SolidBrush(
Color
.Khaki);
1197
lavender = new SolidBrush(
Color
.Lavender);
1214
lavenderBlush = new SolidBrush(
Color
.LavenderBlush);
1231
lawnGreen = new SolidBrush(
Color
.LawnGreen);
1248
lemonChiffon = new SolidBrush(
Color
.LemonChiffon);
1265
lightBlue = new SolidBrush(
Color
.LightBlue);
1282
lightCoral = new SolidBrush(
Color
.LightCoral);
1299
lightCyan = new SolidBrush(
Color
.LightCyan);
1316
lightGoldenrodYellow = new SolidBrush(
Color
.LightGoldenrodYellow);
1333
lightGreen = new SolidBrush(
Color
.LightGreen);
1350
lightGray = new SolidBrush(
Color
.LightGray);
1367
lightPink = new SolidBrush(
Color
.LightPink);
1384
lightSalmon = new SolidBrush(
Color
.LightSalmon);
1401
lightSeaGreen = new SolidBrush(
Color
.LightSeaGreen);
1418
lightSkyBlue = new SolidBrush(
Color
.LightSkyBlue);
1435
lightSlateGray = new SolidBrush(
Color
.LightSlateGray);
1452
lightSteelBlue = new SolidBrush(
Color
.LightSteelBlue);
1469
lightYellow = new SolidBrush(
Color
.LightYellow);
1486
lime = new SolidBrush(
Color
.Lime);
1503
limeGreen = new SolidBrush(
Color
.LimeGreen);
1520
linen = new SolidBrush(
Color
.Linen);
1537
magenta = new SolidBrush(
Color
.Magenta);
1554
maroon = new SolidBrush(
Color
.Maroon);
1571
mediumAquamarine = new SolidBrush(
Color
.MediumAquamarine);
1588
mediumBlue = new SolidBrush(
Color
.MediumBlue);
1605
mediumOrchid = new SolidBrush(
Color
.MediumOrchid);
1622
mediumPurple = new SolidBrush(
Color
.MediumPurple);
1639
mediumSeaGreen = new SolidBrush(
Color
.MediumSeaGreen);
1656
mediumSlateBlue = new SolidBrush(
Color
.MediumSlateBlue);
1673
mediumSpringGreen = new SolidBrush(
Color
.MediumSpringGreen);
1690
mediumTurquoise = new SolidBrush(
Color
.MediumTurquoise);
1707
mediumVioletRed = new SolidBrush(
Color
.MediumVioletRed);
1724
midnightBlue = new SolidBrush(
Color
.MidnightBlue);
1741
mintCream = new SolidBrush(
Color
.MintCream);
1758
mistyRose = new SolidBrush(
Color
.MistyRose);
1775
moccasin = new SolidBrush(
Color
.Moccasin);
1792
navajoWhite = new SolidBrush(
Color
.NavajoWhite);
1809
navy = new SolidBrush(
Color
.Navy);
1826
oldLace = new SolidBrush(
Color
.OldLace);
1843
olive = new SolidBrush(
Color
.Olive);
1860
oliveDrab = new SolidBrush(
Color
.OliveDrab);
1877
orange = new SolidBrush(
Color
.Orange);
1894
orangeRed = new SolidBrush(
Color
.OrangeRed);
1911
orchid = new SolidBrush(
Color
.Orchid);
1928
paleGoldenrod = new SolidBrush(
Color
.PaleGoldenrod);
1945
paleGreen = new SolidBrush(
Color
.PaleGreen);
1962
paleTurquoise = new SolidBrush(
Color
.PaleTurquoise);
1979
paleVioletRed = new SolidBrush(
Color
.PaleVioletRed);
1996
papayaWhip = new SolidBrush(
Color
.PapayaWhip);
2013
peachPuff = new SolidBrush(
Color
.PeachPuff);
2030
peru = new SolidBrush(
Color
.Peru);
2047
pink = new SolidBrush(
Color
.Pink);
2064
plum = new SolidBrush(
Color
.Plum);
2081
powderBlue = new SolidBrush(
Color
.PowderBlue);
2098
purple = new SolidBrush(
Color
.Purple);
2115
red = new SolidBrush(
Color
.Red);
2132
rosyBrown = new SolidBrush(
Color
.RosyBrown);
2149
royalBlue = new SolidBrush(
Color
.RoyalBlue);
2166
saddleBrown = new SolidBrush(
Color
.SaddleBrown);
2183
salmon = new SolidBrush(
Color
.Salmon);
2200
sandyBrown = new SolidBrush(
Color
.SandyBrown);
2217
seaGreen = new SolidBrush(
Color
.SeaGreen);
2234
seaShell = new SolidBrush(
Color
.SeaShell);
2251
sienna = new SolidBrush(
Color
.Sienna);
2268
silver = new SolidBrush(
Color
.Silver);
2285
skyBlue = new SolidBrush(
Color
.SkyBlue);
2302
slateBlue = new SolidBrush(
Color
.SlateBlue);
2319
slateGray = new SolidBrush(
Color
.SlateGray);
2336
snow = new SolidBrush(
Color
.Snow);
2353
springGreen = new SolidBrush(
Color
.SpringGreen);
2370
steelBlue = new SolidBrush(
Color
.SteelBlue);
2387
tan = new SolidBrush(
Color
.Tan);
2404
teal = new SolidBrush(
Color
.Teal);
2421
thistle = new SolidBrush(
Color
.Thistle);
2438
tomato = new SolidBrush(
Color
.Tomato);
2455
turquoise = new SolidBrush(
Color
.Turquoise);
2472
violet = new SolidBrush(
Color
.Violet);
2489
wheat = new SolidBrush(
Color
.Wheat);
2506
white = new SolidBrush(
Color
.White);
2523
whiteSmoke = new SolidBrush(
Color
.WhiteSmoke);
2540
yellow = new SolidBrush(
Color
.Yellow);
2557
yellowGreen = new SolidBrush(
Color
.YellowGreen);
commonui\System\Drawing\Color.cs (180)
38
public static readonly
Color
Empty = new Color();
47
public static
Color
Transparent {
56
public static
Color
AliceBlue {
65
public static
Color
AntiqueWhite {
74
public static
Color
Aqua {
83
public static
Color
Aquamarine {
92
public static
Color
Azure {
101
public static
Color
Beige {
110
public static
Color
Bisque {
119
public static
Color
Black {
128
public static
Color
BlanchedAlmond {
137
public static
Color
Blue {
146
public static
Color
BlueViolet {
155
public static
Color
Brown {
164
public static
Color
BurlyWood {
173
public static
Color
CadetBlue {
182
public static
Color
Chartreuse {
191
public static
Color
Chocolate {
200
public static
Color
Coral {
209
public static
Color
CornflowerBlue {
218
public static
Color
Cornsilk {
227
public static
Color
Crimson {
236
public static
Color
Cyan {
245
public static
Color
DarkBlue {
254
public static
Color
DarkCyan {
263
public static
Color
DarkGoldenrod {
272
public static
Color
DarkGray {
281
public static
Color
DarkGreen {
290
public static
Color
DarkKhaki {
299
public static
Color
DarkMagenta {
308
public static
Color
DarkOliveGreen {
317
public static
Color
DarkOrange {
326
public static
Color
DarkOrchid {
335
public static
Color
DarkRed {
344
public static
Color
DarkSalmon {
353
public static
Color
DarkSeaGreen {
362
public static
Color
DarkSlateBlue {
371
public static
Color
DarkSlateGray {
380
public static
Color
DarkTurquoise {
389
public static
Color
DarkViolet {
398
public static
Color
DeepPink {
407
public static
Color
DeepSkyBlue {
416
public static
Color
DimGray {
425
public static
Color
DodgerBlue {
434
public static
Color
Firebrick {
443
public static
Color
FloralWhite {
452
public static
Color
ForestGreen {
461
public static
Color
Fuchsia {
470
public static
Color
Gainsboro {
479
public static
Color
GhostWhite {
488
public static
Color
Gold {
497
public static
Color
Goldenrod {
506
public static
Color
Gray {
515
public static
Color
Green {
524
public static
Color
GreenYellow {
533
public static
Color
Honeydew {
542
public static
Color
HotPink {
551
public static
Color
IndianRed {
560
public static
Color
Indigo {
569
public static
Color
Ivory {
578
public static
Color
Khaki {
587
public static
Color
Lavender {
596
public static
Color
LavenderBlush {
605
public static
Color
LawnGreen {
614
public static
Color
LemonChiffon {
623
public static
Color
LightBlue {
632
public static
Color
LightCoral {
641
public static
Color
LightCyan {
650
public static
Color
LightGoldenrodYellow {
659
public static
Color
LightGreen {
668
public static
Color
LightGray {
677
public static
Color
LightPink {
686
public static
Color
LightSalmon {
695
public static
Color
LightSeaGreen {
704
public static
Color
LightSkyBlue {
713
public static
Color
LightSlateGray {
722
public static
Color
LightSteelBlue {
731
public static
Color
LightYellow {
740
public static
Color
Lime {
749
public static
Color
LimeGreen {
758
public static
Color
Linen {
767
public static
Color
Magenta {
776
public static
Color
Maroon {
785
public static
Color
MediumAquamarine {
794
public static
Color
MediumBlue {
803
public static
Color
MediumOrchid {
812
public static
Color
MediumPurple {
821
public static
Color
MediumSeaGreen {
830
public static
Color
MediumSlateBlue {
839
public static
Color
MediumSpringGreen {
848
public static
Color
MediumTurquoise {
857
public static
Color
MediumVioletRed {
866
public static
Color
MidnightBlue {
875
public static
Color
MintCream {
884
public static
Color
MistyRose {
893
public static
Color
Moccasin {
902
public static
Color
NavajoWhite {
911
public static
Color
Navy {
920
public static
Color
OldLace {
929
public static
Color
Olive {
938
public static
Color
OliveDrab {
947
public static
Color
Orange {
956
public static
Color
OrangeRed {
965
public static
Color
Orchid {
974
public static
Color
PaleGoldenrod {
983
public static
Color
PaleGreen {
992
public static
Color
PaleTurquoise {
1001
public static
Color
PaleVioletRed {
1010
public static
Color
PapayaWhip {
1019
public static
Color
PeachPuff {
1028
public static
Color
Peru {
1037
public static
Color
Pink {
1046
public static
Color
Plum {
1055
public static
Color
PowderBlue {
1064
public static
Color
Purple {
1073
public static
Color
Red {
1082
public static
Color
RosyBrown {
1091
public static
Color
RoyalBlue {
1100
public static
Color
SaddleBrown {
1109
public static
Color
Salmon {
1118
public static
Color
SandyBrown {
1127
public static
Color
SeaGreen {
1136
public static
Color
SeaShell {
1145
public static
Color
Sienna {
1154
public static
Color
Silver {
1163
public static
Color
SkyBlue {
1172
public static
Color
SlateBlue {
1181
public static
Color
SlateGray {
1190
public static
Color
Snow {
1199
public static
Color
SpringGreen {
1208
public static
Color
SteelBlue {
1217
public static
Color
Tan {
1226
public static
Color
Teal {
1235
public static
Color
Thistle {
1244
public static
Color
Tomato {
1253
public static
Color
Turquoise {
1262
public static
Color
Violet {
1271
public static
Color
Wheat {
1280
public static
Color
White {
1289
public static
Color
WhiteSmoke {
1298
public static
Color
Yellow {
1307
public static
Color
YellowGreen {
1373
/// Gets the red component value for this <see cref='System.Drawing.
Color
'/>.
1383
/// Gets the green component value for this <see cref='System.Drawing.
Color
'/>.
1394
/// Gets the blue component value for this <see cref='System.Drawing.
Color
'/>.
1406
/// Gets the alpha component value for this <see cref='System.Drawing.
Color
'/>.
1418
/// Specifies whether this <see cref='System.Drawing.
Color
'/> is a known (predefined) color.
1431
/// Specifies whether this <see cref='System.Drawing.
Color
'/> is uninitialized.
1441
/// Specifies whether this <see cref='System.Drawing.
Color
'/> has a name or is a <see cref='System.Drawing.KnownColor'/>.
1475
/// Gets the name of this <see cref='System.Drawing.
Color
'/> . This will either return the user
1544
public static
Color
FromArgb(int argb) {
1555
public static
Color
FromArgb(int alpha, int red, int green, int blue) {
1566
/// Creates a new <see cref='System.Drawing.
Color
'/> from the specified <see cref='System.Drawing.
Color
'/>, but with
1570
public static
Color
FromArgb(int alpha,
Color
baseColor) {
1579
/// Creates a <see cref='System.Drawing.
Color
'/> from the specified red, green, and
1583
public static
Color
FromArgb(int red, int green, int blue) {
1590
/// Creates a <see cref='System.Drawing.
Color
'/> from the specified <see cref='System.Drawing.KnownColor'/> .
1593
public static
Color
FromKnownColor(KnownColor color) {
1595
return
Color
.FromName(color.ToString());
1603
/// Creates a <see cref='System.Drawing.
Color
'/> with the specified name.
1606
public static
Color
FromName(string name) {
1610
return (
Color
)color;
1618
/// for this <see cref='System.Drawing.
Color
'/> .
1640
/// value, in degrees, for this <see cref='System.Drawing.
Color
'/> .
1684
/// <see cref='System.Drawing.
Color
'/>
1721
/// Returns the ARGB value of this <see cref='System.Drawing.
Color
'/> .
1741
/// Converts this <see cref='System.Drawing.
Color
'/> to a human-readable
1778
/// Tests whether two specified <see cref='System.Drawing.
Color
'/> objects
1782
public static bool operator ==(
Color
left,
Color
right) {
1804
/// Tests whether two specified <see cref='System.Drawing.
Color
'/> objects
1808
public static bool operator !=(
Color
left,
Color
right) {
1815
/// <see cref='System.Drawing.
Color
'/>
1816
/// and is equivalent to this <see cref='System.Drawing.
Color
'/>.
1819
if (obj is
Color
) {
1820
Color
right = (
Color
)obj;
commonui\System\Drawing\ColorConverter.cs (25)
54
FillConstants(tempHash, typeof(
Color
));
135
obj =
Color
.Empty;
161
obj =
Color
.FromName(colorName);
168
obj =
Color
.FromArgb(unchecked((int)(0xFF000000 | (uint)(int)intConverter.ConvertFromString(context, culture, text))));
190
obj =
Color
.FromArgb(values[0]);
194
obj =
Color
.FromArgb(values[0], values[1], values[2]);
198
obj =
Color
.FromArgb(values[0], values[1], values[2], values[3]);
210
int targetARGB = ((
Color
)obj).ToArgb();
212
foreach (
Color
c in Colors.Values) {
243
if( value is
Color
){
245
Color
c = (
Color
)value;
247
if (c ==
Color
.Empty) {
293
Color
c = (
Color
)value;
296
member = typeof(
Color
).GetField("Empty");
302
member = typeof(
Color
).GetProperty(c.Name);
305
member = typeof(
Color
).GetMethod("FromArgb", new Type[] {typeof(int), typeof(int), typeof(int), typeof(int)});
309
member = typeof(
Color
).GetMethod("FromName", new Type[] {typeof(string)});
313
member = typeof(
Color
).GetMethod("FromArgb", new Type[] {typeof(int), typeof(int), typeof(int)});
341
if (prop.PropertyType == typeof(
Color
)) {
414
Color
cLeft = (
Color
)left;
415
Color
cRight = (
Color
)right;
commonui\System\Drawing\Graphics.cs (4)
1121
public
Color
GetNearestColor(
Color
color) {
1130
return
Color
.FromArgb(nearest);
1976
public void Clear(
Color
color) {
commonui\System\Drawing\Icon.cs (2)
1096
Color
fakeTransparencyColor =
Color
.FromArgb(0x0d, 0x0b, 0x0c);
commonui\System\Drawing\KnownColorTable.cs (4)
33
public static
Color
ArgbToKnownColor(int targetARGB) {
38
Color
color =
Color
.FromKnownColor((KnownColor)index);
44
return
Color
.FromArgb(targetARGB);
commonui\System\Drawing\Pen.cs (9)
36
private
Color
color;
49
internal Pen(
Color
color, bool immutable) : this(color) {
62
public Pen(
Color
color) : this(color, (float)1.0) {
74
public Pen(
Color
color, float width) {
755
private void InternalSetColor(
Color
value) {
789
public
Color
Color {
791
if (color ==
Color
.Empty) {
798
this.color =
Color
.FromArgb(colorARGB);
811
Color
oldColor = this.color;
commonui\System\Drawing\Pens.cs (141)
178
transparent = new Pen(
Color
.Transparent, true);
195
aliceBlue = new Pen(
Color
.AliceBlue, true);
212
antiqueWhite = new Pen(
Color
.AntiqueWhite, true);
229
aqua = new Pen(
Color
.Aqua, true);
246
aquamarine = new Pen(
Color
.Aquamarine, true);
263
azure = new Pen(
Color
.Azure, true);
280
beige = new Pen(
Color
.Beige, true);
297
bisque = new Pen(
Color
.Bisque, true);
314
black = new Pen(
Color
.Black, true);
331
blanchedAlmond = new Pen(
Color
.BlanchedAlmond, true);
348
blue = new Pen(
Color
.Blue, true);
365
blueViolet = new Pen(
Color
.BlueViolet, true);
382
brown = new Pen(
Color
.Brown, true);
399
burlyWood = new Pen(
Color
.BurlyWood, true);
416
cadetBlue = new Pen(
Color
.CadetBlue, true);
433
chartreuse = new Pen(
Color
.Chartreuse, true);
450
chocolate = new Pen(
Color
.Chocolate, true);
467
choral = new Pen(
Color
.Coral, true);
484
cornflowerBlue = new Pen(
Color
.CornflowerBlue, true);
501
cornsilk = new Pen(
Color
.Cornsilk, true);
518
crimson = new Pen(
Color
.Crimson, true);
535
cyan = new Pen(
Color
.Cyan, true);
552
darkBlue = new Pen(
Color
.DarkBlue, true);
569
darkCyan = new Pen(
Color
.DarkCyan, true);
586
darkGoldenrod = new Pen(
Color
.DarkGoldenrod, true);
603
darkGray = new Pen(
Color
.DarkGray, true);
620
darkGreen = new Pen(
Color
.DarkGreen, true);
637
darkKhaki = new Pen(
Color
.DarkKhaki, true);
654
darkMagenta = new Pen(
Color
.DarkMagenta, true);
671
darkOliveGreen = new Pen(
Color
.DarkOliveGreen, true);
688
darkOrange = new Pen(
Color
.DarkOrange, true);
705
darkOrchid = new Pen(
Color
.DarkOrchid, true);
722
darkRed = new Pen(
Color
.DarkRed, true);
739
darkSalmon = new Pen(
Color
.DarkSalmon, true);
756
darkSeaGreen = new Pen(
Color
.DarkSeaGreen, true);
773
darkSlateBlue = new Pen(
Color
.DarkSlateBlue, true);
790
darkSlateGray = new Pen(
Color
.DarkSlateGray, true);
807
darkTurquoise = new Pen(
Color
.DarkTurquoise, true);
824
darkViolet = new Pen(
Color
.DarkViolet, true);
841
deepPink = new Pen(
Color
.DeepPink, true);
858
deepSkyBlue = new Pen(
Color
.DeepSkyBlue, true);
875
dimGray = new Pen(
Color
.DimGray, true);
892
dodgerBlue = new Pen(
Color
.DodgerBlue, true);
909
firebrick = new Pen(
Color
.Firebrick, true);
926
floralWhite = new Pen(
Color
.FloralWhite, true);
943
forestGreen = new Pen(
Color
.ForestGreen, true);
960
fuchia = new Pen(
Color
.Fuchsia, true);
977
gainsboro = new Pen(
Color
.Gainsboro, true);
994
ghostWhite = new Pen(
Color
.GhostWhite, true);
1011
gold = new Pen(
Color
.Gold, true);
1028
goldenrod = new Pen(
Color
.Goldenrod, true);
1045
gray = new Pen(
Color
.Gray, true);
1062
green = new Pen(
Color
.Green, true);
1079
greenYellow = new Pen(
Color
.GreenYellow, true);
1096
honeydew = new Pen(
Color
.Honeydew, true);
1113
hotPink = new Pen(
Color
.HotPink, true);
1130
indianRed = new Pen(
Color
.IndianRed, true);
1147
indigo = new Pen(
Color
.Indigo, true);
1164
ivory = new Pen(
Color
.Ivory, true);
1181
khaki = new Pen(
Color
.Khaki, true);
1198
lavender = new Pen(
Color
.Lavender, true);
1215
lavenderBlush = new Pen(
Color
.LavenderBlush, true);
1232
lawnGreen = new Pen(
Color
.LawnGreen, true);
1249
lemonChiffon = new Pen(
Color
.LemonChiffon, true);
1266
lightBlue = new Pen(
Color
.LightBlue, true);
1283
lightCoral = new Pen(
Color
.LightCoral, true);
1300
lightCyan = new Pen(
Color
.LightCyan, true);
1317
lightGoldenrodYellow = new Pen(
Color
.LightGoldenrodYellow, true);
1334
lightGreen = new Pen(
Color
.LightGreen, true);
1351
lightGray = new Pen(
Color
.LightGray, true);
1368
lightPink = new Pen(
Color
.LightPink, true);
1385
lightSalmon = new Pen(
Color
.LightSalmon, true);
1402
lightSeaGreen = new Pen(
Color
.LightSeaGreen, true);
1419
lightSkyBlue = new Pen(
Color
.LightSkyBlue, true);
1436
lightSlateGray = new Pen(
Color
.LightSlateGray, true);
1453
lightSteelBlue = new Pen(
Color
.LightSteelBlue, true);
1470
lightYellow = new Pen(
Color
.LightYellow, true);
1487
lime = new Pen(
Color
.Lime, true);
1504
limeGreen = new Pen(
Color
.LimeGreen, true);
1521
linen = new Pen(
Color
.Linen, true);
1538
magenta = new Pen(
Color
.Magenta, true);
1555
maroon = new Pen(
Color
.Maroon, true);
1572
mediumAquamarine = new Pen(
Color
.MediumAquamarine, true);
1589
mediumBlue = new Pen(
Color
.MediumBlue, true);
1606
mediumOrchid = new Pen(
Color
.MediumOrchid, true);
1623
mediumPurple = new Pen(
Color
.MediumPurple, true);
1640
mediumSeaGreen = new Pen(
Color
.MediumSeaGreen, true);
1657
mediumSlateBlue = new Pen(
Color
.MediumSlateBlue, true);
1674
mediumSpringGreen = new Pen(
Color
.MediumSpringGreen, true);
1691
mediumTurquoise = new Pen(
Color
.MediumTurquoise, true);
1708
mediumVioletRed = new Pen(
Color
.MediumVioletRed, true);
1725
midnightBlue = new Pen(
Color
.MidnightBlue, true);
1742
mintCream = new Pen(
Color
.MintCream, true);
1759
mistyRose = new Pen(
Color
.MistyRose, true);
1776
moccasin = new Pen(
Color
.Moccasin, true);
1793
navajoWhite = new Pen(
Color
.NavajoWhite, true);
1810
navy = new Pen(
Color
.Navy, true);
1827
oldLace = new Pen(
Color
.OldLace, true);
1844
olive = new Pen(
Color
.Olive, true);
1861
oliveDrab = new Pen(
Color
.OliveDrab, true);
1878
orange = new Pen(
Color
.Orange, true);
1895
orangeRed = new Pen(
Color
.OrangeRed, true);
1912
orchid = new Pen(
Color
.Orchid, true);
1929
paleGoldenrod = new Pen(
Color
.PaleGoldenrod, true);
1946
paleGreen = new Pen(
Color
.PaleGreen, true);
1963
paleTurquoise = new Pen(
Color
.PaleTurquoise, true);
1980
paleVioletRed = new Pen(
Color
.PaleVioletRed, true);
1997
papayaWhip = new Pen(
Color
.PapayaWhip, true);
2014
peachPuff = new Pen(
Color
.PeachPuff, true);
2031
peru = new Pen(
Color
.Peru, true);
2048
pink = new Pen(
Color
.Pink, true);
2065
plum = new Pen(
Color
.Plum, true);
2082
powderBlue = new Pen(
Color
.PowderBlue, true);
2099
purple = new Pen(
Color
.Purple, true);
2116
red = new Pen(
Color
.Red, true);
2133
rosyBrown = new Pen(
Color
.RosyBrown, true);
2150
royalBlue = new Pen(
Color
.RoyalBlue, true);
2167
saddleBrown = new Pen(
Color
.SaddleBrown, true);
2184
salmon = new Pen(
Color
.Salmon, true);
2201
sandyBrown = new Pen(
Color
.SandyBrown, true);
2218
seaGreen = new Pen(
Color
.SeaGreen, true);
2235
seaShell = new Pen(
Color
.SeaShell, true);
2252
sienna = new Pen(
Color
.Sienna, true);
2269
silver = new Pen(
Color
.Silver, true);
2286
skyBlue = new Pen(
Color
.SkyBlue, true);
2303
slateBlue = new Pen(
Color
.SlateBlue, true);
2320
slateGray = new Pen(
Color
.SlateGray, true);
2337
snow = new Pen(
Color
.Snow, true);
2354
springGreen = new Pen(
Color
.SpringGreen, true);
2371
steelBlue = new Pen(
Color
.SteelBlue, true);
2388
tan = new Pen(
Color
.Tan, true);
2405
teal = new Pen(
Color
.Teal, true);
2422
thistle = new Pen(
Color
.Thistle, true);
2439
tomato = new Pen(
Color
.Tomato, true);
2456
turquoise = new Pen(
Color
.Turquoise, true);
2473
violet = new Pen(
Color
.Violet, true);
2490
wheat = new Pen(
Color
.Wheat, true);
2507
white = new Pen(
Color
.White, true);
2524
whiteSmoke = new Pen(
Color
.WhiteSmoke, true);
2541
yellow = new Pen(
Color
.Yellow, true);
2558
yellowGreen = new Pen(
Color
.YellowGreen, true);
commonui\System\Drawing\SolidBrush.cs (9)
25
private
Color
color =
Color
.Empty;
40
public SolidBrush(
Color
color)
58
internal SolidBrush(
Color
color, bool immutable) : this(color) {
110
public
Color
Color {
113
if (this.color ==
Color
.Empty)
121
this.color =
Color
.FromArgb(colorARGB);
137
Color
oldColor = this.color;
151
private void InternalSetColor(
Color
value) {
commonui\System\Drawing\SystemBrushes.cs (1)
366
public static Brush FromSystemColor(
Color
c) {
commonui\System\Drawing\SystemColors.cs (33)
32
public static
Color
ActiveBorder {
42
public static
Color
ActiveCaption {
52
public static
Color
ActiveCaptionText {
64
public static
Color
AppWorkspace {
74
public static
Color
ButtonFace
86
public static
Color
ButtonHighlight
98
public static
Color
ButtonShadow
110
public static
Color
Control {
120
public static
Color
ControlDark {
130
public static
Color
ControlDarkDark {
140
public static
Color
ControlLight {
150
public static
Color
ControlLightLight {
160
public static
Color
ControlText {
170
public static
Color
Desktop {
181
public static
Color
GradientActiveCaption
194
public static
Color
GradientInactiveCaption
207
public static
Color
GrayText {
218
public static
Color
Highlight {
229
public static
Color
HighlightText {
239
public static
Color
HotTrack {
249
public static
Color
InactiveBorder {
259
public static
Color
InactiveCaption {
269
public static
Color
InactiveCaptionText {
279
public static
Color
Info {
289
public static
Color
InfoText {
299
public static
Color
Menu {
309
public static
Color
MenuBar {
320
public static
Color
MenuHighlight
332
public static
Color
MenuText {
343
public static
Color
ScrollBar {
353
public static
Color
Window {
363
public static
Color
WindowFrame {
373
public static
Color
WindowText {
commonui\System\Drawing\SystemPens.cs (1)
366
public static Pen FromSystemColor(
Color
c) {
commonui\System\Drawing\ToolboxBitmapAttribute.cs (3)
467
Color
bottomLeft = img.GetPixel(0, img.Height - 1);
470
Color
newBottomLeft =
Color
.FromArgb(0, bottomLeft);
System.Web (170)
ErrorFormatter.cs (2)
191
label.ForeColor =
Color
.Red;
199
label.ForeColor =
Color
.Maroon;
UI\ObjectStateFormatter.cs (6)
604
return
Color
.FromArgb(reader.ReadInt32());
606
return
Color
.Empty;
608
return
Color
.FromKnownColor((KnownColor)reader.ReadEncodedInt32());
1132
if (valueType == typeof(
Color
)) {
1133
Color
c = (
Color
)value;
UI\WebControls\BaseValidator.cs (6)
94
DefaultValue(typeof(
Color
), "Red")
96
public override
Color
ForeColor {
559
ForeColor =
Color
.Red;
770
Color
defaultForeColor = (RenderingCompatibility < VersionUtil.Framework40) ?
Color
.Red :
Color
.Empty;
UI\WebControls\Calendar.cs (13)
54
private static readonly
Color
DefaultForeColor =
Color
.Black;
55
private
Color
defaultForeColor;
850
if (titleStyle.BackColor !=
Color
.Empty) {
853
if (titleStyle.BorderColor !=
Color
.Empty) {
877
if (titleStyle.ForeColor !=
Color
.Empty) {
880
else if (ForeColor !=
Color
.Empty) {
937
private string GetCalendarButtonText(string eventArgument, string buttonText, string title, bool showLink,
Color
foreColor) {
1251
if (defaultForeColor ==
Color
.Empty) {
1319
Color
foreColor = style.ForeColor;
1674
titleCell.BackColor =
Color
.Silver;
1869
style.ForeColor =
Color
.White;
1870
style.BackColor =
Color
.Silver;
UI\WebControls\DataControlLinkButton.cs (2)
83
Color
hyperLinkForeColor;
93
if (hyperLinkForeColor !=
Color
.Empty) {
UI\WebControls\DataControlPagerLinkButton.cs (2)
40
Color
hyperLinkForeColor;
54
if (hyperLinkForeColor !=
Color
.Empty) {
UI\WebControls\DataGridLinkButton.cs (2)
36
Color
hyperLinkForeColor;
46
if (hyperLinkForeColor !=
Color
.Empty) {
UI\WebControls\DropDownList.cs (1)
42
public override
Color
BorderColor {
UI\WebControls\ErrorStyle.cs (2)
19
ForeColor =
Color
.Red;
72
GetType(), property, new DefaultValueAttribute(typeof(
Color
), "Red"));
UI\WebControls\ErrorTableItemStyle.cs (2)
17
ForeColor =
Color
.Red;
70
GetType(), property, new DefaultValueAttribute(typeof(
Color
), "Red"));
UI\WebControls\HyperLinkStyle.cs (1)
81
Color
c;
UI\WebControls\Listbox.cs (1)
42
public override
Color
BorderColor {
UI\WebControls\LoginUtil.cs (3)
453
if (control.BackColor !=
Color
.Empty) {
456
if (control.BorderColor !=
Color
.Empty) {
468
if (control.ForeColor !=
Color
.Empty) {
UI\WebControls\MenuItem.cs (1)
695
panel.BackColor =
Color
.Empty;
UI\WebControls\MenuItemStyle.cs (3)
165
Color
c;
169
c = (
Color
)viewState["BackColor"];
177
c = (
Color
)viewState["BorderColor"];
UI\WebControls\MenuRendererClassic.cs (2)
223
Menu.ForeColor =
Color
.Empty;
241
rootMenuStyle.ForeColor =
Color
.Empty;
UI\WebControls\MenuRendererStandards.cs (1)
87
menuStyle.ForeColor =
Color
.Empty;
UI\WebControls\Style.cs (25)
99
DefaultValue(typeof(
Color
), ""),
104
public
Color
BackColor {
107
return(
Color
)(ViewState["BackColor"]);
109
return
Color
.Empty;
125
DefaultValue(typeof(
Color
), ""),
130
public
Color
BorderColor {
133
return(
Color
)(ViewState["BorderColor"]);
135
return
Color
.Empty;
251
DefaultValue(typeof(
Color
), ""),
256
public
Color
ForeColor {
259
return(
Color
)(ViewState["ForeColor"]);
261
return
Color
.Empty;
474
if (s.IsSet(PROP_BACKCOLOR) && (s.BackColor !=
Color
.Empty)) {
478
if (s.IsSet(PROP_FORECOLOR) && (s.ForeColor !=
Color
.Empty)) {
482
if (s.IsSet(PROP_BORDERCOLOR) && (s.BorderColor !=
Color
.Empty)) {
504
if (s.IsSet(PROP_BACKCOLOR) && (s.BackColor !=
Color
.Empty))
506
if (s.IsSet(PROP_FORECOLOR) && (s.ForeColor !=
Color
.Empty))
508
if (s.IsSet(PROP_BORDERCOLOR) && (s.BorderColor !=
Color
.Empty))
526
Color
c;
530
c = (
Color
)viewState["ForeColor"];
538
c = (
Color
)viewState["BackColor"];
546
c = (
Color
)viewState["BorderColor"];
742
if (s.IsSet(PROP_BACKCOLOR) && (!this.IsSet(PROP_BACKCOLOR) || (BackColor ==
Color
.Empty)))
744
if (s.IsSet(PROP_FORECOLOR) && (!this.IsSet(PROP_FORECOLOR) || (ForeColor ==
Color
.Empty)))
746
if (s.IsSet(PROP_BORDERCOLOR) && (!this.IsSet(PROP_BORDERCOLOR) || (BorderColor ==
Color
.Empty)))
UI\WebControls\SubMenuStyle.cs (3)
121
Color
c;
125
c = (
Color
)viewState["BackColor"];
133
c = (
Color
)viewState["BorderColor"];
UI\WebControls\Table.cs (1)
233
Color
borderColor = BorderColor;
UI\WebControls\TreeNodeStyle.cs (3)
219
Color
c;
223
c = (
Color
)viewState["BackColor"];
231
c = (
Color
)viewState["BorderColor"];
UI\WebControls\ValidationSummary.cs (6)
129
DefaultValue(typeof(
Color
), "Red")
131
public override
Color
ForeColor {
310
ForeColor =
Color
.Red;
474
Color
defaultForeColor = (RenderingCompatibility < VersionUtil.Framework40) ?
Color
.Red :
Color
.Empty;
UI\WebControls\WebColorConverter.cs (34)
32
Color
c =
Color
.Empty;
45
return
Color
.LightGray;
54
return (
Color
)o;
73
Color
c = (
Color
)value;
75
if (c ==
Color
.Empty) {
137
t["activeborder"] =
Color
.FromKnownColor(KnownColor.ActiveBorder);
138
t["activecaption"] =
Color
.FromKnownColor(KnownColor.ActiveCaption);
139
t["appworkspace"] =
Color
.FromKnownColor(KnownColor.AppWorkspace);
140
t["background"] =
Color
.FromKnownColor(KnownColor.Desktop);
141
t["buttonface"] =
Color
.FromKnownColor(KnownColor.Control);
142
t["buttonhighlight"] =
Color
.FromKnownColor(KnownColor.ControlLightLight);
143
t["buttonshadow"] =
Color
.FromKnownColor(KnownColor.ControlDark);
144
t["buttontext"] =
Color
.FromKnownColor(KnownColor.ControlText);
145
t["captiontext"] =
Color
.FromKnownColor(KnownColor.ActiveCaptionText);
146
t["graytext"] =
Color
.FromKnownColor(KnownColor.GrayText);
147
t["highlight"] =
Color
.FromKnownColor(KnownColor.Highlight);
148
t["highlighttext"] =
Color
.FromKnownColor(KnownColor.HighlightText);
149
t["inactiveborder"] =
Color
.FromKnownColor(KnownColor.InactiveBorder);
150
t["inactivecaption"] =
Color
.FromKnownColor(KnownColor.InactiveCaption);
151
t["inactivecaptiontext"] =
Color
.FromKnownColor(KnownColor.InactiveCaptionText);
152
t["infobackground"] =
Color
.FromKnownColor(KnownColor.Info);
153
t["infotext"] =
Color
.FromKnownColor(KnownColor.InfoText);
154
t["menu"] =
Color
.FromKnownColor(KnownColor.Menu);
155
t["menutext"] =
Color
.FromKnownColor(KnownColor.MenuText);
156
t["scrollbar"] =
Color
.FromKnownColor(KnownColor.ScrollBar);
157
t["threeddarkshadow"] =
Color
.FromKnownColor(KnownColor.ControlDarkDark);
158
t["threedface"] =
Color
.FromKnownColor(KnownColor.Control);
159
t["threedhighlight"] =
Color
.FromKnownColor(KnownColor.ControlLight);
160
t["threedlightshadow"] =
Color
.FromKnownColor(KnownColor.ControlLightLight);
161
t["window"] =
Color
.FromKnownColor(KnownColor.Window);
162
t["windowframe"] =
Color
.FromKnownColor(KnownColor.WindowFrame);
163
t["windowtext"] =
Color
.FromKnownColor(KnownColor.WindowText);
UI\WebControls\WebControl.cs (9)
142
DefaultValue(typeof(
Color
), ""),
146
public virtual
Color
BackColor {
149
return
Color
.Empty;
164
DefaultValue(typeof(
Color
), ""),
168
public virtual
Color
BorderColor {
171
return
Color
.Empty;
379
DefaultValue(typeof(
Color
), ""),
383
public virtual
Color
ForeColor {
386
return
Color
.Empty;
UI\WebParts\CatalogPartChrome.cs (4)
60
if (style.BorderColor ==
Color
.Empty) {
61
style.BorderColor =
Color
.Black;
79
if (style.BorderColor !=
Color
.Empty) {
80
style.BorderColor =
Color
.Empty;
UI\WebParts\DeclarativeCatalogPart.cs (3)
174
public override
Color
BackColor {
186
public override
Color
BorderColor {
239
public override
Color
ForeColor {
UI\WebParts\EditorPartChrome.cs (2)
68
if (style.BorderColor !=
Color
.Empty) {
69
style.BorderColor =
Color
.Empty;
UI\WebParts\PageCatalogPart.cs (3)
159
public override
Color
BackColor {
171
public override
Color
BorderColor {
224
public override
Color
ForeColor {
UI\WebParts\WebPartChrome.cs (7)
105
if (style.BorderColor !=
Color
.Empty) {
106
style.BorderColor =
Color
.Empty;
120
if (style.BorderColor ==
Color
.Empty) {
121
style.BorderColor =
Color
.Black;
128
if (partTitleStyle.ForeColor !=
Color
.Empty) {
143
if (style.ForeColor !=
Color
.Empty) {
144
style.ForeColor =
Color
.Empty;
UI\WebParts\WebPartManager.cs (2)
2443
return typeof(
Color
);
2484
else if (type == typeof(
Color
)) {
UI\WebParts\WebPartMenu.cs (1)
60
Color
foreColor = labelHoverStyle.ForeColor;
UI\WebParts\WebPartMenuStyle.cs (5)
36
DefaultValue(typeof(
Color
), ""),
40
public
Color
ShadowColor {
43
return (
Color
)(ViewState["ShadowColor"]);
45
return
Color
.Empty;
72
Color
shadowColor = ShadowColor;
UI\WebParts\WebPartZoneBase.cs (12)
96
private
Color
_borderColor;
123
DefaultValue(typeof(
Color
), "Gray"),
125
public override
Color
BorderColor {
128
return
Color
.Gray;
273
DefaultValue(typeof(
Color
), "Blue"),
278
public virtual
Color
DragHighlightColor {
282
Color
c = (
Color
)o;
287
return
Color
.Blue;
853
style.BorderColor =
Color
.Gray;
1183
BorderColor =
Color
.Empty;
1201
if (_borderColor !=
Color
.Empty || _borderStyle != BorderStyle.NotSet || _borderWidth != Unit.Empty) {
System.Web.DataVisualization (1523)
Common\Annotation\AnnotationBase.cs (37)
192
private
Color
_foreColor =
Color
.Black;
196
internal
Color
lineColor =
Color
.Black;
199
private
Color
_backColor =
Color
.Empty;
202
private
Color
_backSecondaryColor =
Color
.Empty;
203
private
Color
_shadowColor =
Color
.FromArgb(128, 0, 0, 0);
889
/// A <see cref="
Color
"/> value used for the text color of an annotation.
893
DefaultValue(typeof(
Color
), "Black"),
898
virtual public
Color
ForeColor
968
/// A <see cref="
Color
"/> value used to draw an annotation line.
972
DefaultValue(typeof(
Color
), "Black"),
977
virtual public
Color
LineColor
1053
/// A <see cref="
Color
"/> value used for the background of an annotation.
1057
DefaultValue(typeof(
Color
), ""),
1063
virtual public
Color
BackColor
1146
/// A <see cref="
Color
"/> value used for the secondary color of an annotation background with
1155
DefaultValue(typeof(
Color
), ""),
1161
virtual public
Color
BackSecondaryColor
1179
/// A <see cref="
Color
"/> value used to draw an annotation's shadow.
1183
DefaultValue(typeof(
Color
), "128,0,0,0"),
1188
virtual public
Color
ShadowColor
2040
Color
markerBorderColor =
Color
.Black;
2041
Color
markerColor =
Color
.FromArgb(200, 255, 255, 255);
2084
Color
.Empty,
2086
Color
.FromArgb(128, 0, 0, 0),
2097
Color
.Empty,
2099
Color
.FromArgb(128, 0, 0, 0),
2152
Color
.Empty,
2154
Color
.FromArgb(128, 0, 0, 0),
2244
Color
.Empty,
2246
Color
.FromArgb(128, 0, 0, 0),
Common\Annotation\ArrowAnnotation.cs (2)
337
(this.BackColor.IsEmpty) ?
Color
.White : this.BackColor,
341
Color
.Empty,
Common\Annotation\CalloutAnnotation.cs (24)
233
/// A <see cref="
Color
"/> value used to draw an annotation line.
238
DefaultValue(typeof(
Color
), "Black"),
243
override public
Color
LineColor
315
/// A <see cref="
Color
"/> value used for the background of an annotation.
320
DefaultValue(typeof(
Color
), ""),
326
override public
Color
BackColor
409
/// A <see cref="
Color
"/> value used for the secondary color of an annotation background with
419
DefaultValue(typeof(
Color
), ""),
425
override public
Color
BackSecondaryColor
884
Color
.Empty,
1048
Color
.Empty,
1071
Color
.Empty,
1201
Color
.Empty,
1232
Color
.Empty,
1253
Color
.Empty,
1289
Color
.Empty,
1313
Color
[] perspectivePathColors = new
Color
[2];
1314
Color
color = (this.BackColor.IsEmpty) ?
Color
.White : this.BackColor;
1408
Color
.Empty,
1455
Color
.Empty,
1576
linePath.Widen(new Pen(
Color
.Black, this.LineWidth + 2));
1630
linePath.Widen(new Pen(
Color
.Black, this.LineWidth + 2));
Common\Annotation\GroupAnnotation.cs (15)
302
/// A <see cref="
Color
"/> value used for the text color of an annotation.
306
DefaultValue(typeof(
Color
), "Black"),
312
override public
Color
ForeColor
363
/// A <see cref="
Color
"/> value used to draw an annotation line.
367
DefaultValue(typeof(
Color
), "Black"),
373
override public
Color
LineColor
456
/// A <see cref="
Color
"/> value used for the background of an annotation.
460
DefaultValue(typeof(
Color
), ""),
467
override public
Color
BackColor
562
/// A <see cref="
Color
"/> value used for the secondary color of an annotation background with
571
DefaultValue(typeof(
Color
), ""),
578
override public
Color
BackSecondaryColor
599
/// A <see cref="
Color
"/> value used to draw an annotation's shadow.
603
DefaultValue(typeof(
Color
), "128,0,0,0"),
609
override public
Color
ShadowColor
Common\Annotation\ImageAnnotation.cs (17)
79
private
Color
_imageTransparentColor =
Color
.Empty;
160
/// A <see cref="
Color
"/> value which will be replaced with a transparent color while drawing the image.
165
DefaultValue(typeof(
Color
), ""),
170
public
Color
ImageTransparentColor
302
/// A <see cref="
Color
"/> value.
307
DefaultValue(typeof(
Color
), "Black"),
311
override public
Color
ForeColor
352
DefaultValue(typeof(
Color
), ""),
357
override public
Color
BackColor
419
DefaultValue(typeof(
Color
), ""),
424
override public
Color
BackSecondaryColor
442
DefaultValue(typeof(
Color
), "Black"),
446
override public
Color
LineColor
597
Color
.Transparent,
604
Color
.Transparent,
605
Color
.Transparent,
Common\Annotation\LineAnnotation.cs (7)
225
/// A <see cref="
Color
"/> value.
230
DefaultValue(typeof(
Color
), "Black"),
235
override public
Color
ForeColor
277
DefaultValue(typeof(
Color
), ""),
282
override public
Color
BackColor
347
DefaultValue(typeof(
Color
), ""),
352
override public
Color
BackSecondaryColor
Common\Annotation\PolygonAnnotation.cs (17)
224
/// A <see cref="
Color
"/> value.
229
DefaultValue(typeof(
Color
), "Black"),
234
override public
Color
ForeColor
276
DefaultValue(typeof(
Color
), ""),
281
override public
Color
BackColor
343
DefaultValue(typeof(
Color
), ""),
348
override public
Color
BackSecondaryColor
700
Color
.Empty,
716
Color
.Transparent,
720
Color
.Empty,
723
Color
.Empty,
1268
/// A <see cref="
Color
"/> value used for the background of an annotation.
1273
DefaultValue(typeof(
Color
), ""),
1279
override public
Color
BackColor
1362
/// A <see cref="
Color
"/> value used for the secondary color of an annotation background with
1372
DefaultValue(typeof(
Color
), ""),
1378
override public
Color
BackSecondaryColor
Common\Annotation\RectangleAnnotation.cs (13)
104
/// A <see cref="
Color
"/> value used to draw an annotation line.
109
DefaultValue(typeof(
Color
), "Black"),
114
override public
Color
LineColor
186
/// A <see cref="
Color
"/> value used for the background of an annotation.
191
DefaultValue(typeof(
Color
), ""),
197
override public
Color
BackColor
280
/// A <see cref="
Color
"/> value used for the secondary color of an annotation background with
290
DefaultValue(typeof(
Color
), ""),
296
override public
Color
BackSecondaryColor
426
Color
.Empty,
541
this._borderSkin.PageColor =
Color
.Transparent;
545
this.lineColor =
Color
.Empty;
669
Color
.Empty,
Common\Annotation\TextAnnotation.cs (13)
195
DefaultValue(typeof(
Color
), "Black"),
199
override public
Color
LineColor
259
DefaultValue(typeof(
Color
), ""),
264
override public
Color
BackColor
326
DefaultValue(typeof(
Color
), ""),
331
override public
Color
BackSecondaryColor
612
Color
textShadowColor = ChartGraphics.GetGradientColor(this.ForeColor,
Color
.Black, 0.8);
625
textShadowColor = (textShadowColor.A != 255) ? textShadowColor :
Color
.FromArgb(textShadowColor.A / 2, textShadowColor);
1139
DefaultValue(typeof(
Color
), "Black"),
1144
override public
Color
CalloutLineColor
1194
DefaultValue(typeof(
Color
), "Transparent"),
1199
override public
Color
CalloutBackColor
Common\Borders3D\Borders3D.cs (24)
163
private
Color
_pageColor =
Color
.White;
166
private
Color
_backSecondaryColor =
Color
.Empty;
167
private
Color
_backColor =
Color
.Gray;
170
private
Color
_backImageTransparentColor =
Color
.Empty;
172
private
Color
_borderColor =
Color
.Black;
207
DefaultValue(typeof(
Color
), "White"),
215
public
Color
PageColor
264
DefaultValue(typeof(
Color
), "Gray"),
272
public
Color
BackColor
293
DefaultValue(typeof(
Color
), "Black"),
301
public
Color
BorderColor
406
DefaultValue(typeof(
Color
), ""),
414
public
Color
BackImageTransparentColor
497
DefaultValue(typeof(
Color
), ""),
505
public
Color
BackSecondaryColor
756
Color
backColor,
760
Color
backImageTransparentColor,
763
Color
backSecondaryColor,
764
Color
borderColor,
Common\Borders3D\EmbedBorder.cs (27)
648
Color
backColor,
652
Color
backImageTransparentColor,
655
Color
backSecondaryColor,
656
Color
borderColor,
696
Color
oldPageColor = borderSkin.PageColor;
697
borderSkin.PageColor =
Color
.Transparent;
905
Color
backColor,
909
Color
backImageTransparentColor,
912
Color
backSecondaryColor,
913
Color
borderColor,
922
Color
shadowColor =
Color
.FromArgb(
928
Color
shadowLightColor =
Color
.FromArgb(
932
if(borderSkin.PageColor ==
Color
.Transparent)
934
shadowLightColor =
Color
.FromArgb(60, 0, 0, 0);
958
graph.DrawRoundedRectShadowAbs(shadowRect, cornerRadius, radius,
Color
.FromArgb(128,
Color
.Black), borderSkin.PageColor, outsideShadowRate);
1047
Color
.Transparent,
1048
Color
.FromArgb(175, (sunken) ?
Color
.White : shadowColor),
1077
Color
.Transparent,
1078
Color
.FromArgb(175, (sunken) ? shadowColor :
Color
.White),
1092
Pen screwPen = new Pen(
Color
.FromArgb(128,255,255,255), 1);
1095
screwPen = new Pen(
Color
.FromArgb(128,
Color
.Black), 1);
Common\Borders3D\EmbossBorder.cs (13)
160
Color
backColor,
164
Color
backImageTransparentColor,
167
Color
backSecondaryColor,
168
Color
borderColor,
177
Color
shadowColor =
Color
.FromArgb(
181
if(borderSkin.PageColor ==
Color
.Transparent)
183
shadowColor =
Color
.FromArgb(60, 0, 0, 0);
187
Color
shadowLightColor =
Color
.FromArgb(
260
Color
.Transparent,
261
Color
.FromArgb(128,
Color
.Gray),
Common\ChartTypes\AreaChart.cs (25)
311
Color
pointColor = point.Color;
312
Color
pointBorderColor = point.BorderColor;
351
if (series.ShadowColor !=
Color
.Empty && series.ShadowOffset != 0)
353
if (pointColor !=
Color
.Empty && pointColor !=
Color
.Transparent)
356
using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor :
Color
.FromArgb(pointColor.A / 2, series.ShadowColor)))
465
if (pointBorderWidth > 0 && pointBorderColor !=
Color
.Empty)
467
Pen pen = new Pen((pointBorderColor !=
Color
.Empty) ? pointBorderColor : pointColor, pointBorderWidth);
535
if (pointBorderWidth > 1 && pointBorderDashStyle != ChartDashStyle.NotSet && pointBorderColor !=
Color
.Empty)
959
Color
color = (useBorderColor) ? pointAttr.dataPoint.BorderColor : pointAttr.dataPoint.Color;
961
if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color ==
Color
.Empty)
963
color =
Color
.Gray;
1229
Color
surfaceColor = color;
1230
Color
surfaceBorderColor = pointAttr.dataPoint.BorderColor;
1240
surfaceColor =
Color
.Transparent;
1241
if(surfaceBorderColor ==
Color
.Empty)
1244
surfaceBorderColor = ChartGraphics.GetGradientColor( color,
Color
.Black, 0.2 );
1270
Color
topColor = (topDarkening == 0f) ? surfaceColor : ChartGraphics.GetGradientColor(surfaceColor,
Color
.Black, topDarkening);
1271
Color
topBorderColor = (topDarkening == 0f) ? surfaceBorderColor : ChartGraphics.GetGradientColor(surfaceBorderColor,
Color
.Black, topDarkening);
1296
Color
bottomColor = (bottomDarkening == 0f) ? surfaceColor : ChartGraphics.GetGradientColor(surfaceColor,
Color
.Black, topDarkening);
1297
Color
bottomBorderColor = (bottomDarkening == 0f) ? surfaceBorderColor : ChartGraphics.GetGradientColor(surfaceBorderColor,
Color
.Black, topDarkening);
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 (22)
405
Color
lineColor = point.BorderColor;
406
if(lineColor ==
Color
.Empty)
483
if(point.BorderColor ==
Color
.Empty)
488
Color
markerLinesColor = lineColor;
494
markerLinesColor = ChartGraphics.GetGradientColor(point.Color,
Color
.Black, 0.4);
498
markerLinesColor = ChartGraphics.GetGradientColor(point.Color,
Color
.White, 0.4);
509
Color
.Empty,
554
Color
.Empty,
771
Color
lineColor = point.BorderColor;
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,
1193
Color
lineColor = point.BorderColor;
1194
if(lineColor ==
Color
.Empty)
1268
Color
markerLinesColor = lineColor;
1274
markerLinesColor = ChartGraphics.GetGradientColor(point.Color,
Color
.Black, 0.4);
1278
markerLinesColor = ChartGraphics.GetGradientColor(point.Color,
Color
.White, 0.4);
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 (4)
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 (41)
664
Color
lightColor = ChartGraphics.GetGradientColor( point.Color,
Color
.White, 0.3 );
665
Color
darkColor = ChartGraphics.GetGradientColor( point.Color,
Color
.Black, 0.3 );
728
(drawSegment) ? lightColor :
Color
.Transparent,
735
(drawSegment) ? point.BackSecondaryColor :
Color
.Transparent,
736
(drawSegment) ? point.BorderColor :
Color
.Transparent,
792
(drawSegment) ? darkColor :
Color
.Transparent,
799
(drawSegment) ? point.BackSecondaryColor :
Color
.Transparent,
800
(drawSegment) ? point.BorderColor :
Color
.Transparent,
841
(drawSegment) ? ChartGraphics.GetGradientColor( point.Color,
Color
.Black, 0.4 ) :
Color
.Transparent,
848
(drawSegment) ? point.BackSecondaryColor :
Color
.Transparent,
849
(drawSegment) ? point.BorderColor :
Color
.Transparent,
891
(drawSegment) ? ChartGraphics.GetGradientColor( point.Color,
Color
.Black, 0.4 ) :
Color
.Transparent,
898
(drawSegment) ? point.BackSecondaryColor :
Color
.Transparent,
899
(drawSegment) ? point.BorderColor :
Color
.Transparent,
1155
Color
lightColor = ChartGraphics.GetGradientColor( point.Color,
Color
.White, 0.3 );
1156
Color
darkColor = ChartGraphics.GetGradientColor( point.Color,
Color
.Black, 0.3 );
1198
point.BorderColor ==
Color
.Empty)
1201
pen = new Pen(ChartGraphics.GetGradientColor( point.Color,
Color
.Black, 0.3 ), 1);
1217
(drawSegment) ? point.Color :
Color
.Transparent,
1224
(drawSegment) ? point.BackSecondaryColor :
Color
.Transparent,
1225
(drawSegment) ? point.BorderColor :
Color
.Transparent,
1266
(drawSegment) ? ChartGraphics.GetGradientColor( point.Color,
Color
.Black, 0.4 ) :
Color
.Transparent,
1273
(drawSegment) ? point.BackSecondaryColor :
Color
.Transparent,
1274
(drawSegment) ? point.BorderColor :
Color
.Transparent,
1315
(drawSegment) ? ChartGraphics.GetGradientColor( point.Color,
Color
.Black, 0.4 ) :
Color
.Transparent,
1322
(drawSegment) ? point.BackSecondaryColor :
Color
.Transparent,
1323
(drawSegment) ? point.BorderColor :
Color
.Transparent,
1549
Color
lineColor = GetCalloutLineColor(labelInfo.Point);
2329
private
Color
GetCalloutLineColor(DataPointCustomProperties properties)
2332
Color
color =
Color
.Black;
2343
color = (
Color
)colorConverter.ConvertFromInvariantString(attrValue);
2359
color = (
Color
)colorConverter.ConvertFromString(attrValue);
Common\ChartTypes\KagiChart.cs (10)
92
internal
Color
kagiUpColor =
Color
.Empty;
476
this.kagiUpColor = ChartGraphics.GetGradientColor(series.Color,
Color
.Black, 0.5);
483
this.kagiUpColor = (
Color
)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, priceUpColorString);
497
Color
lineColor = (currentKagiDirection == 1) ? this.kagiUpColor : point.Color;
744
Color
color = (useBorderColor) ? pointAttr.dataPoint.BorderColor : pointAttr.dataPoint.Color;
746
if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color ==
Color
.Empty)
748
color =
Color
.Gray;
766
this.kagiUpColor = (
Color
)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, priceUpColorString);
780
Color
lineColor = (currentKagiDirection == 1) ? this.kagiUpColor : color;
Common\ChartTypes\LineChart.cs (11)
168
private Pen _linePen = new Pen(
Color
.Black);
748
Color
color = (useBorderColor) ? point.BorderColor : point.Color;
752
if(!disableShadow && series.ShadowOffset != 0 && series.ShadowColor !=
Color
.Empty)
754
if(color !=
Color
.Empty && color !=
Color
.Transparent && pointBorderWidth > 0 && dashStyle != ChartDashStyle.NotSet)
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);
808
if(color !=
Color
.Empty && pointBorderWidth > 0 && dashStyle != ChartDashStyle.NotSet)
1377
if(pointAttr.dataPoint.Color !=
Color
.Empty)
1531
Color
color = (useBorderColor) ? pointAttr.dataPoint.BorderColor : pointAttr.dataPoint.Color;
1533
if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color ==
Color
.Empty)
1535
color =
Color
.Gray;
Common\ChartTypes\PieChart.cs (31)
431
collectedPoint.Color = (
Color
)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, series[CustomPropertyName.CollectedColor]);
837
Color
pieLineColor =
Color
.Empty;
846
pieLineColor = (
Color
)colorConverter.ConvertFromString(
861
pieLineColor = (
Color
)colorConverter.ConvertFromInvariantString(
902
Color
shcolor = new Color();
903
Color
shGradientColor = new Color();
904
Color
shBorderColor = new Color();
908
shcolor =
Color
.FromArgb( point.Color.A/2, point.series.ShadowColor );
916
shGradientColor =
Color
.FromArgb( point.BackSecondaryColor.A/2, point.series.ShadowColor );
921
shGradientColor =
Color
.Empty;
927
shBorderColor =
Color
.FromArgb( point.BorderColor.A/2, point.series.ShadowColor );
932
shBorderColor =
Color
.Empty;
1074
public void DrawLabels( ChartGraphics graph, PointF middlePoint, SizeF relativeSize, float startAngle, float sweepAngle, DataPoint point, float doughnutRadius, bool exploded, ChartArea area, bool overlapTest, int pointIndex,
Color
pieLineColor )
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 )
2697
penColor = ChartGraphics.GetGradientColor( point.Color,
Color
.Black, 0.5 );
2699
else if( point.BorderColor ==
Color
.Empty )
2708
if( point.BorderColor !=
Color
.Empty || area.Area3DStyle.LightStyle == LightStyle.None )
2718
if( point.BorderColor ==
Color
.Empty )
2969
Color
pieLineColor = pen.Color;
2979
pieLineColor = (
Color
)colorConverter.ConvertFromString(point[CustomPropertyName.PieLineColor]);
2983
pieLineColor = (
Color
)colorConverter.ConvertFromString(point.series[CustomPropertyName.PieLineColor]);
2999
pieLineColor = (
Color
)colorConverter.ConvertFromInvariantString(point[CustomPropertyName.PieLineColor]);
3003
pieLineColor = (
Color
)colorConverter.ConvertFromInvariantString(point.series[CustomPropertyName.PieLineColor]);
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\PointAndFigureChart.cs (3)
530
Color
upPriceColor = ChartGraphics.GetGradientColor(series.Color,
Color
.Black, 0.5);
537
upPriceColor = (
Color
)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, upPriceColorString);
Common\ChartTypes\PointChart.cs (10)
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,
580
Color
markerColor,
581
Color
markerBorderColor,
584
Color
markerImageTransparentColor,
586
Color
shadowColor,
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 (19)
435
Color
areaColor = pointAttributes.Color;
436
Color
borderColor = pointAttributes.BorderColor;
457
areaColor =
Color
.Transparent;
462
areaColor =
Color
.Transparent;
476
if (areaColor !=
Color
.Transparent && areaColor !=
Color
.Empty && ser.ShadowOffset != 0)
534
Color
areaColor = pointAttributes.Color;
535
Color
borderColor = pointAttributes.BorderColor;
556
areaColor =
Color
.Transparent;
561
areaColor =
Color
.Transparent;
596
if (areaColor !=
Color
.Transparent && areaColor !=
Color
.Empty)
642
if (borderColor !=
Color
.Empty && borderWidth > 0 && borderDashStyle != ChartDashStyle.NotSet)
658
(areaColor ==
Color
.Transparent || areaColor ==
Color
.Empty) ? ser.ShadowOffset : 0);
707
Color
markerColor = point.MarkerColor;
767
(point.series != null) ? point.series.ShadowColor :
Color
.Empty,
909
linePath.Widen(new Pen(
Color
.Black, borderWidth + 2));
1554
Color
markerColor = point.MarkerColor;
Common\ChartTypes\RangeChart.cs (19)
508
if(series.ShadowColor !=
Color
.Empty && series.ShadowOffset != 0)
510
if(point.Color !=
Color
.Empty && point.Color !=
Color
.Transparent)
519
using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor :
Color
.FromArgb(point.Color.A / 2, series.ShadowColor)))
649
point.BorderColor !=
Color
.Empty) ||
940
Color
color = (useBorderColor) ? pointAttr.dataPoint.BorderColor : pointAttr.dataPoint.Color;
942
if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color ==
Color
.Empty)
944
color =
Color
.Gray;
1245
Color
surfaceColor = color;
1246
Color
surfaceBorderColor = pointAttr.dataPoint.BorderColor;
1256
surfaceColor =
Color
.Transparent;
1257
if(surfaceBorderColor ==
Color
.Empty)
1260
surfaceBorderColor = ChartGraphics.GetGradientColor( color,
Color
.Black, 0.2 );
1644
Color
backColor,
1645
Color
borderColor,
1711
Color
polygonColor = area.matrix3D.GetPolygonLight(points3D, backColor, topIsVisible, area.Area3DStyle.Rotation, SurfaceNames.Front, area.ReverseSeriesOrder);
1712
Color
surfaceBorderColor = borderColor;
1713
if(surfaceBorderColor ==
Color
.Empty)
1716
surfaceBorderColor = ChartGraphics.GetGradientColor( backColor,
Color
.Black, 0.2 );
Common\ChartTypes\RenkoChart.cs (7)
443
Color
upBrickColor =
Color
.Transparent;
454
upBrickColor = (
Color
)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, upBrickColorString);
501
if( (newDataPoint.BorderColor ==
Color
.Empty || newDataPoint.BorderColor ==
Color
.Transparent) &&
502
(newDataPoint.Color ==
Color
.Empty || newDataPoint.Color ==
Color
.Transparent) )
Common\ChartTypes\StackedAreaChart.cs (3)
625
else if (point.IsEmpty && point.Color ==
Color
.Empty)
637
if ((point.BorderColor !=
Color
.Empty && point.BorderWidth > 0))
716
if (point.BorderWidth > 1 && point.BorderDashStyle != ChartDashStyle.NotSet && point.BorderColor !=
Color
.Empty)
Common\ChartTypes\StackedBarChart.cs (2)
895
(!shadow)? point.Color :
Color
.Transparent,
902
(!shadow)? point.BackSecondaryColor :
Color
.Transparent,
Common\ChartTypes\StackedColumnChart.cs (2)
913
(!shadow)? point.Color :
Color
.Transparent,
920
(!shadow)? point.BackSecondaryColor :
Color
.Transparent,
Common\ChartTypes\StepLineChart.cs (3)
282
Color
color = (useBorderColor) ? pointAttr.dataPoint.BorderColor : pointAttr.dataPoint.Color;
284
if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color ==
Color
.Empty)
286
color =
Color
.Gray;
Common\ChartTypes\StockChart.cs (26)
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,
746
Color
priceUpColor = point.Color;
747
Color
priceDownColor = point.BackSecondaryColor;
756
priceUpColor = (
Color
)colorConverter.ConvertFromString(attrValue);
769
priceUpColor = (
Color
)colorConverter.ConvertFromInvariantString(attrValue);
779
priceDownColor = (
Color
)colorConverter.ConvertFromString(attrValue);
792
priceDownColor = (
Color
)colorConverter.ConvertFromInvariantString(attrValue);
804
Color
barColor = (open > close) ? priceUpColor : priceDownColor;
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,
1571
Color
priceUpColor = point.Color;
1572
Color
priceDownColor = point.BackSecondaryColor;
1581
priceUpColor = (
Color
)colorConverter.ConvertFromString(attrValue);
1594
priceUpColor = (
Color
)colorConverter.ConvertFromInvariantString(attrValue);
1604
priceDownColor = (
Color
)colorConverter.ConvertFromString(attrValue);
1617
priceDownColor = (
Color
)colorConverter.ConvertFromInvariantString(attrValue);
1629
Color
barColor = (open > close) ? priceUpColor : priceDownColor;
1630
Color
barBorderColor = (point.BorderColor ==
Color
.Empty) ? (barColor ==
Color
.Empty) ? point.Color : barColor : point.BorderColor;
Common\ChartTypes\ThreeLineBreakChart.cs (7)
361
Color
priceUpColor =
Color
.Transparent;
372
priceUpColor = (
Color
)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, priceUpColorString);
479
if( (newDataPoint.BorderColor ==
Color
.Empty || newDataPoint.BorderColor ==
Color
.Transparent) &&
480
(newDataPoint.Color ==
Color
.Empty || newDataPoint.Color ==
Color
.Transparent) )
Common\Converters\CustomAttributesConverters.cs (3)
666
else if(this._customAttributeInfo.ValueType == typeof(
Color
) )
669
result = (
Color
)colorConverter.ConvertFromString(null, System.Globalization.CultureInfo.InvariantCulture, stringValue);
693
if(value is
Color
)
Common\Converters\DataManagerConverters.cs (8)
767
return ColorArrayToString(value as
Color
[]);
798
public static string ColorArrayToString(
Color
[] colors)
804
foreach(
Color
color in colors)
822
public static
Color
[] StringToColorArray(String colorNames)
825
Color
[] array = new
Color
[0];
829
array = new
Color
[colorValues.Length];
833
array[index++] = (
Color
)colorConverter.ConvertFromInvariantString(str);
Common\DataManager\DataManager.cs (5)
222
Color
[] paletteColors = (palette == ChartColorPalette.None) ?
238
if(dataSeries.Color ==
Color
.Empty || dataSeries.tempColorIsSet)
1132
private
Color
[] _paletteCustomColors = new
Color
[0];
1147
public
Color
[] PaletteCustomColors
Common\DataManager\DataPoint.cs (73)
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);
3139
SetAttributeObject(CommonCustomProperties.LabelForeColor,
Color
.Black);
3151
SetAttributeObject(CommonCustomProperties.LabelBackColor,
Color
.Empty);
3157
SetAttributeObject(CommonCustomProperties.LabelBorderColor,
Color
.Empty);
3488
public
Color
Color
3496
return (
Color
)GetAttributeObject(CommonCustomProperties.Color);
3502
return
Color
.Empty;
3506
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.Color);
3522
if(value ==
Color
.Empty && this.pointCustomProperties)
3550
public
Color
BorderColor
3558
return (
Color
)GetAttributeObject(CommonCustomProperties.BorderColor);
3564
return
Color
.Empty;
3568
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.BorderColor);
3824
public
Color
BackImageTransparentColor
3832
return (
Color
)GetAttributeObject(CommonCustomProperties.BackImageTransparentColor);
3838
return
Color
.Empty;
3842
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.BackImageTransparentColor);
3981
public
Color
BackSecondaryColor
3989
return (
Color
)GetAttributeObject(CommonCustomProperties.BackSecondaryColor);
3995
return
Color
.Empty;
3999
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.BackSecondaryColor);
4137
public
Color
LabelForeColor
4145
Color
color = (
Color
)GetAttributeObject(CommonCustomProperties.LabelForeColor);
4152
return
Color
.Black;
4156
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.LabelForeColor);
4423
public
Color
MarkerImageTransparentColor
4431
return (
Color
)GetAttributeObject(CommonCustomProperties.MarkerImageTransparentColor);
4437
return
Color
.Empty;
4441
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.MarkerImageTransparentColor);
4477
public
Color
MarkerColor
4485
return (
Color
)GetAttributeObject(CommonCustomProperties.MarkerColor);
4491
return
Color
.Empty;
4495
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.MarkerColor);
4531
public
Color
MarkerBorderColor
4539
return (
Color
)GetAttributeObject(CommonCustomProperties.MarkerBorderColor);
4545
return
Color
.Empty;
4549
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.MarkerBorderColor);
5189
DefaultValue(typeof(
Color
), ""),
5194
public
Color
LabelBackColor
5202
return (
Color
)GetAttributeObject(CommonCustomProperties.LabelBackColor);
5208
return
Color
.Empty;
5212
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.LabelBackColor);
5248
DefaultValue(typeof(
Color
), ""),
5253
public
Color
LabelBorderColor
5261
return (
Color
)GetAttributeObject(CommonCustomProperties.LabelBorderColor);
5267
return
Color
.Empty;
5271
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.LabelBorderColor);
5871
return series.color !=
Color
.Empty;
5883
return series.borderColor !=
Color
.Empty;
5955
return series.backImageTransparentColor !=
Color
.Empty;
5991
return series.backSecondaryColor !=
Color
.Empty;
6028
return series.fontColor !=
Color
.Black;
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 (27)
215
private
Color
_shadowColor =
Color
.FromArgb(128, 0, 0, 0);
300
internal
Color
color =
Color
.Empty;
305
internal
Color
borderColor =
Color
.Empty;
335
internal
Color
backImageTransparentColor =
Color
.Empty;
350
internal
Color
backSecondaryColor =
Color
.Empty;
370
internal
Color
fontColor =
Color
.Black;
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;
970
Color
[] paletteColors = (currentPalette == ChartColorPalette.None) ?
1540
this.Color =
Color
.Empty;
1555
dataPoint.Color =
Color
.Empty;
2177
DefaultValue(typeof(
Color
), "128,0,0,0"),
2183
public
Color
ShadowColor
Common\General\Axis.cs (27)
163
private
Color
_titleForeColor =
Color
.Black;
168
private
Color
_lineColor =
Color
.Black;
250
private
Color
_interlacedColor =
Color
.Empty;
572
DefaultValue(typeof(
Color
), ""),
581
public
Color
InterlacedColor
995
DefaultValue(typeof(
Color
), "Black"),
1004
public
Color
TitleForeColor
1075
DefaultValue(typeof(
Color
), "Black"),
1084
public
Color
LineColor
2033
Color
color,
2092
using (Pen pen = new Pen(
Color
.Black, width + 2))
2133
Color
color,
3067
stripLine.BorderColor =
Color
.Empty;
3105
if (this.InterlacedColor !=
Color
.Empty)
3112
if (ChartArea.BackColor ==
Color
.Empty)
3114
stripLine.BackColor = (ChartArea.Area3DStyle.Enable3D) ?
Color
.DarkGray :
Color
.LightGray;
3116
else if (ChartArea.BackColor ==
Color
.Transparent)
3118
if (Common.Chart.BackColor !=
Color
.Transparent && Common.Chart.BackColor !=
Color
.Black)
3120
stripLine.BackColor = ChartGraphics.GetGradientColor(Common.Chart.BackColor,
Color
.Black, 0.2);
3124
stripLine.BackColor =
Color
.LightGray;
3129
stripLine.BackColor = ChartGraphics.GetGradientColor(ChartArea.BackColor,
Color
.Black, 0.2);
3577
ChartArea.BackColor !=
Color
.Transparent &&
Common\General\AxisScaleBreaks.cs (4)
140
private
Color
_breakLineColor =
Color
.Black;
337
DefaultValue(typeof(
Color
), "Black"),
342
public
Color
LineColor
Common\General\AxisScaleSegments.cs (2)
457
Color
color =
Color
.FromArgb(
Common\General\Chart.cs (26)
358
Color
backGroundColor;
360
if (this.BackColor !=
Color
.Empty)
363
backGroundColor =
Color
.White;
367
this.BorderSkin.PageColor !=
Color
.Empty)
1459
private
Color
_backSecondaryColor =
Color
.Empty;
1460
private
Color
_backColor =
Color
.White;
1463
private
Color
_backImageTransparentColor =
Color
.Empty;
1465
private
Color
_borderColor =
Color
.White;
1890
Color
.Empty,
1893
Color
.Empty,
2525
DefaultValue(typeof(
Color
), "White"),
2533
public
Color
BackColor
2542
if(value ==
Color
.Empty || value.A != 255 || value ==
Color
.Transparent)
2558
DefaultValue(typeof(
Color
), "White"),
2566
public
Color
BorderColor
2734
DefaultValue(typeof(
Color
), ""),
2743
public
Color
BackImageTransparentColor
2885
DefaultValue(typeof(
Color
), ""),
2893
public
Color
BackSecondaryColor
2902
if(value !=
Color
.Empty && (value.A != 255 || value ==
Color
.Transparent))
Common\General\ChartArea.cs (26)
175
private
Color
_backColor =
Color
.Empty;
182
private
Color
_backImageTransparentColor =
Color
.Empty;
185
private
Color
_backSecondaryColor =
Color
.Empty;
186
private
Color
_borderColor =
Color
.Black;
190
private
Color
_shadowColor =
Color
.FromArgb(128, 0, 0, 0);
704
DefaultValue(typeof(
Color
), ""),
713
public
Color
BackColor
826
DefaultValue(typeof(
Color
), ""),
835
public
Color
BackImageTransparentColor
910
DefaultValue(typeof(
Color
), ""),
919
public
Color
BackSecondaryColor
938
DefaultValue(typeof(
Color
), "128,0,0,0"),
947
public
Color
ShadowColor
993
DefaultValue(typeof(
Color
), "Black"),
1002
public
Color
BorderColor
2025
(requireAxes) ?
Color
.Empty : BorderColor,
2046
if(BorderColor !=
Color
.Empty && BorderWidth > 0)
2049
Color
.Transparent,
2053
Color
.Empty,
2056
Color
.Empty,
2060
Color
.Empty,
Common\General\ChartArea3D.cs (4)
686
Color
sceneBackColor = chartArea.BackColor;
689
if(sceneBackColor ==
Color
.Transparent)
697
if(sceneBackColor ==
Color
.Empty)
699
sceneBackColor =
Color
.LightGray;
Common\General\ChartAreaCircular.cs (2)
86
internal
Color
TitleForeColor =
Color
.Empty;
Common\General\ChartGraphics.cs (228)
188
Color
color,
212
Color
color,
279
Color
color,
284
Color
shadowColor,
309
Color
color,
314
Color
shadowColor,
321
Color
shColor;
328
shColor =
Color
.FromArgb(color.A/2, shadowColor);
355
Color
backColor,
356
Color
foreColor
378
Color
backImageTransparentColor,
380
Color
backColor
389
if(backImageTransparentColor !=
Color
.Empty)
396
if(backImageTransparentColor ==
Color
.Empty &&
398
backColor !=
Color
.Transparent)
441
Color
firstColor,
442
Color
secondColor,
456
gradientBrush = new SolidBrush(
Color
.Black );
529
Color
[] colors = {secondColor};
550
Color
firstColor,
551
Color
secondColor
566
Color
[] colors = {secondColor};
655
Color
markerColor,
656
Color
markerBorderColor,
659
Color
markerImageTransparentColor,
661
Color
shadowColor,
687
Color
markerColor,
688
Color
markerBorderColor,
691
Color
markerImageTransparentColor,
693
Color
shadowColor,
701
markerBorderColor =
Color
.Transparent;
729
if (markerImageTransparentColor !=
Color
.Empty)
735
if (shadowSize != 0 && shadowColor !=
Color
.Empty)
764
else if(markerStyle != MarkerStyle.None && markerSize > 0 && markerColor !=
Color
.Empty)
810
if (shadowSize != 0 && shadowColor !=
Color
.Empty)
817
this.FillPolygon(new SolidBrush((shadowColor.A != 255) ? shadowColor :
Color
.FromArgb(markerColor.A / 2, shadowColor)), points);
830
if (shadowSize != 0 && shadowColor !=
Color
.Empty)
834
using (SolidBrush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor :
Color
.FromArgb(markerColor.A / 2, shadowColor)))
855
Color
[] colors = {
Color
.Transparent };
885
if (shadowSize != 0 && shadowColor !=
Color
.Empty)
936
if (shadowSize != 0 && shadowColor !=
Color
.Empty)
948
using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor :
Color
.FromArgb(markerColor.A / 2, shadowColor)))
966
Color
[] colors = {
Color
.Transparent };
1016
if (shadowSize != 0 && shadowColor !=
Color
.Empty)
1026
using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor :
Color
.FromArgb(markerColor.A / 2, shadowColor)))
1069
if (shadowSize != 0 && shadowColor !=
Color
.Empty)
1079
using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor :
Color
.FromArgb(markerColor.A / 2, shadowColor)))
1095
Color
[] colors = {
Color
.Transparent };
1337
Color
backColor,
1338
Color
borderColor,
1414
Color
backColor,
1415
Color
borderColor,
1483
Color
backColor,
1484
Color
borderColor,
1556
using(Brush brush = new SolidBrush(
Color
.Transparent))
1763
Color
markColor,
1766
Color
imageTransparentColor,
2323
if (imageTransparentColor !=
Color
.Empty)
2384
Color
markColor,
2516
Color
markColor,
2527
axis.MajorTickMark.LineColor ==
Color
.Empty)
2857
Color
.Transparent,
2861
Color
.Empty,
2864
Color
.FromArgb(120,
Color
.White),
2865
Color
.Empty,
2884
Color
.FromArgb(120,
Color
.White),
2888
Color
.Empty,
2891
Color
.FromArgb(150,
Color
.Black),
2892
Color
.Empty,
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,
2987
Color
.Empty,
2990
(isVertical) ?
Color
.Transparent :
Color
.FromArgb(120,
Color
.White),
2991
Color
.Empty,
3011
(!isVertical) ?
Color
.FromArgb(80,
Color
.Black) :
Color
.Transparent,
3015
Color
.Empty,
3018
(!isVertical) ?
Color
.Transparent :
Color
.FromArgb(80,
Color
.Black),
3019
Color
.Empty,
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))
3191
Color
backColor,
3195
Color
backImageTransparentColor,
3198
Color
backSecondaryColor,
3199
Color
borderColor,
3202
Color
shadowColor,
3250
Color
backColor,
3254
Color
backImageTransparentColor,
3257
Color
backSecondaryColor,
3258
Color
borderColor,
3261
Color
shadowColor,
3310
Color
backColor,
3314
Color
backImageTransparentColor,
3317
Color
backSecondaryColor,
3318
Color
borderColor,
3321
Color
shadowColor,
3376
Color
backColor,
3380
Color
backImageTransparentColor,
3383
Color
backSecondaryColor,
3384
Color
borderColor,
3387
Color
shadowColor,
3409
backColor =
Color
.White;
3414
backSecondaryColor =
Color
.White;
3506
if(backColor ==
Color
.Empty || backColor ==
Color
.Transparent)
3527
if(backImageTransparentColor !=
Color
.Empty)
3605
if(backBrush != null && backImageTransparentColor !=
Color
.Empty)
3692
Color
shadowColor,
3694
Color
backColor)
3716
Color
shadowColor,
3718
Color
backColor,
3729
if (shadowOffset == 0 || shadowColor ==
Color
.Empty)
3737
if (!circular && backColor ==
Color
.Transparent)
3756
using (SolidBrush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor :
Color
.FromArgb(backColor.A / 2, shadowColor)))
3828
Color
[] colors = {
Color
.Transparent};
4039
Color
brushColor =
Color
.Gray;
4087
internal
Color
GetBrightGradientColor(
Color
beginColor, double position )
4092
return GetGradientColor(
Color
.FromArgb(beginColor.A,255,255,255), beginColor, 1 - brightness + position );
4096
return GetGradientColor( beginColor,
Color
.Black, -brightness + position);
4100
return
Color
.FromArgb( beginColor.A, 0, 0, 0 );
4121
Color
backColor,
4125
Color
backImageTransparentColor,
4128
Color
backSecondaryColor,
4129
Color
borderColor,
4143
backColor =
Color
.White;
4146
backSecondaryColor =
Color
.White;
4150
borderColor =
Color
.White;
4208
if(backImageTransparentColor !=
Color
.Empty)
4278
if(backBrush != null && backImageTransparentColor !=
Color
.Empty)
4333
Color
backColor,
4337
Color
backImageTransparentColor,
4340
Color
backSecondaryColor,
4341
Color
borderColor,
4346
Color
shadowColor)
4349
if(shadowOffset != 0 && shadowColor !=
Color
.Transparent)
4355
if(backColor ==
Color
.Transparent &&
4360
Color
.Transparent,
4364
Color
.Empty,
4367
Color
.Empty,
4381
Color
.Empty,
4384
Color
.Empty,
4385
Color
.Transparent,
4429
Color
backColor,
4433
Color
backImageTransparentColor,
4436
Color
backSecondaryColor,
4437
Color
borderColor,
4447
backColor =
Color
.White;
4450
backSecondaryColor =
Color
.White;
4454
borderColor =
Color
.White;
4504
if(backImageTransparentColor !=
Color
.Empty)
4578
if(backBrush != null && backImageTransparentColor !=
Color
.Empty)
4587
if(borderColor !=
Color
.Empty && borderWidth > 0 && borderDashStyle != ChartDashStyle.NotSet)
4607
Color
backColor,
4611
Color
backImageTransparentColor,
4613
Color
backSecondaryColor
4812
internal void DrawRoundedRectShadowAbs(RectangleF rect, float[] cornerRadius, float radius,
Color
centerColor,
Color
surroundColor, float shadowScale)
4822
Color
[] colors = {surroundColor};
4858
Color
backColor,
4862
Color
backImageTransparentColor,
4865
Color
backSecondaryColor,
4866
Color
borderColor,
4895
Color
backColor,
4899
Color
backImageTransparentColor,
4902
Color
backSecondaryColor,
4903
Color
borderColor,
4985
Color
backColor,
4989
Color
backImageTransparentColor,
4991
Color
backSecondaryColor,
4992
Color
borderColor,
5168
Color
.Red,
5169
Color
.Green,
5173
colorBlend.Colors[0] =
Color
.FromArgb(100,
Color
.Black);
5174
colorBlend.Colors[1] =
Color
.Transparent;
5175
colorBlend.Colors[2] =
Color
.FromArgb(140,
Color
.White);
5214
brush.CenterColor =
Color
.Transparent;
5215
brush.SurroundColors = new
Color
[] {
Color
.FromArgb(100,
Color
.Black) };
5251
brushInner.CenterColor =
Color
.FromArgb(100,
Color
.Black);
5252
brushInner.SurroundColors = new
Color
[] {
Color
.Transparent };
5280
private void DrawPieSoftShadow( float startAngle, float sweepAngle, RectangleF absRect,
Color
backColor )
5288
Color
[] colors = {
5289
Color
.FromArgb( 0, backColor ),
5290
Color
.FromArgb( backColor.A, backColor ),
5291
Color
.FromArgb( backColor.A, backColor )};
5321
internal void DrawArrowRel( PointF position, ArrowOrientation orientation, AxisArrowStyle type,
Color
color, int lineWidth, ChartDashStyle lineDashStyle, double shift, double size )
5623
_pen = new Pen(
Color
.Black);
5626
_solidBrush = new SolidBrush(
Color
.Black);
5687
static internal
Color
GetGradientColor(
Color
beginColor,
Color
endColor, double relativePosition)
5725
return
Color
.FromArgb(beginColor.A, (int)dRRed, (int)dRGreen, (int)dRBlue);
Common\General\ChartGraphics3D.cs (103)
332
Color
color,
411
Color
color,
580
Color
frontLightColor, leftLightColor, topLightColor, backLightColor, rightLightColor, bottomLightColor;
583
Color
lightColor;
641
Color
frontLightColor, leftLightColor, topLightColor, backLightColor, rightLightColor, bottomLightColor;
644
Color
lightColor;
765
if (point.BorderColor !=
Color
.Empty &&
874
Color
frontLightColor, leftLightColor, topLightColor, backLightColor, rightLightColor, bottomLightColor;
879
if (area.Area3DStyle.LightStyle == LightStyle.Realistic && point.BorderColor ==
Color
.Empty)
893
if (point.BorderColor !=
Color
.Empty &&
1012
Color
frontLightColor, leftLightColor, topLightColor, backLightColor, rightLightColor, bottomLightColor;
1017
if (area.Area3DStyle.LightStyle == LightStyle.Realistic && point.BorderColor ==
Color
.Empty)
1031
if (point.BorderColor !=
Color
.Empty &&
1191
Color
backColor,
1192
Color
borderColor,
1233
Color
polygonColor = matrix.GetPolygonLight( points3D, backColor, topIsVisible, area.Area3DStyle.Rotation, surfaceName, area.ReverseSeriesOrder );
1234
Color
surfaceBorderColor = borderColor;
1235
if(surfaceBorderColor ==
Color
.Empty)
1238
surfaceBorderColor = ChartGraphics.GetGradientColor( backColor,
Color
.Black, 0.2 );
1534
Color
backColor,
1535
Color
borderColor,
1737
Color
backColor,
1738
Color
borderColor,
1904
Color
cutSurfaceBackColor = ChartGraphics.GetGradientColor(backColor,
Color
.Black, 0.5);
1905
Color
cutSurfaceBorderColor = ChartGraphics.GetGradientColor(borderColor,
Color
.Black, 0.5);
2109
Color
polygonColor = matrix.GetPolygonLight( points3D, backColor, topIsVisible, area.Area3DStyle.Rotation, surfaceName, area.ReverseSeriesOrder );
2110
Color
surfaceBorderColor = borderColor;
2111
if(surfaceBorderColor ==
Color
.Empty)
2114
surfaceBorderColor = ChartGraphics.GetGradientColor( backColor,
Color
.Black, 0.2 );
2124
if(backColor !=
Color
.Transparent)
2462
Color
color,
2781
Color
backColor,
2782
Color
borderColor,
2829
Color
backColor,
2832
Color
borderColor,
2882
(borderWidth == 0 || borderDashStyle == ChartDashStyle.NotSet || borderColor ==
Color
.Empty) )
2884
borderColor = ChartGraphics.GetGradientColor( backColor,
Color
.Black, 0.5 );
2888
Color
frontLightColor, leftLightColor, topLightColor, backLightColor, rightLightColor, bottomLightColor;
2896
topLightColor = ChartGraphics.GetGradientColor(topLightColor,
Color
.Black, topRightDarkening);
2900
rightLightColor = ChartGraphics.GetGradientColor(rightLightColor,
Color
.Black, topRightDarkening);
2907
bottomLightColor = ChartGraphics.GetGradientColor(bottomLightColor,
Color
.Black, bottomLeftDarkening);
2911
leftLightColor = ChartGraphics.GetGradientColor(leftLightColor,
Color
.Black, bottomLeftDarkening);
2955
Color
surfaceColor = backColor;
3034
(borderWidth == 0 || borderDashStyle == ChartDashStyle.NotSet || borderColor ==
Color
.Empty))
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)))
3464
Color
markerColor,
3465
Color
markerBorderColor,
3468
Color
markerImageTransparentColor,
3470
Color
shadowColor,
3523
if (markerStyle != MarkerStyle.None && markerSize > 0 && markerColor !=
Color
.Empty)
3547
if (shadowSize != 0 && shadowColor !=
Color
.Empty)
3551
using (Brush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor :
Color
.FromArgb(markerColor.A / 2, shadowColor)))
3572
Color
[] colors = {
Color
.Transparent };
3603
circleBrush.CenterColor = ChartGraphics.GetGradientColor(markerColor,
Color
.White, 0.85);
3604
circleBrush.SurroundColors = new
Color
[] { markerColor };
3961
Color
backColor,
3964
Color
borderColor,
4017
(borderWidth == 0 || borderDashStyle == ChartDashStyle.NotSet || borderColor ==
Color
.Empty) )
4019
borderColor = ChartGraphics.GetGradientColor( backColor,
Color
.Black, 0.5 );
4023
Color
frontLightColor, leftLightColor, topLightColor, backLightColor, rightLightColor, bottomLightColor;
4031
topLightColor = ChartGraphics.GetGradientColor(topLightColor,
Color
.Black, topRightDarkening);
4035
rightLightColor = ChartGraphics.GetGradientColor(rightLightColor,
Color
.Black, topRightDarkening);
4042
bottomLightColor = ChartGraphics.GetGradientColor(bottomLightColor,
Color
.Black, bottomLeftDarkening);
4046
leftLightColor = ChartGraphics.GetGradientColor(leftLightColor,
Color
.Black, bottomLeftDarkening);
4116
Color
surfaceColor = backColor;
4165
Color
lightColor = ChartGraphics.GetGradientColor( backColor,
Color
.White, 0.3 );
4166
Color
darkColor = ChartGraphics.GetGradientColor( backColor,
Color
.Black, 0.3 );
4300
(borderWidth == 0 || borderDashStyle == ChartDashStyle.NotSet || borderColor ==
Color
.Empty))
4303
pen.Color = frontSurfaceBrush == null ? surfaceColor : ChartGraphics.GetGradientColor(backColor,
Color
.Black, 0.3);
Common\General\GridTickMarks.cs (4)
1098
internal
Color
borderColor =
Color
.Black;
1915
DefaultValue(typeof(
Color
), "Black"),
1923
public
Color
LineColor
Common\General\Label.cs (17)
431
private
Color
_foreColor =
Color
.Empty;
432
private
Color
_markColor =
Color
.Empty;
445
private
Color
_imageTransparentColor =
Color
.Empty;
791
DefaultValue(typeof(
Color
), ""),
800
public
Color
ImageTransparentColor
945
DefaultValue(typeof(
Color
), ""),
954
public
Color
ForeColor
973
DefaultValue(typeof(
Color
), ""),
982
public
Color
MarkColor
1085
private
Color
_foreColor =
Color
.Black;
1251
Color
labelColor = _foreColor;
2769
DefaultValue(typeof(
Color
), "Black"),
2778
public
Color
ForeColor
Common\General\Legend.cs (128)
250
private
Color
_backImageTransparentColor =
Color
.Empty;
253
private
Color
_backSecondaryColor =
Color
.Empty;
254
private
Color
_borderColor =
Color
.Empty;
255
private
Color
_backColor =
Color
.Empty;
260
private
Color
_foreColor =
Color
.Black;
264
private
Color
_shadowColor =
Color
.FromArgb(128, 0, 0, 0);
291
private
Color
_interlacedRowsColor =
Color
.Empty;
316
private
Color
_titleForeColor =
Color
.Black;
319
private
Color
_titleBackColor =
Color
.Empty;
331
private
Color
_titleSeparatorColor =
Color
.Black;
337
private
Color
_headerSeparatorColor =
Color
.Black;
343
private
Color
_itemColumnSeparatorColor =
Color
.Black;
2305
LegendItem item = new LegendItem(this.Name + " - " + SR.DescriptionTypeEmpty,
Color
.White, "");
2552
Color
.Empty,
2555
Color
.Empty,
2557
Color
.Empty,
3000
DefaultValue(typeof(
Color
), "Black"),
3005
public
Color
HeaderSeparatorColor
3050
DefaultValue(typeof(
Color
), "Black"),
3055
public
Color
ItemColumnSeparatorColor
3106
DefaultValue(typeof(
Color
), ""),
3117
public
Color
BackColor
3134
DefaultValue(typeof(
Color
), ""),
3145
public
Color
BorderColor
3275
DefaultValue(typeof(
Color
), ""),
3284
public
Color
BackImageTransparentColor
3359
/// A <see cref="
Color
"/> value used for the secondary color of background with
3370
DefaultValue(typeof(
Color
), ""),
3379
public
Color
BackSecondaryColor
3465
DefaultValue(typeof(
Color
), "Black"),
3474
public
Color
ForeColor
3574
/// A <see cref="
Color
"/> value used to draw a legend's shadow.
3579
DefaultValue(typeof(
Color
), "128, 0, 0, 0"),
3588
public
Color
ShadowColor
3760
DefaultValue(typeof(
Color
), ""),
3765
public
Color
InterlacedRowsColor
3814
DefaultValue(typeof(
Color
), "Black"),
3819
public
Color
TitleForeColor
3840
DefaultValue(typeof(
Color
), ""),
3845
public
Color
TitleBackColor
3938
DefaultValue(typeof(
Color
), "Black"),
3943
public
Color
TitleSeparatorColor
4175
Color
.Empty,
4178
Color
.Empty,
4179
Color
.Empty,
4182
Color
.Empty,
4234
Color
.Transparent,
4238
Color
.Empty,
4241
Color
.Empty,
4245
Color
.Empty,
4294
Color
.Empty,
4297
Color
.Empty,
4298
Color
.Empty,
4301
Color
.Empty,
4348
Color
.Transparent,
4352
Color
.Empty,
4355
Color
.Empty,
4359
Color
.Empty,
4430
Color
color,
4582
Color
.Transparent,
4586
Color
.Empty,
4590
Color
.Empty,
4600
Color
.Transparent,
4604
Color
.Empty,
4608
Color
.Empty,
4621
Color
.Transparent,
4625
Color
.Empty,
4629
Color
.Empty,
4639
Color
.Transparent,
4643
Color
.Empty,
4647
Color
.Empty,
4671
this.BorderColor !=
Color
.Transparent)
5098
public int Add(
Color
color, string text)
5112
public void Insert(int index,
Color
color, string text)
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;
5200
internal
Color
borderColor =
Color
.Black;
5205
internal
Color
shadowColor =
Color
.FromArgb(128, 0, 0, 0);
5213
internal
Color
markerImageTransparentColor =
Color
.Empty;
5214
internal
Color
markerColor =
Color
.Empty;
5215
internal
Color
markerBorderColor =
Color
.Empty;
5230
private
Color
_separatorColor =
Color
.Black;
5258
public LegendItem(string name,
Color
color, string image) : base (name)
5326
DefaultValue(typeof(
Color
), ""),
5334
public
Color
Color
5407
DefaultValue(typeof(
Color
), "Black"),
5415
public
Color
BorderColor
5460
DefaultValue(typeof(
Color
), ""),
5469
public
Color
BackImageTransparentColor
5525
DefaultValue(typeof(
Color
), ""),
5533
public
Color
BackSecondaryColor
5541
if(value !=
Color
.Empty && (value.A != 255 || value ==
Color
.Transparent))
5699
DefaultValue(typeof(
Color
), "128,0,0,0"),
5707
public
Color
ShadowColor
5806
DefaultValue(typeof(
Color
), ""),
5815
public
Color
MarkerImageTransparentColor
5834
DefaultValue(typeof(
Color
), ""),
5843
public
Color
MarkerColor
5862
DefaultValue(typeof(
Color
), ""),
5871
public
Color
MarkerBorderColor
5961
DefaultValue(typeof(
Color
), "Black"),
5966
public
Color
SeparatorColor
6223
markerBorderColor =
Color
.Transparent;
Common\General\LegendColumns.cs (49)
134
private
Color
_foreColor =
Color
.Empty;
137
private
Color
_backColor =
Color
.Empty;
174
private
Color
_headerForeColor =
Color
.Black;
177
private
Color
_headerBackColor =
Color
.Empty;
323
DefaultValue(typeof(
Color
), ""),
328
public virtual
Color
ForeColor
346
DefaultValue(typeof(
Color
), ""),
351
public virtual
Color
BackColor
606
DefaultValue(typeof(
Color
), "Black"),
611
public virtual
Color
HeaderForeColor
629
DefaultValue(typeof(
Color
), ""),
634
public virtual
Color
HeaderBackColor
826
private
Color
_foreColor =
Color
.Empty;
829
private
Color
_backColor =
Color
.Empty;
841
private
Color
_imageTransparentColor =
Color
.Empty;
1066
DefaultValue(typeof(
Color
), ""),
1071
public virtual
Color
ForeColor
1089
DefaultValue(typeof(
Color
), ""),
1094
public virtual
Color
BackColor
1155
DefaultValue(typeof(
Color
), ""),
1160
public virtual
Color
ImageTransparentColor
1566
private
Color
GetCellBackColor()
1568
Color
resultColor = this.BackColor;
1596
if(this.Legend.BackColor ==
Color
.Empty)
1598
resultColor =
Color
.LightGray;
1600
else if(this.Legend.BackColor ==
Color
.Transparent)
1602
if(Chart.BackColor !=
Color
.Transparent &&
1603
Chart.BackColor !=
Color
.Black)
1605
resultColor = ChartGraphics.GetGradientColor( Chart.BackColor,
Color
.Black, 0.2 );
1609
resultColor =
Color
.LightGray;
1614
resultColor = ChartGraphics.GetGradientColor( this.Legend.BackColor,
Color
.Black, 0.2 );
1863
private
Color
GetCellForeColor()
1894
return
Color
.Black;
1924
Color
cellBackColor = this.GetCellBackColor();
1934
Color
.Empty,
1937
Color
.Empty,
1938
Color
.Empty,
1941
Color
.Empty,
2177
if(this.ImageTransparentColor !=
Color
.Empty)
2319
if (legendItem.BackImageTransparentColor !=
Color
.Empty)
2470
(legendItem.markerColor ==
Color
.Empty) ? legendItem.Color : legendItem.markerColor,
2471
(legendItem.markerBorderColor ==
Color
.Empty) ? legendItem.borderColor : legendItem.markerBorderColor,
Common\General\Matrix3D.cs (34)
910
internal void GetLight(
Color
surfaceColor, out
Color
front, out
Color
back, out
Color
left, out
Color
right, out
Color
top, out
Color
bottom )
929
left = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.25);
930
top = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.15);
932
right = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.25);
933
bottom = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.15);
955
front = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, GetAngle(lightSource,_lightVectors[1])/Math.PI );
957
back = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, GetAngle(lightSource,_lightVectors[2])/Math.PI );
959
left = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0 );
961
right = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0 );
965
front = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0 );
967
back = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 1 );
969
left = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, GetAngle(lightSource,_lightVectors[3])/Math.PI );
971
right = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, GetAngle(lightSource,_lightVectors[4])/Math.PI );
974
top = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, GetAngle(lightSource,_lightVectors[5])/Math.PI );
976
bottom = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, GetAngle(lightSource,_lightVectors[6])/Math.PI );
1021
internal
Color
GetPolygonLight(Point3D[] points,
Color
surfaceColor, bool visiblePolygon, float rotation, SurfaceNames surfaceName, bool switchSeriesOrder)
1024
Color
color = surfaceColor;
1062
color = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.15);
1067
color = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.15);
1115
color = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.25);
1119
color = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.25);
1123
color = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.15);
1187
private
Color
GetBrightGradientColor(
Color
beginColor, double position )
1193
return ChartGraphics.GetGradientColor(
Color
.FromArgb(beginColor.A,255,255,255), beginColor, 1 - brightness + position );
1197
return ChartGraphics.GetGradientColor( beginColor,
Color
.Black, -brightness + position );
1201
return
Color
.FromArgb( beginColor.A, 0, 0, 0 );
Common\General\Selection.cs (9)
2221
if (dataPoint != null && dataPoint.Color ==
Color
.Transparent)
2229
if (((Axis)region.SelectedObject).LineColor ==
Color
.Transparent)
2236
if (((ChartArea)region.SelectedObject).BackColor ==
Color
.Transparent)
2243
if (((Legend)region.SelectedObject).BackColor ==
Color
.Transparent)
2250
if (((Grid)region.SelectedObject).LineColor ==
Color
.Transparent)
2257
if (((StripLine)region.SelectedObject).BackColor ==
Color
.Transparent)
2264
if (((TickMark)region.SelectedObject).LineColor ==
Color
.Transparent)
2272
if ((title.Text.Length == 0 || title.ForeColor ==
Color
.Transparent) &&
2273
(title.BackColor ==
Color
.Transparent || title.BackColor.IsEmpty))
Common\General\SmartLabels.cs (9)
194
private
Color
_calloutLineColor =
Color
.Black;
200
private
Color
_calloutBackColor =
Color
.Transparent;
430
DefaultValue(typeof(
Color
), "Black"),
435
virtual public
Color
CalloutLineColor
479
DefaultValue(typeof(
Color
), "Transparent"),
484
virtual public
Color
CalloutBackColor
930
if(smartLabelStyle.CalloutBackColor !=
Color
.Transparent)
Common\General\StripLine.cs (22)
141
private
Color
_backColor =
Color
.Empty;
145
private
Color
_backImageTransparentColor =
Color
.Empty;
148
private
Color
_backSecondaryColor =
Color
.Empty;
149
private
Color
_borderColor =
Color
.Empty;
155
private
Color
_foreColor =
Color
.Black;
403
this.BorderWidth, this.BorderDashStyle,
Color
.Empty,
1006
DefaultValue(typeof(
Color
), ""),
1014
public
Color
BackColor
1033
DefaultValue(typeof(
Color
), ""),
1041
public
Color
BorderColor
1163
DefaultValue(typeof(
Color
), ""),
1172
public
Color
BackImageTransparentColor
1253
/// A <see cref="
Color
"/> value used for the secondary color of a background with
1263
DefaultValue(typeof(
Color
), ""),
1271
public
Color
BackSecondaryColor
1374
DefaultValue(typeof(
Color
), "Black"),
1383
public
Color
ForeColor
Common\General\Title.cs (43)
212
private
Color
_backColor =
Color
.Empty;
216
private
Color
_backImageTransparentColor =
Color
.Empty;
219
private
Color
_backSecondaryColor =
Color
.Empty;
221
private
Color
_shadowColor =
Color
.FromArgb(128, 0, 0, 0);
224
private
Color
_borderColor =
Color
.Empty;
231
private
Color
_foreColor =
Color
.Black;
261
Initialize(string.Empty, Docking.Top, null,
Color
.Black);
270
Initialize(text, Docking.Top, null,
Color
.Black);
280
Initialize(text, docking, null,
Color
.Black);
290
public Title(string text, Docking docking, Font font,
Color
color)
302
private void Initialize(string text, Docking docking, Font font,
Color
color)
621
DefaultValue(typeof(
Color
), ""),
630
public
Color
BackColor
649
DefaultValue(typeof(
Color
), ""),
658
public
Color
BorderColor
786
DefaultValue(typeof(
Color
), ""),
795
public
Color
BackImageTransparentColor
877
/// A <see cref="
Color
"/> value used for the secondary color of a background with
887
DefaultValue(typeof(
Color
), ""),
896
public
Color
BackSecondaryColor
977
DefaultValue(typeof(
Color
), "Black"),
986
public
Color
ForeColor
1083
DefaultValue(typeof(
Color
), "128, 0, 0, 0"),
1092
public
Color
ShadowColor
1537
Color
.FromArgb(0,
Color
.White),
1545
Color
.Transparent,
1548
Color
.Transparent,
1608
Color
textShadowColor = ChartGraphics.GetGradientColor(this.ForeColor,
Color
.Black, 0.8);
1623
textShadowColor = (textShadowColor.A != 255) ? textShadowColor :
Color
.FromArgb(textShadowColor.A / 2, textShadowColor);
1715
Color
foreColor,
1716
Color
shadowColor,
1767
Color
texthighlightColor = ChartGraphics.GetGradientColor(
Color
.White, foreColor, 0.3);
1791
Color
texthighlightColor = ChartGraphics.GetGradientColor(
Color
.White, foreColor, 0.3);
Common\Utilities\ColorPalette.cs (163)
149
private static
Color
[] _colorsGrayScale = InitializeGrayScaleColors();
150
private static
Color
[] _colorsDefault = {
151
Color
.Green,
152
Color
.Blue,
153
Color
.Purple,
154
Color
.Lime,
155
Color
.Fuchsia,
156
Color
.Teal,
157
Color
.Yellow,
158
Color
.Gray,
159
Color
.Aqua,
160
Color
.Navy,
161
Color
.Maroon,
162
Color
.Red,
163
Color
.Olive,
164
Color
.Silver,
165
Color
.Tomato,
166
Color
.Moccasin
169
private static
Color
[] _colorsPastel = {
170
Color
.SkyBlue,
171
Color
.LimeGreen,
172
Color
.MediumOrchid,
173
Color
.LightCoral,
174
Color
.SteelBlue,
175
Color
.YellowGreen,
176
Color
.Turquoise,
177
Color
.HotPink,
178
Color
.Khaki,
179
Color
.Tan,
180
Color
.DarkSeaGreen,
181
Color
.CornflowerBlue,
182
Color
.Plum,
183
Color
.CadetBlue,
184
Color
.PeachPuff,
185
Color
.LightSalmon
188
private static
Color
[] _colorsEarth = {
189
Color
.FromArgb(255, 128, 0),
190
Color
.DarkGoldenrod,
191
Color
.FromArgb(192, 64, 0),
192
Color
.OliveDrab,
193
Color
.Peru,
194
Color
.FromArgb(192, 192, 0),
195
Color
.ForestGreen,
196
Color
.Chocolate,
197
Color
.Olive,
198
Color
.LightSeaGreen,
199
Color
.SandyBrown,
200
Color
.FromArgb(0, 192, 0),
201
Color
.DarkSeaGreen,
202
Color
.Firebrick,
203
Color
.SaddleBrown,
204
Color
.FromArgb(192, 0, 0)
207
private static
Color
[] _colorsSemiTransparent = {
208
Color
.FromArgb(150, 255, 0, 0),
209
Color
.FromArgb(150, 0, 255, 0),
210
Color
.FromArgb(150, 0, 0, 255),
211
Color
.FromArgb(150, 255, 255, 0),
212
Color
.FromArgb(150, 0, 255, 255),
213
Color
.FromArgb(150, 255, 0, 255),
214
Color
.FromArgb(150, 170, 120, 20),
215
Color
.FromArgb(80, 255, 0, 0),
216
Color
.FromArgb(80, 0, 255, 0),
217
Color
.FromArgb(80, 0, 0, 255),
218
Color
.FromArgb(80, 255, 255, 0),
219
Color
.FromArgb(80, 0, 255, 255),
220
Color
.FromArgb(80, 255, 0, 255),
221
Color
.FromArgb(80, 170, 120, 20),
222
Color
.FromArgb(150, 100, 120, 50),
223
Color
.FromArgb(150, 40, 90, 150)
226
private static
Color
[] _colorsLight = {
227
Color
.Lavender,
228
Color
.LavenderBlush,
229
Color
.PeachPuff,
230
Color
.LemonChiffon,
231
Color
.MistyRose,
232
Color
.Honeydew,
233
Color
.AliceBlue,
234
Color
.WhiteSmoke,
235
Color
.AntiqueWhite,
236
Color
.LightCyan
239
private static
Color
[] _colorsExcel = {
240
Color
.FromArgb(153,153,255),
241
Color
.FromArgb(153,51,102),
242
Color
.FromArgb(255,255,204),
243
Color
.FromArgb(204,255,255),
244
Color
.FromArgb(102,0,102),
245
Color
.FromArgb(255,128,128),
246
Color
.FromArgb(0,102,204),
247
Color
.FromArgb(204,204,255),
248
Color
.FromArgb(0,0,128),
249
Color
.FromArgb(255,0,255),
250
Color
.FromArgb(255,255,0),
251
Color
.FromArgb(0,255,255),
252
Color
.FromArgb(128,0,128),
253
Color
.FromArgb(128,0,0),
254
Color
.FromArgb(0,128,128),
255
Color
.FromArgb(0,0,255)};
257
private static
Color
[] _colorsBerry = {
258
Color
.BlueViolet,
259
Color
.MediumOrchid,
260
Color
.RoyalBlue,
261
Color
.MediumVioletRed,
262
Color
.Blue,
263
Color
.BlueViolet,
264
Color
.Orchid,
265
Color
.MediumSlateBlue,
266
Color
.FromArgb(192, 0, 192),
267
Color
.MediumBlue,
268
Color
.Purple
271
private static
Color
[] _colorsChocolate = {
272
Color
.Sienna,
273
Color
.Chocolate,
274
Color
.DarkRed,
275
Color
.Peru,
276
Color
.Brown,
277
Color
.SandyBrown,
278
Color
.SaddleBrown,
279
Color
.FromArgb(192, 64, 0),
280
Color
.Firebrick,
281
Color
.FromArgb(182, 92, 58)
284
private static
Color
[] _colorsFire = {
285
Color
.Gold,
286
Color
.Red,
287
Color
.DeepPink,
288
Color
.Crimson,
289
Color
.DarkOrange,
290
Color
.Magenta,
291
Color
.Yellow,
292
Color
.OrangeRed,
293
Color
.MediumVioletRed,
294
Color
.FromArgb(221, 226, 33)
297
private static
Color
[] _colorsSeaGreen = {
298
Color
.SeaGreen,
299
Color
.MediumAquamarine,
300
Color
.SteelBlue,
301
Color
.DarkCyan,
302
Color
.CadetBlue,
303
Color
.MediumSeaGreen,
304
Color
.MediumTurquoise,
305
Color
.LightSteelBlue,
306
Color
.DarkSeaGreen,
307
Color
.SkyBlue
310
private static
Color
[] _colorsBrightPastel = {
311
Color
.FromArgb(65, 140, 240),
312
Color
.FromArgb(252, 180, 65),
313
Color
.FromArgb(224, 64, 10),
314
Color
.FromArgb(5, 100, 146),
315
Color
.FromArgb(191, 191, 191),
316
Color
.FromArgb(26, 59, 105),
317
Color
.FromArgb(255, 227, 130),
318
Color
.FromArgb(18, 156, 221),
319
Color
.FromArgb(202, 107, 75),
320
Color
.FromArgb(0, 92, 219),
321
Color
.FromArgb(243, 210, 136),
322
Color
.FromArgb(80, 99, 129),
323
Color
.FromArgb(241, 185, 168),
324
Color
.FromArgb(224, 131, 10),
325
Color
.FromArgb(120, 147, 190)
335
private static
Color
[] InitializeGrayScaleColors()
338
Color
[] grayScale = new
Color
[16];
342
grayScale[i] =
Color
.FromArgb(colorValue, colorValue, colorValue);
358
public static
Color
[] GetPaletteColors(ChartColorPalette palette)
Common\Utilities\CustomAttributesRegistry.cs (10)
685
typeof(
Color
),
696
typeof(
Color
),
908
typeof(
Color
),
1013
typeof(
Color
),
1433
typeof(
Color
),
1495
typeof(
Color
),
1535
typeof(
Color
),
1575
typeof(
Color
),
1728
typeof(
Color
),
1831
typeof(
Color
),
Common\Utilities\XmlSerializer.cs (18)
894
pi.PropertyType == typeof(
Color
) ||
1770
if(obj is
Color
)
1775
Color
[] colors = obj as
Color
[];
2166
else if(pi.PropertyType == typeof(
Color
))
2168
objValue = (
Color
)colorConverter.ConvertFromString(null, System.Globalization.CultureInfo.InvariantCulture, attrValue);
2709
else if(obj is
Color
)
2712
writer.Write(((
Color
)obj).ToArgb());
2742
else if(obj is
Color
[])
2744
Color
[] arr = (
Color
[])obj;
2750
foreach(
Color
color in arr)
3121
else if(pi.PropertyType == typeof(
Color
))
3124
objValue =
Color
.FromArgb(reader.ReadInt32());
3167
else if(pi.PropertyType == typeof(
Color
[]))
3170
Color
[] array = new
Color
[reader.ReadInt32()];
3175
array[arrayIndex] =
Color
.FromArgb(reader.ReadInt32());
WebForm\ChartWebControl.cs (14)
1954
public
Color
[] PaletteCustomColors
1972
this.PaletteCustomColors = new
Color
[0];
2299
DefaultValue(typeof(
Color
), "White"),
2305
public override
Color
BackColor
2324
DefaultValue(typeof(
Color
), ""),
2330
public override
Color
ForeColor
2334
return
Color
.Empty;
2542
DefaultValue(typeof(
Color
), ""),
2549
public
Color
BackImageTransparentColor
2613
DefaultValue(typeof(
Color
), ""),
2619
public
Color
BackSecondaryColor
2639
public override
Color
BorderColor
2678
DefaultValue(typeof(
Color
), "White"),
2684
public
Color
BorderlineColor
WebForm\General\ChartHttpHandler.cs (5)
653
result.AlternatingRowStyle.BackColor =
Color
.White;
655
result.RowStyle.ForeColor =
Color
.Black;
656
result.AlternatingRowStyle.ForeColor =
Color
.Black;
659
result.HeaderStyle.BackColor =
Color
.Gray;
660
result.HeaderStyle.ForeColor =
Color
.White;
System.Web.Extensions (3)
UI\WebControls\ListView.cs (3)
158
public override
Color
BackColor {
174
public override
Color
BorderColor {
508
public override
Color
ForeColor {
System.Web.Mobile (92)
UI\MobileControls\Adapters\HtmlCalendarAdapter.cs (2)
128
Color
backColor = (
Color
)formAdapter.Style[Style.BackColorKey, true];
UI\MobileControls\Adapters\HtmlFormAdapter.cs (3)
53
Color
backColor = (
Color
)Style[Style.BackColorKey, true];
87
if ((backColor !=
Color
.Empty) && (writer.RenderBodyColor))
UI\MobileControls\Adapters\HtmlMobileTextWriter.cs (13)
495
private
Color
_fontColor;
508
_fontColor =
Color
.Empty;
537
_fontColor = (
Color
) style[Style.ForeColorKey, true];
575
internal
Color
FontColor
663
private
Color
_color;
669
_color =
Color
.Empty;
687
internal
Color
Color
703
state.Current.FontColor =
Color
.Empty;
728
if(Color !=
Color
.Empty)
738
if(((FontStyleTag)o).Color !=
Color
.Empty)
1150
(newStyle.FontColor ==
Color
.Empty) &&
1151
(_current.FontColor !=
Color
.Empty) &&
1154
while(_current.FontColor !=
Color
.Empty)
UI\MobileControls\Adapters\HtmlObjectListAdapter.cs (6)
181
Color
foreColor = (
Color
)style[Style.ForeColorKey, true];
369
Color
foreColor = (
Color
)style[Style.ForeColorKey, true];
521
private void RenderRule(HtmlMobileTextWriter writer,
Color
foreColor, int columnSpan)
526
writer.Write((foreColor !=
Color
.Empty) ? ColorTranslator.ToHtml(foreColor) : "#000000");
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (7)
248
Color
foreColor = (
Color
)Style[Style.ForeColorKey, true];
410
Color
foreColor = (
Color
)style[Style.ForeColorKey, true];
619
private void RenderRule (XhtmlMobileTextWriter writer,
Color
foreColor, int columnSpan) {
629
hruleStyle[Style.BackColorKey] = foreColor ==
Color
.Empty ?
Color
.Black : foreColor;
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlStyleClass.cs (10)
120
Color
styleColor = (
Color
) _controlStyle [Style.BackColorKey, true /* inherit */];
121
if (styleColor !=
Color
.Empty) {
130
Color
styleColor = (
Color
) _controlStyle [Style.ForeColorKey, true /* inherit */];
131
if (styleColor !=
Color
.Empty) {
220
if ((
Color
)_controlStyle [Style.BackColorKey, true] != (
Color
)style [Style.BackColorKey, true]) {// value comparison
223
if ((
Color
)_controlStyle [Style.ForeColorKey, true] != (
Color
)style [Style.ForeColorKey, true]) {// value comparison
UI\MobileControls\Design\Adapters\DesignerAdapterUtil.cs (4)
240
Color
cw = SystemColors.Window;
241
Color
ct = SystemColors.WindowText;
242
Color
c =
Color
.FromArgb((Int16)(ct.R * 0.1 + cw.R * 0.9),
UI\MobileControls\Design\Adapters\DesignerTextWriter.cs (9)
63
Color
backColor = (
Color
) style[Style.BackColorKey, true];
86
if (backColor !=
Color
.Empty)
114
Color
foreColor = (
Color
) style[Style.ForeColorKey, true];
115
Color
backColor = (
Color
) style[Style.BackColorKey, true];
150
if (foreColor !=
Color
.Empty)
157
if (backColor !=
Color
.Empty)
UI\MobileControls\Design\MobileContainerDesigner.cs (4)
170
Color
backColor = (
Color
)Style[Style.BackColorKey, true];
175
Color
foreColor = (
Color
)Style[Style.ForeColorKey, true];
UI\MobileControls\Design\StylesEditorDialog.cs (9)
573
Color
c = _previewStyle.ForeColor;
574
if (!c.Equals(
Color
.Empty))
581
if (!c.Equals(
Color
.Empty))
1066
Color
foreColor = currentStyle.ForeColor;
1067
Color
backColor = currentStyle.BackColor;
1084
if (foreColor ==
Color
.Empty)
1088
if (backColor ==
Color
.Empty)
1120
if (foreColor ==
Color
.Empty)
1124
if (backColor ==
Color
.Empty)
UI\MobileControls\Design\Util\WbmpConverter.cs (2)
58
bitmap.SetPixel(x, y,
Color
.Black);
62
bitmap.SetPixel(x, y,
Color
.White);
UI\MobileControls\MobileControl.cs (4)
845
DefaultValue(typeof(
Color
), ""),
850
public virtual
Color
ForeColor
865
DefaultValue(typeof(
Color
), ""),
870
public virtual
Color
BackColor
UI\MobileControls\Style.cs (14)
50
ForeColorKey = RegisterStyle("ForeColor", typeof(
Color
) ,
Color
.Empty , true),
51
BackColorKey = RegisterStyle("BackColor", typeof(
Color
) ,
Color
.Empty , false);
97
control.ForeColor = (
Color
)this[ForeColorKey, true];
98
control.BackColor = (
Color
)this[BackColorKey, true];
106
style.ForeColor = (
Color
)this[ForeColorKey, true];
107
style.BackColor = (
Color
)this[BackColorKey, true];
617
DefaultValue(typeof(
Color
), ""),
623
public
Color
ForeColor
627
return (
Color
)this[ForeColorKey];
638
DefaultValue(typeof(
Color
), ""),
644
public
Color
BackColor
648
return (
Color
)this[BackColorKey];
UI\MobileControls\StyleSheet.cs (5)
64
error.ForeColor =
Color
.Red;
605
public override
Color
ForeColor
611
return
Color
.Empty;
630
public override
Color
BackColor
636
return
Color
.Empty;
System.Windows.Forms (2074)
misc\GDI\DeviceContext2.cs (6)
62
public
Color
BackgroundColor
79
public
Color
SetBackgroundColor(
Color
newColor )
415
public
Color
TextColor
432
public
Color
SetTextColor(
Color
newColor )
misc\GDI\WindowsBrush.cs (4)
43
private
Color
color =
Color
.White; // GDI brushes have just one color as opposed to GDI+ that can have background color.
65
public WindowsBrush(DeviceContext dc,
Color
color)
104
public
Color
Color
misc\GDI\WindowsGraphics2.cs (20)
138
public void DrawText(string text, WindowsFont font, Point pt,
Color
foreColor)
140
DrawText(text, font, pt, foreColor,
Color
.Empty, IntTextFormatFlags.Default);
147
public void DrawText(string text, WindowsFont font, Point pt,
Color
foreColor,
Color
backColor)
156
public void DrawText(string text, WindowsFont font, Point pt,
Color
foreColor, IntTextFormatFlags flags)
158
DrawText(text, font, pt, foreColor,
Color
.Empty, flags);
165
public void DrawText(string text, WindowsFont font, Point pt,
Color
foreColor,
Color
backColor, IntTextFormatFlags flags)
174
public void DrawText(string text, WindowsFont font, Rectangle bounds,
Color
foreColor)
176
DrawText(text, font, bounds, foreColor,
Color
.Empty);
182
public void DrawText(string text, WindowsFont font, Rectangle bounds,
Color
foreColor,
Color
backColor)
190
public void DrawText(string text, WindowsFont font, Rectangle bounds,
Color
color, IntTextFormatFlags flags)
192
DrawText( text, font, bounds, color,
Color
.Empty, flags );
201
public void DrawText(string text, WindowsFont font, Rectangle bounds,
Color
foreColor,
Color
backColor, IntTextFormatFlags flags)
203
if (string.IsNullOrEmpty(text) || foreColor ==
Color
.Transparent)
231
DeviceContextBackgroundMode newBackGndMode = (backColor.IsEmpty || backColor ==
Color
.Transparent) ?
296
public
Color
GetNearestColor(
Color
color)
misc\GDI\WindowsPen.cs (4)
53
private
Color
color;
65
this( dc, WindowsPenStyle.Default, cosmeticPenWidth,
Color
.Black )
71
public WindowsPen(DeviceContext dc,
Color
color ) :
84
public WindowsPen(DeviceContext dc, WindowsPenStyle style, int width,
Color
color)
misc\GDI\WindowsSolidBrush.cs (1)
53
public WindowsSolidBrush(DeviceContext dc,
Color
color) : base( dc, color )
winforms\Managed\System\WinForms\AmbientProperties.cs (4)
31
private
Color
backColor;
32
private
Color
foreColor;
42
public
Color
BackColor {
87
public
Color
ForeColor {
winforms\Managed\System\WinForms\AxHost.cs (4)
357
public override
Color
BackColor {
518
public override
Color
ForeColor {
4902
protected static
Color
GetColorFromOleColor(uint color) {
4912
protected static uint GetOleColorFromColor(
Color
color) {
winforms\Managed\System\WinForms\BindingNavigator.cs (6)
199
moveFirstImage.MakeTransparent(System.Drawing.
Color
.Magenta);
200
movePreviousImage.MakeTransparent(System.Drawing.
Color
.Magenta);
201
moveNextImage.MakeTransparent(System.Drawing.
Color
.Magenta);
202
moveLastImage.MakeTransparent(System.Drawing.
Color
.Magenta);
203
addNewImage.MakeTransparent(System.Drawing.
Color
.Magenta);
204
deleteImage.MakeTransparent(System.Drawing.
Color
.Magenta);
winforms\Managed\System\WinForms\ButtonBase.cs (2)
162
public override
Color
BackColor {
168
if (value !=
Color
.Empty) {
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (36)
94
internal static
Color
MixedColor(
Color
color1,
Color
color2) {
110
return
Color
.FromArgb(a3, r3, g3, b3);
115
internal static Brush CreateDitherBrush(
Color
color1,
Color
color2) {
146
internal static void DrawDitheredFill(Graphics g,
Color
color1,
Color
color2, Rectangle bounds) {
477
internal static void DrawFlatBorder(Graphics g, Rectangle r,
Color
c) {
488
internal static void DrawFlatBorderWithSize(Graphics g, Rectangle r,
Color
c, int size) {
527
internal static void DrawFlatFocus(Graphics g, Rectangle r,
Color
c) {
597
internal static void DrawDefaultBorder(Graphics g, Rectangle r,
Color
c, bool isDefault) {
618
void DrawText(Graphics g, LayoutData layout,
Color
c, ColorData colors)
700
Color
foreColor,
725
internal
Color
backColor;
726
internal
Color
foreColor;
731
internal ColorOptions(Graphics graphics,
Color
foreColor,
Color
backColor) {
776
colors.lowButtonFace =
Color
.FromArgb(Adjust255(adjust, colors.buttonFace.R),
784
colors.lowHighlight =
Color
.FromArgb(Adjust255(adjust, colors.highlight.R),
851
internal
Color
buttonFace;
852
internal
Color
buttonShadow;
853
internal
Color
buttonShadowDark;
854
internal
Color
constrastButtonShadow;
855
internal
Color
windowText;
856
internal
Color
windowDisabled;
857
internal
Color
highlight;
858
internal
Color
lowHighlight;
859
internal
Color
lowButtonFace;
860
internal
Color
windowFrame;
1573
static ColorOptions CommonRender(Graphics g,
Color
foreColor,
Color
backColor, bool enabled) {
1590
internal static ColorOptions PaintFlatRender(Graphics g,
Color
foreColor,
Color
backColor, bool enabled) {
1599
internal static ColorOptions PaintPopupRender(Graphics g,
Color
foreColor,
Color
backColor, bool enabled) {
winforms\Managed\System\WinForms\ButtonInternal\ButtonFlatAdapter.cs (4)
25
private void PaintBackground(PaintEventArgs e, Rectangle r,
Color
backColor) {
51
Color
backColor = Control.BackColor;
132
Color
backColor = Control.BackColor;
211
Color
backColor = Control.BackColor;
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (3)
91
Color
color = isHighContrastHighlighted ? SystemColors.Highlight : Control.BackColor;
127
ControlPaint.DrawBackgroundImage(e.Graphics, Control.BackgroundImage,
Color
.Transparent, Control.BackgroundImageLayout, Control.ClientRectangle, bounds, Control.DisplayRectangle.Location, Control.RightToLeft);
187
var
highlightTextColor = SystemColors.HighlightText;
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (20)
26
private static
Color
checkImageCheckedBackColor =
Color
.Empty;
31
private static
Color
checkImageIndeterminateBackColor =
Color
.Empty;
43
protected void DrawCheckFlat(PaintEventArgs e, LayoutData layout,
Color
checkColor,
Color
checkBackground,
Color
checkBorder, ColorData colors) {
85
internal static void DrawCheckBackground(bool controlEnabled, CheckState controlCheckState, Graphics g, Rectangle bounds,
Color
checkColor,
Color
checkBackground, bool disabledColors, ColorData colors)
93
Color
comboColor = SystemInformation.HighContrast ? SystemColors.ControlDark :
98
brush = new WindowsSolidBrush(wg.DeviceContext,
Color
.FromArgb(R, G, B));
115
protected void DrawCheckBackground(PaintEventArgs e, Rectangle bounds,
Color
checkColor,
Color
checkBackground, bool disabledColors, ColorData colors) {
126
protected void DrawCheckOnly(PaintEventArgs e, LayoutData layout, ColorData colors,
Color
checkColor,
Color
checkBackground) {
131
internal static void DrawCheckOnly(int checkSize, bool controlChecked, bool controlEnabled, CheckState controlCheckState, Graphics g, LayoutData layout, ColorData colors,
Color
checkColor,
Color
checkBackground) {
240
private static Bitmap GetCheckBoxImage(
Color
checkColor, Rectangle fullSize, ref
Color
cacheCheckColor, ref Bitmap cacheCheckImage)
260
offscreen.Clear(
Color
.Transparent);
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxFlatAdapter.cs (3)
65
private void PaintFlatWorker(PaintEventArgs e,
Color
checkColor,
Color
checkBackground,
Color
checkBorder, ColorData colors) {
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (12)
29
protected void DrawCheckFlat(PaintEventArgs e, LayoutData layout,
Color
checkColor,
Color
checkBackground,
Color
checkBorder) {
34
protected void DrawCheckBackground3DLite(PaintEventArgs e, Rectangle bounds,
Color
checkColor,
Color
checkBackground, ColorData colors, bool disabledColors) {
37
Color
field = checkBackground;
61
protected void DrawCheckBackgroundFlat(PaintEventArgs e, Rectangle bounds,
Color
borderColor,
Color
checkBackground) {
62
Color
field = checkBackground;
63
Color
border = borderColor;
132
protected void DrawCheckOnly(PaintEventArgs e, LayoutData layout,
Color
checkColor,
Color
checkBackground, bool disabledColors) {
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonFlatAdapter.cs (3)
70
void PaintFlatWorker(PaintEventArgs e,
Color
checkColor,
Color
checkBackground,
Color
checkBorder, ColorData colors) {
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonPopupAdapter.cs (1)
56
Color
checkBackgroundColor = (colors.options.highContrast && AccessibilityImprovements.Level1) ? colors.buttonFace : colors.highlight;
winforms\Managed\System\WinForms\ButtonRenderer.cs (2)
164
Color
textColor;
233
Color
textColor;
winforms\Managed\System\WinForms\CheckBoxRenderer.cs (2)
146
Color
textColor;
192
Color
textColor;
winforms\Managed\System\WinForms\CheckedListBox.cs (4)
735
Color
backColor = (SelectionMode != SelectionMode.None) ? e.BackColor : BackColor;
736
Color
foreColor = (SelectionMode != SelectionMode.None) ? e.ForeColor : ForeColor;
846
Color
backColor = (SelectionMode != SelectionMode.None) ? e.BackColor : BackColor;
855
Color
foreColor = (SelectionMode != SelectionMode.None) ? e.ForeColor : ForeColor;
winforms\Managed\System\WinForms\ColorDialog.cs (6)
44
private
Color
color;
116
public
Color
Color {
125
color =
Color
.Black;
266
color =
Color
.Black;
271
Color =
Color
.Black;
329
return !Color.Equals(
Color
.Black);
winforms\Managed\System\WinForms\ComboBox.cs (8)
310
public override
Color
BackColor {
665
public override
Color
ForeColor {
5973
Color
outerBorderColor = GetOuterBorderColor(comboBox);
5974
Color
innerBorderColor = GetInnerBorderColor(comboBox);
6032
Color
borderPenColor = GetPopupOuterBorderColor(comboBox, focused);
6082
protected virtual
Color
GetOuterBorderColor(ComboBox comboBox) {
6086
protected virtual
Color
GetPopupOuterBorderColor(ComboBox comboBox, bool focused) {
6093
protected virtual
Color
GetInnerBorderColor(ComboBox comboBox) {
winforms\Managed\System\WinForms\ComboBoxRenderer.cs (2)
52
Color
windowColor = visualStyleRenderer.GetColor(ColorProperty.FillColor);
139
Color
textColor = visualStyleRenderer.GetColor(ColorProperty.TextColor);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2ColorConverter.cs (4)
29
return typeof(
Color
);
64
managedValue =
Color
.Black;
67
if (managedValue is
Color
){
68
return ColorTranslator.ToOle(((
Color
)managedValue));
winforms\Managed\System\WinForms\Control.cs (42)
777
private
Color
ActiveXAmbientBackColor {
787
private
Color
ActiveXAmbientForeColor {
1052
Color
color = BackColor;
1081
public virtual
Color
BackColor {
1083
Color
c = RawBackColor; // inheritedProperties.BackColor
1115
if (!value.Equals(
Color
.Empty) && !GetStyle(ControlStyles.SupportsTransparentBackColor) && value.A < 255)
1118
Color
c = BackColor;
2145
public static
Color
DefaultBackColor {
2184
public static
Color
DefaultForeColor {
2251
internal
Color
DisabledColor {
2253
Color
color = BackColor;
2711
public virtual
Color
ForeColor {
2713
Color
color = Properties.GetColor(PropForeColor);
2723
Color
c =
Color
.Empty;
2742
Color
c = ForeColor;
3194
private bool IsValidBackColor (
Color
c){
3505
internal
Color
RawBackColor {
3648
private bool RenderColorTransparent(
Color
c) {
3838
Color
oldBackColor =
Color
.Empty;
3839
Color
oldForeColor =
Color
.Empty;
5477
Color
oldForeColor = ForeColor;
5478
Color
oldBackColor = BackColor;
8329
Color
backColor = Properties.GetColor(PropBackColor);
8446
Color
foreColor = Properties.GetColor(PropForeColor);
9591
internal void PaintBackground(PaintEventArgs e, Rectangle rectangle,
Color
backColor) {
9595
internal void PaintBackground(PaintEventArgs e, Rectangle rectangle,
Color
backColor, Point scrollOffset) {
9634
private static void PaintBackColor(PaintEventArgs e, Rectangle rectangle,
Color
backColor) {
9640
Color
color = backColor;
9736
using (Pen pen = new Pen(
Color
.Red, penThickness)) {
10872
BackColor =
Color
.Empty;
10903
ForeColor =
Color
.Empty;
12246
Color
backColor = Properties.GetColor(PropBackColor);
12275
Color
foreColor = Properties.GetColor(PropForeColor);
16326
internal
Color
AmbientBackColor {
16350
return
Color
.Empty;
16353
return(
Color
)prop.Value;
16408
internal
Color
AmbientForeColor {
16432
return
Color
.Empty;
16435
return(
Color
)prop.Value;
winforms\Managed\System\WinForms\ControlPaint.cs (117)
43
private static
Color
focusPenColor; // the last background color the focus pen was created with
52
private static
Color
frameColorActive; // color of active frame brush
55
private static
Color
frameColorSelected; // color of selected frame brush
140
public static
Color
ContrastControlDark {
193
public static IntPtr CreateHBitmap16Bit(Bitmap bitmap,
Color
background) {
343
lb.lbColor = ColorTranslator.ToWin32(
Color
.Black);
396
public static
Color
Dark(
Color
baseColor, float percOfDarkDark) {
404
public static
Color
Dark(
Color
baseColor) {
412
public static
Color
DarkDark(
Color
baseColor) {
417
internal static bool IsDarker(
Color
c1,
Color
c2) {
434
ControlPaint.DrawBorder(graphics, bounds,
Color
.FromKnownColor(KnownColor.WindowFrame), ButtonBorderStyle.Solid);
446
internal static void DrawBackgroundImage(Graphics g, Image backgroundImage,
Color
backColor, ImageLayout backgroundImageLayout, Rectangle bounds, Rectangle clipRect) {
449
internal static void DrawBackgroundImage(Graphics g, Image backgroundImage,
Color
backColor, ImageLayout backgroundImageLayout, Rectangle bounds, Rectangle clipRect, Point scrollOffset) {
453
internal static void DrawBackgroundImage(Graphics g, Image backgroundImage,
Color
backColor, ImageLayout backgroundImageLayout, Rectangle bounds, Rectangle clipRect, Point scrollOffset, RightToLeft rightToLeft) {
533
public static void DrawBorder(Graphics graphics, Rectangle bounds,
Color
color, ButtonBorderStyle style) {
562
Color
leftColor, int leftWidth, ButtonBorderStyle leftStyle,
563
Color
topColor, int topWidth, ButtonBorderStyle topStyle,
564
Color
rightColor, int rightWidth, ButtonBorderStyle rightStyle,
565
Color
bottomColor, int bottomWidth, ButtonBorderStyle bottomStyle) {
982
private static void DrawBorderComplex(Graphics graphics, Rectangle bounds,
Color
color, ButtonBorderStyle style) {
1083
private static void DrawBorderSimple(Graphics graphics, Rectangle bounds,
Color
color, ButtonBorderStyle style) {
1121
NativeMethods.DFCS_BUTTONPUSH | (int) state,
Color
.Empty,
Color
.Empty);
1138
(int) button | (int) state,
Color
.Empty,
Color
.Empty);
1161
NativeMethods.DFCS_BUTTONCHECK | (int) state,
Color
.Empty,
Color
.Empty);
1179
NativeMethods.DFCS_SCROLLCOMBOBOX | (int) state,
Color
.Empty,
Color
.Empty);
1241
Color
foreground = ((state & ButtonState.Inactive) == ButtonState.Inactive) ?
1254
private static void DrawFlatCheckBox(Graphics graphics, Rectangle rectangle,
Color
foreground, Brush background, ButtonState state) {
1281
g2.Clear(
Color
.Transparent);
1321
public static void DrawFocusRectangle(Graphics graphics, Rectangle rectangle,
Color
foreColor,
Color
backColor) {
1325
internal static void DrawHighContrastFocusRectangle(Graphics graphics, Rectangle rectangle,
Color
color) {
1329
private static void DrawFocusRectangle(Graphics graphics, Rectangle rectangle,
Color
color, bool highContrast) {
1350
int kind, int state,
Color
foreColor,
Color
backColor) {
1364
g2.Clear(
Color
.Transparent);
1370
if (foreColor ==
Color
.Empty || backColor ==
Color
.Empty) {
1377
cm1.OldColor =
Color
.Black;
1380
cm2.OldColor =
Color
.White;
1447
public static void DrawGrid(Graphics graphics, Rectangle area, Size pixelsBetweenDots,
Color
backColor) {
1470
Color
foreColor = (gridInvert) ?
Color
.White :
Color
.Black;
1501
Color
replaceBlack) {
1503
RemapBlackAndWhitePreserveTransparentMatrix(replaceBlack,
Color
.White));
1515
internal static void DrawImageReplaceColor(Graphics g, Image image, Rectangle dest,
Color
oldColor,
Color
newColor) {
1545
public static void DrawImageDisabled(Graphics graphics, Image image, int x, int y,
Color
background) {
1553
internal static void DrawImageDisabled(Graphics graphics, Image image, Rectangle imageBounds,
Color
background, bool unscaledImage) {
1704
public static void DrawMenuGlyph(Graphics graphics, Rectangle rectangle, MenuGlyph glyph,
Color
foreColor,
Color
backColor)
1715
(int) glyph,
Color
.Empty,
Color
.Empty);
1723
public static void DrawMenuGlyph(Graphics graphics, int x, int y, int width, int height, MenuGlyph glyph,
Color
foreColor,
Color
backColor)
1742
NativeMethods.DFCS_BUTTON3STATE | (int) state,
Color
.Empty,
Color
.Empty);
1759
NativeMethods.DFCS_BUTTONRADIO | ((int)state),
Color
.Empty,
Color
.Empty);
1770
public static void DrawReversibleFrame(Rectangle rectangle,
Color
backColor, FrameStyle style) {
1772
Color
graphicsColor;
1776
graphicsColor =
Color
.White;
1780
graphicsColor =
Color
.Black;
1821
public static void DrawReversibleLine(Point start, Point end,
Color
backColor) {
1858
(int)button | (int)state,
Color
.Empty,
Color
.Empty);
1866
public static void DrawSelectionFrame(Graphics graphics, bool active, Rectangle outsideRect, Rectangle insideRect,
Color
backColor) {
1890
public static void DrawSizeGrip(Graphics graphics,
Color
backColor, Rectangle bounds) {
1899
public static void DrawSizeGrip(Graphics graphics,
Color
backColor, int x, int y, int width, int height) {
1928
Color
color, RectangleF layoutRectangle,
1957
Color
color, Rectangle layoutRectangle,
1968
Color
paintcolor = LightLight(color);
1999
public static void FillReversibleRectangle(Rectangle rectangle,
Color
backColor) {
2121
private static int GetColorRop(
Color
color, int darkROP, int lightROP) {
2134
private static Brush GetActiveBrush(
Color
backColor) {
2135
Color
brushColor;
2162
bitmap.SetPixel(x, y,
Color
.Transparent);
2188
private static Pen GetFocusPen(
Color
baseColor, bool odds, bool highContrast) {
2205
Color
color1 =
Color
.Transparent;
2206
Color
color2;
2214
color2 =
Color
.Black;
2220
else if (baseColor ==
Color
.Transparent) {
2221
color1 =
Color
.White;
2255
private static Brush GetSelectedBrush(
Color
backColor) {
2256
Color
brushColor;
2282
bitmap.SetPixel(x, y,
Color
.Transparent);
2318
private static
Color
InvertColor(
Color
color) {
2319
return
Color
.FromArgb(color.A, (byte)~color.R, (byte)~color.G, (byte)~color.B);
2326
public static
Color
Light(
Color
baseColor, float percOfLightLight) {
2334
public static
Color
Light(
Color
baseColor) {
2342
public static
Color
LightLight(
Color
baseColor) {
2568
private static ColorMatrix RemapBlackAndWhitePreserveTransparentMatrix(
Color
replaceBlack,
Color
replaceWhite) {
2815
public HLSColor(
Color
color) {
2896
public
Color
Darker(float percDarker) {
2907
Color
dark = SystemColors.ControlDark;
2908
Color
darkDark = SystemColors.ControlDarkDark;
2914
return
Color
.FromArgb((byte)(dark.R - (byte)(dr * percDarker)),
2963
public
Color
Lighter(float percLighter) {
2974
Color
light = SystemColors.ControlLight;
2975
Color
lightLight = SystemColors.ControlLightLight;
2981
return
Color
.FromArgb((byte)(light.R - (byte)(dr * percLighter)),
3042
private
Color
ColorFromHLS(int hue, int luminosity, int saturation) {
3065
return
Color
.FromArgb(r,g,b);
winforms\Managed\System\WinForms\DataGrid.cs (16)
415
public
Color
AlternatingBackColor {
469
public override
Color
BackColor {
500
public override
Color
ForeColor {
722
public
Color
CaptionBackColor {
762
public
Color
CaptionForeColor {
1188
public
Color
SelectionBackColor {
1243
public
Color
SelectionForeColor {
1801
public
Color
GridLineColor {
2000
public
Color
HeaderBackColor {
2078
public
Color
BackgroundColor {
2177
public
Color
HeaderForeColor {
2351
public
Color
LinkColor {
2403
public
Color
LinkHoverColor {
2595
public
Color
ParentRowsBackColor {
2639
public
Color
ParentRowsForeColor {
6710
internal static bool IsTransparentColor(
Color
color) {
winforms\Managed\System\WinForms\DataGridBoolColumn.cs (1)
378
/// row number, <see cref='System.Drawing.Brush'/>, and <see cref='System.Drawing.
Color
'/>. </para>
winforms\Managed\System\WinForms\DataGridCaption.cs (3)
82
colorMap[0].OldColor =
Color
.White;
140
internal
Color
BackColor {
242
internal
Color
ForeColor {
winforms\Managed\System\WinForms\DataGridParentRows.cs (6)
83
this.colorMap[0].OldColor =
Color
.Black;
101
internal
Color
BackColor {
220
internal
Color
ForeColor {
741
private Bitmap GetBitmap(string bitmapName,
Color
transparentColor) {
758
rightArrow = GetBitmap("DataGridParentRows.RightArrow.bmp",
Color
.White);
767
leftArrow = GetBitmap("DataGridParentRows.LeftArrow.bmp",
Color
.White);
winforms\Managed\System\WinForms\DataGridRow.cs (2)
81
colorMap[0].OldColor =
Color
.Black;
569
colorMap[0].OldColor =
Color
.Black;
winforms\Managed\System\WinForms\DataGridTable.cs (10)
161
public
Color
AlternatingBackColor {
252
public
Color
BackColor {
405
public
Color
ForeColor {
463
public
Color
GridLineColor {
579
public
Color
HeaderBackColor {
721
public
Color
HeaderForeColor {
797
public
Color
LinkColor {
864
public
Color
LinkHoverColor {
1213
public
Color
SelectionBackColor {
1288
public
Color
SelectionForeColor {
winforms\Managed\System\WinForms\DataGridView.cs (13)
1239
public override
Color
BackColor
1285
public
Color
BackgroundColor
2504
else if (this.defaultCellStyle.BackColor ==
Color
.Empty ||
2505
this.defaultCellStyle.ForeColor ==
Color
.Empty ||
2506
this.defaultCellStyle.SelectionBackColor ==
Color
.Empty ||
2507
this.defaultCellStyle.SelectionForeColor ==
Color
.Empty ||
2514
if (this.defaultCellStyle.BackColor ==
Color
.Empty)
2518
if (this.defaultCellStyle.ForeColor ==
Color
.Empty)
2523
if (this.defaultCellStyle.SelectionBackColor ==
Color
.Empty)
2527
if (this.defaultCellStyle.SelectionForeColor ==
Color
.Empty)
2616
private static
Color
DefaultGridColor
3242
public override
Color
ForeColor
3316
public
Color
GridColor
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (3)
850
Color
mouseOverBackColor = SystemColors.ControlDark;
944
ControlPaint.DrawFocusRectangle(g, Rectangle.Inflate(valBounds, -1, -1),
Color
.Empty, SystemColors.Control);
1027
Color
textColor;
winforms\Managed\System\WinForms\DataGridViewCell.cs (9)
1178
internal static int ColorDistance(
Color
color1,
Color
color2)
1679
internal void GetContrastedPens(
Color
baseline, ref Pen darkPen, ref Pen lightPen)
2176
inheritedCellStyleTmp.BackColor =
Color
.Empty;
2177
inheritedCellStyleTmp.ForeColor =
Color
.Empty;
2178
inheritedCellStyleTmp.SelectionBackColor =
Color
.Empty;
2179
inheritedCellStyleTmp.SelectionForeColor =
Color
.Empty;
3577
Color
dividerWidthColor;
3615
Color
dividerHeightColor;
winforms\Managed\System\WinForms\DataGridViewCellStyle.cs (12)
145
public
Color
BackColor
153
Color
c = this.BackColor;
239
public
Color
ForeColor
247
Color
c = this.ForeColor;
488
public
Color
SelectionBackColor
496
Color
c = this.SelectionBackColor;
512
public
Color
SelectionForeColor
520
Color
c = this.SelectionForeColor;
821
if (this.BackColor !=
Color
.Empty)
826
if (this.ForeColor !=
Color
.Empty)
835
if (this.SelectionBackColor !=
Color
.Empty)
844
if (this.SelectionForeColor !=
Color
.Empty)
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (5)
1246
ControlPaint.DrawFocusRectangle(g, valBounds,
Color
.Empty, br.Color);
1367
Color
highlight =
Color
.Empty;
1385
highlight =
Color
.FromArgb(ButtonInternal.ButtonBaseAdapter.ColorOptions.Adjust255(adjust, highlight.R),
1437
offscreen.Clear(
Color
.Transparent);
winforms\Managed\System\WinForms\DataGridViewColumnHeaderCell.cs (1)
930
Color
textColor;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (9)
2320
Color
color= SystemColors.Control;
2321
Color
buttonShadow;
2322
Color
buttonShadowDark;
2323
Color
buttonFace = color;
2324
Color
highlight;
2548
ControlPaint.DrawFocusRectangle(g, focusBounds,
Color
.Empty, br.Color);
2559
ControlPaint.DrawFocusRectangle(g, focusBounds,
Color
.Empty, br.Color);
2564
ControlPaint.DrawFocusRectangle(g, textBounds,
Color
.Empty, br.Color);
2607
Color
textColor;
winforms\Managed\System\WinForms\DataGridViewComboBoxEditingControl.cs (2)
135
Color
opaqueBackColor =
Color
.FromArgb(255, dataGridViewCellStyle.BackColor);
winforms\Managed\System\WinForms\DataGridViewImageCell.cs (1)
952
ControlPaint.DrawFocusRectangle(g, valBounds,
Color
.Empty, br.Color);
winforms\Managed\System\WinForms\DataGridViewLinkCell.cs (14)
56
public
Color
ActiveLinkColor
65
return (
Color
)this.Properties.GetObject(PropLinkCellActiveLinkColor);
97
internal
Color
ActiveLinkColorInternal
189
public
Color
LinkColor
198
return (
Color
)this.Properties.GetObject(PropLinkCellLinkColor);
230
internal
Color
LinkColorInternal
393
public
Color
VisitedLinkColor
402
return (
Color
)this.Properties.GetObject(PropLinkCellVisitedLinkColor);
434
internal
Color
VisitedLinkColorInternal
455
private
Color
HighContrastLinkColor
1084
ControlPaint.DrawFocusRectangle(g, focusBounds,
Color
.Empty, br.Color);
1086
Color
linkColor;
1121
ControlPaint.DrawFocusRectangle(g, errorBounds,
Color
.Empty, br.Color);
1147
ControlPaint.DrawFocusRectangle(g, valBounds,
Color
.Empty, br.Color);
winforms\Managed\System\WinForms\DataGridViewLinkColumn.cs (3)
34
public
Color
ActiveLinkColor
144
public
Color
LinkColor
317
public
Color
VisitedLinkColor
winforms\Managed\System\WinForms\DataGridViewMethods.cs (3)
5737
ControlPaint.FillReversibleRectangle(RectangleToScreen(rectInsertionBar),
Color
.White);
6822
internal SolidBrush GetCachedBrush(
Color
color)
6848
internal Pen GetCachedPen(
Color
color)
winforms\Managed\System\WinForms\DataGridViewRow.cs (2)
1291
Color
backColor;
1300
ControlPaint.DrawFocusRectangle(graphics, bounds,
Color
.Empty, backColor);
winforms\Managed\System\WinForms\DataGridViewRowHeaderCell.cs (5)
944
Color
iconColor;
998
Color
textColor;
1092
Color
iconColor;
1130
private void PaintIcon(Graphics g, Bitmap bmp, Rectangle bounds,
Color
foreColor)
1139
colorMap[0].OldColor =
Color
.Black;
winforms\Managed\System\WinForms\DataGridViewTextBoxCell.cs (1)
745
ControlPaint.DrawFocusRectangle(graphics, valBounds,
Color
.Empty, br.Color);
winforms\Managed\System\WinForms\DataGridViewTextBoxEditingControl.cs (2)
137
Color
opaqueBackColor =
Color
.FromArgb(255, dataGridViewCellStyle.BackColor);
winforms\Managed\System\WinForms\DataGridViewTopLeftHeaderCell.cs (1)
344
Color
textColor;
winforms\Managed\System\WinForms\DateTimePicker.cs (17)
45
protected static readonly
Color
DefaultTitleBackColor = SystemColors.ActiveCaption;
50
protected static readonly
Color
DefaultTitleForeColor = SystemColors.ActiveCaptionText;
55
protected static readonly
Color
DefaultMonthBackColor = SystemColors.Window;
60
protected static readonly
Color
DefaultTrailingForeColor = SystemColors.GrayText;
107
private
Color
calendarForeColor = DefaultForeColor;
108
private
Color
calendarTitleBackColor = DefaultTitleBackColor;
109
private
Color
calendarTitleForeColor = DefaultTitleForeColor;
110
private
Color
calendarMonthBackground = DefaultMonthBackColor;
111
private
Color
calendarTrailingText = DefaultTrailingForeColor;
158
public override
Color
BackColor {
244
public
Color
CalendarForeColor {
311
public
Color
CalendarTitleBackColor {
336
public
Color
CalendarTitleForeColor {
361
public
Color
CalendarTrailingForeColor {
386
public
Color
CalendarMonthBackground {
592
public override
Color
ForeColor {
1395
private void SetControlColor(int colorIndex,
Color
value) {
winforms\Managed\System\WinForms\DrawItemEvent.cs (6)
29
private
Color
backColor;
35
private
Color
foreColor;
91
int index, DrawItemState state,
Color
foreColor,
Color
backColor) {
102
public
Color
BackColor {
139
public
Color
ForeColor {
winforms\Managed\System\WinForms\DrawListViewColumnHeaderEventArgs.cs (6)
31
private readonly
Color
foreColor;
32
private readonly
Color
backColor;
42
Color
foreColor,
Color
backColor, Font font) {
122
public
Color
ForeColor {
132
public
Color
BackColor {
winforms\Managed\System\WinForms\DrawListViewSubItemEventArgs.cs (2)
171
Color
backColor = (itemIndex == -1) ? item.BackColor : subItem.BackColor;
217
Color
color = (itemIndex == -1) ? item.ForeColor : subItem.ForeColor;
winforms\Managed\System\WinForms\DrawToolTipEventArgs.cs (4)
31
private readonly
Color
backColor;
32
private readonly
Color
foreColor;
40
Color
backColor,
Color
foreColor, Font font)
winforms\Managed\System\WinForms\FlatButtonAppearance.cs (17)
23
private
Color
borderColor =
Color
.Empty;
24
private
Color
checkedBackColor =
Color
.Empty;
25
private
Color
mouseDownBackColor =
Color
.Empty;
26
private
Color
mouseOverBackColor =
Color
.Empty;
74
DefaultValue(typeof(
Color
), ""),
76
public
Color
BorderColor {
81
if (value.Equals(
Color
.Transparent)) {
103
DefaultValue(typeof(
Color
), ""),
105
public
Color
CheckedBackColor {
129
DefaultValue(typeof(
Color
), ""),
131
public
Color
MouseDownBackColor {
155
DefaultValue(typeof(
Color
), ""),
157
public
Color
MouseOverBackColor {
winforms\Managed\System\WinForms\FontDialog.cs (3)
48
private
Color
color;
168
DefaultValue(typeof(
Color
), "Black")
170
public
Color
Color {
winforms\Managed\System\WinForms\Form.cs (11)
540
Properties.SetObject(PropTransparencyKey,
Color
.Empty);
767
public override
Color
BackColor {
771
Color
c = RawBackColor; // inheritedProperties.BackColor
2102
formState[FormStateLayered] = (this.TransparencyKey !=
Color
.Empty) ? 1 : 0;
2598
public
Color
TransparencyKey {
2602
return (
Color
)key;
2604
return
Color
.Empty;
2610
if (value !=
Color
.Empty)
5629
TransparencyKey =
Color
.Empty;
6310
return !TransparencyKey.Equals(
Color
.Empty);
6454
Color
transparencyKey = TransparencyKey;
winforms\Managed\System\WinForms\GDI\TextRenderer.cs (15)
29
public static void DrawText(IDeviceContext dc, string text, Font font, Point pt,
Color
foreColor)
56
public static void DrawText(IDeviceContext dc, string text, Font font, Point pt,
Color
foreColor,
Color
backColor)
83
public static void DrawText(IDeviceContext dc, string text, Font font, Point pt,
Color
foreColor, TextFormatFlags flags)
101
public static void DrawText(IDeviceContext dc, string text, Font font, Point pt,
Color
foreColor,
Color
backColor, TextFormatFlags flags)
119
public static void DrawText(IDeviceContext dc, string text, Font font, Rectangle bounds,
Color
foreColor)
146
public static void DrawText(IDeviceContext dc, string text, Font font, Rectangle bounds,
Color
foreColor,
Color
backColor)
173
public static void DrawText(IDeviceContext dc, string text, Font font, Rectangle bounds,
Color
foreColor, TextFormatFlags flags)
191
public static void DrawText(IDeviceContext dc, string text, Font font, Rectangle bounds,
Color
foreColor,
Color
backColor, TextFormatFlags flags)
338
internal static
Color
DisabledTextColor(
Color
backColor) {
346
Color
disabledTextForeColor = SystemColors.ControlDark;
winforms\Managed\System\WinForms\GroupBox.cs (3)
536
Color
textcolor = this.Enabled ? ForeColor : TextRenderer.DisabledTextColor(this.BackColor);
555
Color
backColor = DisabledColor;
627
Color
boxColor;
winforms\Managed\System\WinForms\GroupBoxRenderer.cs (6)
121
public static void DrawGroupBox(Graphics g, Rectangle bounds, string groupBoxText, Font font,
Color
textColor, GroupBoxState state) {
144
public static void DrawGroupBox(Graphics g, Rectangle bounds, string groupBoxText, Font font,
Color
textColor, TextFormatFlags flags, GroupBoxState state) {
164
private static void DrawThemedGroupBoxWithText(Graphics g, Rectangle bounds, string groupBoxText, Font font,
Color
textColor, TextFormatFlags flags, GroupBoxState state) {
224
Color
backColor = SystemColors.Control;
259
private static void DrawUnthemedGroupBoxWithText(Graphics g, Rectangle bounds, string groupBoxText, Font font,
Color
textColor, TextFormatFlags flags, GroupBoxState state) {
310
private static
Color
DefaultTextColor(GroupBoxState state) {
winforms\Managed\System\WinForms\Help.cs (1)
175
pop.clrBackground =
Color
.FromKnownColor(KnownColor.Window).ToArgb() & 0x00ffffff;
winforms\Managed\System\WinForms\HtmlDocument.cs (22)
185
public
Color
BackColor
189
Color
c =
Color
.Empty;
214
public
Color
ForeColor
218
Color
c =
Color
.Empty;
243
public
Color
LinkColor
247
Color
c =
Color
.Empty;
272
public
Color
ActiveLinkColor
276
Color
c =
Color
.Empty;
301
public
Color
VisitedLinkColor
305
Color
c =
Color
.Empty;
837
private
Color
ColorFromObject(object oColor)
850
return
Color
.FromArgb(255,
Color
.FromArgb(int.Parse(hexColor, NumberStyles.HexNumber, CultureInfo.InvariantCulture)));
854
return
Color
.FromName(strColor);
860
return
Color
.FromArgb(255,
Color
.FromArgb((int)oColor));
871
return
Color
.Empty;
winforms\Managed\System\WinForms\ImageList.cs (15)
47
private static
Color
fakeTransparencyColor =
Color
.FromArgb(0x0d, 0x0b, 0x0c);
64
private
Color
transparentColor =
Color
.Transparent;
385
public
Color
TransparentColor {
432
Color
transparent = transparentColor;
892
TransparentColor =
Color
.LightGray;
896
return !TransparentColor.Equals(
Color
.LightGray);
964
internal
Color
customTransparentColor =
Color
.Transparent;
969
: this(image, options,
Color
.Transparent) {
973
: this(image, options,
Color
.Transparent) {
977
internal Original(object image, OriginalOptions options,
Color
customTransparentColor) {
986
Debug.Assert(customTransparentColor.Equals(
Color
.Transparent),
1308
public int Add(Image value,
Color
transparentColor) {
winforms\Managed\System\WinForms\Label.cs (2)
1523
Color
color;
1567
Color
disabledTextForeColor = TextRenderer.DisabledTextColor(this.BackColor);
winforms\Managed\System\WinForms\LinkLabel.cs (28)
46
static
Color
iedisabledLinkColor =
Color
.Empty;
57
Color
linkColor =
Color
.Empty;
58
Color
activeLinkColor =
Color
.Empty;
59
Color
visitedLinkColor =
Color
.Empty;
60
Color
disabledLinkColor =
Color
.Empty;
105
public
Color
ActiveLinkColor {
132
public
Color
DisabledLinkColor {
172
private
Color
IELinkColor {
178
private
Color
IEActiveLinkColor {
183
private
Color
IEVisitedLinkColor {
188
private
Color
IEDisabledLinkColor {
309
public
Color
LinkColor {
468
public
Color
VisitedLinkColor {
1243
Color
foreColor;
1387
Color
brushColor =
Color
.Empty;
1422
SolidBrush useBrush = brushColor ==
Color
.Empty ? linkBrush : new SolidBrush( brushColor );
1432
if(brushColor ==
Color
.Empty ){
1487
Color
color;
1654
activeLinkColor =
Color
.Empty;
1658
disabledLinkColor =
Color
.Empty;
1662
linkColor =
Color
.Empty;
1667
visitedLinkColor =
Color
.Empty;
winforms\Managed\System\WinForms\LinkUtilities.cs (17)
18
static
Color
ielinkColor =
Color
.Empty;
19
static
Color
ieactiveLinkColor =
Color
.Empty;
20
static
Color
ievisitedLinkColor =
Color
.Empty;
33
private static
Color
GetIEColor(string name) {
62
return
Color
.FromArgb(rgb[0], rgb[1], rgb[2]);
67
return
Color
.Blue;
70
return
Color
.Purple;
73
return
Color
.Red;
76
return
Color
.Red;
85
public static
Color
IELinkColor {
94
public static
Color
IEActiveLinkColor {
102
public static
Color
IEVisitedLinkColor {
112
public static
Color
GetVisitedLinkColor()
118
return
Color
.FromArgb(r, g, b);
winforms\Managed\System\WinForms\ListBox.cs (2)
188
public override
Color
BackColor {
490
public override
Color
ForeColor {
winforms\Managed\System\WinForms\ListItemConverter.cs (10)
102
typeof(
Color
),
103
typeof(
Color
),
109
item.SubItems[0].CustomForeColor ? item.ForeColor :
Color
.Empty,
110
item.SubItems[0].CustomBackColor ? item.BackColor :
Color
.Empty,
118
typeof(
Color
),
119
typeof(
Color
),
125
item.SubItems[0].CustomForeColor ? item.ForeColor :
Color
.Empty,
126
item.SubItems[0].CustomBackColor ? item.BackColor :
Color
.Empty,
209
typeof(
Color
),
210
typeof(
Color
),
winforms\Managed\System\WinForms\ListView.cs (15)
126
private
Color
odCacheForeColor = SystemColors.WindowText;
127
private
Color
odCacheBackColor = SystemColors.Window;
374
public override
Color
BackColor {
842
public override
Color
ForeColor
2712
Color
subItemForeColor =
Color
.Empty;
2713
Color
subItemBackColor =
Color
.Empty;
2746
Color
riFore =
Color
.Empty;
2747
Color
riBack =
Color
.Empty;
4640
Color
c;
5478
Color
foreColor = ColorTranslator.FromWin32(SafeNativeMethods.GetTextColor(new HandleRef(this, nmcd->hdc)));
5479
Color
backColor = ColorTranslator.FromWin32(SafeNativeMethods.GetBkColor(new HandleRef(this, nmcd->hdc)));
winforms\Managed\System\WinForms\ListViewInsertionMark.cs (3)
24
private
Color
color =
Color
.Empty;
74
public
Color
Color {
winforms\Managed\System\WinForms\ListViewItem.cs (28)
167
public ListViewItem(string[] items, int imageIndex,
Color
foreColor,
Color
backColor, Font font) : this(items, imageIndex) {
234
public ListViewItem(string[] items, int imageIndex,
Color
foreColor,
Color
backColor, Font font, ListViewGroup group) :
276
public ListViewItem(string[] items, string imageKey,
Color
foreColor,
Color
backColor, Font font) : this(items, imageKey) {
319
public ListViewItem(string[] items, string imageKey,
Color
foreColor,
Color
backColor, Font font, ListViewGroup group) :
341
public
Color
BackColor {
466
public
Color
ForeColor {
1273
BackColor = (
Color
)info.GetValue(entry.Name, typeof(
Color
));
1282
ForeColor = (
Color
)info.GetValue(entry.Name, typeof(
Color
));
1454
public ListViewSubItem(ListViewItem owner, string text,
Color
foreColor,
Color
backColor, Font font) {
1468
public
Color
BackColor {
1470
if (style != null && style.backColor !=
Color
.Empty) {
1566
public
Color
ForeColor {
1568
if (style != null && style.foreColor !=
Color
.Empty) {
1699
public
Color
backColor =
Color
.Empty;
1700
public
Color
foreColor =
Color
.Empty;
1850
public ListViewSubItem Add(string text,
Color
foreColor,
Color
backColor, Font font) {
1889
public void AddRange(string[] items,
Color
foreColor,
Color
backColor, Font font) {
winforms\Managed\System\WinForms\MonthCalendar.cs (12)
81
static readonly
Color
DEFAULT_TITLE_BACK_COLOR = SystemColors.ActiveCaption;
82
static readonly
Color
DEFAULT_TITLE_FORE_COLOR = SystemColors.ActiveCaptionText;
83
static readonly
Color
DEFAULT_TRAILING_FORE_COLOR = SystemColors.GrayText;
118
private
Color
titleBackColor = DEFAULT_TITLE_BACK_COLOR;
119
private
Color
titleForeColor = DEFAULT_TITLE_FORE_COLOR;
120
private
Color
trailingForeColor = DEFAULT_TRAILING_FORE_COLOR;
307
public override
Color
BackColor {
531
public override
Color
ForeColor {
1113
public
Color
TitleBackColor {
1136
public
Color
TitleForeColor {
1159
public
Color
TrailingForeColor {
1977
private void SetControlColor(int colorIndex,
Color
value) {
winforms\Managed\System\WinForms\OwnerDrawPropertyBag.cs (8)
32
Color
foreColor =
Color
.Empty;
33
Color
backColor =
Color
.Empty;
48
foreColor =(
Color
)entry.Value;
52
backColor = (
Color
)entry.Value;
77
public
Color
ForeColor {
90
public
Color
BackColor {
winforms\Managed\System\WinForms\PictureBox.cs (1)
324
public override
Color
ForeColor {
winforms\Managed\System\WinForms\Printing\PrintPreviewControl.cs (2)
712
ForeColor =
Color
.White;
957
return !ForeColor.Equals(
Color
.White);
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (3)
206
public override
Color
BackColor {
561
new public
Color
TransparencyKey {
929
public override
Color
ForeColor {
winforms\Managed\System\WinForms\ProfessionalColors.cs (56)
51
public static
Color
ButtonSelectedHighlight {
56
public static
Color
ButtonSelectedHighlightBorder {
62
public static
Color
ButtonPressedHighlight {
68
public static
Color
ButtonPressedHighlightBorder {
73
public static
Color
ButtonCheckedHighlight {
78
public static
Color
ButtonCheckedHighlightBorder {
83
public static
Color
ButtonPressedBorder {
88
public static
Color
ButtonSelectedBorder {
93
public static
Color
ButtonCheckedGradientBegin {
98
public static
Color
ButtonCheckedGradientMiddle {
103
public static
Color
ButtonCheckedGradientEnd {
108
public static
Color
ButtonSelectedGradientBegin {
113
public static
Color
ButtonSelectedGradientMiddle {
118
public static
Color
ButtonSelectedGradientEnd {
123
public static
Color
ButtonPressedGradientBegin {
128
public static
Color
ButtonPressedGradientMiddle {
133
public static
Color
ButtonPressedGradientEnd {
138
public static
Color
CheckBackground {
143
public static
Color
CheckSelectedBackground {
148
public static
Color
CheckPressedBackground {
153
public static
Color
GripDark {
158
public static
Color
GripLight {
185
public static
Color
ImageMarginGradientBegin {
190
public static
Color
ImageMarginGradientMiddle {
195
public static
Color
ImageMarginGradientEnd {
200
public static
Color
ImageMarginRevealedGradientBegin {
205
public static
Color
ImageMarginRevealedGradientMiddle {
210
public static
Color
ImageMarginRevealedGradientEnd {
215
public static
Color
MenuStripGradientBegin {
220
public static
Color
MenuStripGradientEnd{
225
public static
Color
MenuBorder {
230
public static
Color
MenuItemSelected {
235
public static
Color
MenuItemBorder {
240
public static
Color
MenuItemSelectedGradientBegin {
245
public static
Color
MenuItemSelectedGradientEnd {
250
public static
Color
MenuItemPressedGradientBegin {
255
public static
Color
MenuItemPressedGradientMiddle {
260
public static
Color
MenuItemPressedGradientEnd {
266
public static
Color
RaftingContainerGradientBegin {
271
public static
Color
RaftingContainerGradientEnd {
276
public static
Color
SeparatorDark {
281
public static
Color
SeparatorLight {
285
public static
Color
StatusStripGradientBegin {
290
public static
Color
StatusStripGradientEnd {
295
public static
Color
ToolStripBorder {
300
public static
Color
ToolStripDropDownBackground {
305
public static
Color
ToolStripGradientBegin {
310
public static
Color
ToolStripGradientMiddle {
315
public static
Color
ToolStripGradientEnd {
320
public static
Color
ToolStripContentPanelGradientBegin {
325
public static
Color
ToolStripContentPanelGradientEnd {
330
public static
Color
ToolStripPanelGradientBegin {
335
public static
Color
ToolStripPanelGradientEnd {
340
public static
Color
OverflowButtonGradientBegin {
345
public static
Color
OverflowButtonGradientMiddle {
350
public static
Color
OverflowButtonGradientEnd {
winforms\Managed\System\WinForms\ProfessionalColorTable.cs (1037)
13
private Dictionary<KnownColors,
Color
> professionalRGB = null;
34
private Dictionary<KnownColors,
Color
> ColorTable {
40
professionalRGB= new Dictionary<KnownColors,
Color
>((int)KnownColors.lastKnownColor);
49
professionalRGB= new Dictionary<KnownColors,
Color
>((int)KnownColors.lastKnownColor);
58
professionalRGB= new Dictionary<KnownColors,
Color
>((int)KnownColors.lastKnownColor);
83
internal
Color
FromKnownColor(ProfessionalColorTable.KnownColors color) {
90
return (
Color
)ColorTable[color];
106
public virtual
Color
ButtonSelectedHighlight {
111
public virtual
Color
ButtonSelectedHighlightBorder {
116
public virtual
Color
ButtonPressedHighlight {
121
public virtual
Color
ButtonPressedHighlightBorder {
126
public virtual
Color
ButtonCheckedHighlight {
131
public virtual
Color
ButtonCheckedHighlightBorder {
136
public virtual
Color
ButtonPressedBorder {
141
public virtual
Color
ButtonSelectedBorder {
146
public virtual
Color
ButtonCheckedGradientBegin {
151
public virtual
Color
ButtonCheckedGradientMiddle {
156
public virtual
Color
ButtonCheckedGradientEnd {
161
public virtual
Color
ButtonSelectedGradientBegin {
166
public virtual
Color
ButtonSelectedGradientMiddle {
171
public virtual
Color
ButtonSelectedGradientEnd {
176
public virtual
Color
ButtonPressedGradientBegin {
181
public virtual
Color
ButtonPressedGradientMiddle {
186
public virtual
Color
ButtonPressedGradientEnd {
190
public virtual
Color
CheckBackground {
195
public virtual
Color
CheckSelectedBackground {
200
public virtual
Color
CheckPressedBackground {
205
public virtual
Color
GripDark {
210
public virtual
Color
GripLight {
215
public virtual
Color
ImageMarginGradientBegin {
220
public virtual
Color
ImageMarginGradientMiddle {
225
public virtual
Color
ImageMarginGradientEnd {
230
public virtual
Color
ImageMarginRevealedGradientBegin {
235
public virtual
Color
ImageMarginRevealedGradientMiddle {
240
public virtual
Color
ImageMarginRevealedGradientEnd {
245
public virtual
Color
MenuStripGradientBegin {
250
public virtual
Color
MenuStripGradientEnd{
255
public virtual
Color
MenuItemSelected {
260
public virtual
Color
MenuItemBorder {
265
public virtual
Color
MenuBorder {
270
public virtual
Color
MenuItemSelectedGradientBegin {
275
public virtual
Color
MenuItemSelectedGradientEnd {
280
public virtual
Color
MenuItemPressedGradientBegin {
286
public virtual
Color
MenuItemPressedGradientMiddle {
291
public virtual
Color
MenuItemPressedGradientEnd {
296
public virtual
Color
RaftingContainerGradientBegin {
301
public virtual
Color
RaftingContainerGradientEnd {
306
public virtual
Color
SeparatorDark {
311
public virtual
Color
SeparatorLight {
316
public virtual
Color
StatusStripGradientBegin {
321
public virtual
Color
StatusStripGradientEnd {
326
public virtual
Color
ToolStripBorder {
331
public virtual
Color
ToolStripDropDownBackground {
336
public virtual
Color
ToolStripGradientBegin {
341
public virtual
Color
ToolStripGradientMiddle {
346
public virtual
Color
ToolStripGradientEnd {
351
public virtual
Color
ToolStripContentPanelGradientBegin {
356
public virtual
Color
ToolStripContentPanelGradientEnd {
361
public virtual
Color
ToolStripPanelGradientBegin {
366
public virtual
Color
ToolStripPanelGradientEnd {
371
public virtual
Color
OverflowButtonGradientBegin {
376
public virtual
Color
OverflowButtonGradientMiddle {
381
public virtual
Color
OverflowButtonGradientEnd {
392
internal
Color
ComboBoxButtonGradientBegin {
395
internal
Color
ComboBoxButtonGradientEnd {
398
internal
Color
ComboBoxButtonSelectedGradientBegin {
401
internal
Color
ComboBoxButtonSelectedGradientEnd {
404
internal
Color
ComboBoxButtonPressedGradientBegin {
407
internal
Color
ComboBoxButtonPressedGradientEnd {
410
internal
Color
ComboBoxButtonOnOverflow {
413
internal
Color
ComboBoxBorder {
416
internal
Color
TextBoxBorder {
426
private static
Color
GetAlphaBlendedColor(Graphics g,
Color
src,
Color
dest, int alpha) {
432
return
Color
.FromArgb(newAlpha, red, green, blue);
435
return g.GetNearestColor(
Color
.FromArgb(newAlpha, red, green, blue));
442
private static
Color
GetAlphaBlendedColorHighRes(Graphics graphics,
Color
src,
Color
dest, int alpha) {
467
return
Color
.FromArgb(r, g, b);
470
return graphics.GetNearestColor(
Color
.FromArgb(r, g, b));
475
private void InitCommonColors(ref Dictionary<KnownColors,
Color
> rgbTable) {
494
internal void InitSystemColors(ref Dictionary<KnownColors,
Color
> rgbTable) {
501
Color
buttonFace = SystemColors.ButtonFace;
502
Color
buttonShadow = SystemColors.ButtonShadow;
503
Color
highlight = SystemColors.Highlight;
504
Color
window = SystemColors.Window;
505
Color
empty =
Color
.Empty;
506
Color
controlText = SystemColors.ControlText;
507
Color
buttonHighlight = SystemColors.ButtonHighlight;
508
Color
grayText = SystemColors.GrayText;
509
Color
highlightText = SystemColors.HighlightText;
510
Color
windowText = SystemColors.WindowText;
513
Color
gradientBegin = buttonFace;
514
Color
gradientMiddle = buttonFace;
515
Color
gradientEnd = buttonFace;
516
Color
msocbvcrCBCtlBkgdMouseOver = highlight;
517
Color
msocbvcrCBCtlBkgdMouseDown = highlight;
813
internal void InitOliveLunaColors(ref Dictionary<KnownColors,
Color
> rgbTable) {
814
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBBdrOuterDocked] =
Color
.FromArgb(81, 94, 51);
815
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBBdrOuterDocked] =
Color
.FromArgb(81, 94, 51);
816
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBBdrOuterFloating] =
Color
.FromArgb(116, 134, 94);
817
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBBkgd] =
Color
.FromArgb(209, 222, 173);
818
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBdrMouseDown] =
Color
.FromArgb(63, 93, 56);
819
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBdrMouseOver] =
Color
.FromArgb(63, 93, 56);
820
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBdrSelected] =
Color
.FromArgb(63, 93, 56);
821
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBdrSelectedMouseOver] =
Color
.FromArgb(63, 93, 56);
822
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgd] =
Color
.FromArgb(209, 222, 173);
823
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdLight] =
Color
.FromArgb(255, 255, 255);
824
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdMouseDown] =
Color
.FromArgb(254, 128, 62);
825
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdMouseOver] =
Color
.FromArgb(255, 238, 194);
826
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdMouseOver] =
Color
.FromArgb(255, 238, 194);
827
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdSelected] =
Color
.FromArgb(255, 192, 111);
828
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdSelectedMouseOver] =
Color
.FromArgb(254, 128, 62);
829
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlText] =
Color
.FromArgb(0, 0, 0);
830
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextDisabled] =
Color
.FromArgb(141, 141, 141);
831
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextLight] =
Color
.FromArgb(128, 128, 128);
832
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextMouseDown] =
Color
.FromArgb(0, 0, 0);
833
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextMouseOver] =
Color
.FromArgb(0, 0, 0);
834
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextMouseOver] =
Color
.FromArgb(0, 0, 0);
835
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextMouseOver] =
Color
.FromArgb(0, 0, 0);
836
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBDockSeparatorLine] =
Color
.FromArgb(96, 119, 66);
837
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBDragHandle] =
Color
.FromArgb(81, 94, 51);
838
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBDragHandleShadow] =
Color
.FromArgb(255, 255, 255);
839
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBDropDownArrow] =
Color
.FromArgb(236, 233, 216);
840
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMainMenuHorzBegin] =
Color
.FromArgb(217, 217, 167);
841
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMainMenuHorzEnd] =
Color
.FromArgb(242, 241, 228);
842
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuIconBkgdDroppedBegin] =
Color
.FromArgb(230, 230, 209);
843
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuIconBkgdDroppedEnd] =
Color
.FromArgb(160, 177, 116);
844
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuIconBkgdDroppedMiddle] =
Color
.FromArgb(186, 201, 143);
845
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuTitleBkgdBegin] =
Color
.FromArgb(237, 240, 214);
846
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuTitleBkgdEnd] =
Color
.FromArgb(181, 196, 143);
847
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseDownBegin] =
Color
.FromArgb(254, 128, 62);
848
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseDownEnd] =
Color
.FromArgb(255, 223, 154);
849
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseDownMiddle] =
Color
.FromArgb(255, 177, 109);
850
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseOverBegin] =
Color
.FromArgb(255, 255, 222);
851
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseOverEnd] =
Color
.FromArgb(255, 203, 136);
852
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseOverMiddle] =
Color
.FromArgb(255, 225, 172);
853
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsBegin] =
Color
.FromArgb(186, 204, 150);
854
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsEnd] =
Color
.FromArgb(96, 119, 107);
855
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsMiddle] =
Color
.FromArgb(141, 160, 107);
856
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsMouseOverBegin] =
Color
.FromArgb(255, 255, 222);
857
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsMouseOverEnd] =
Color
.FromArgb(255, 193, 118);
858
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsMouseOverMiddle] =
Color
.FromArgb(255, 225, 172);
859
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsSelectedBegin] =
Color
.FromArgb(254, 140, 73);
860
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsSelectedEnd] =
Color
.FromArgb(255, 221, 152);
861
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsSelectedMiddle] =
Color
.FromArgb(255, 184, 116);
862
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradSelectedBegin] =
Color
.FromArgb(255, 223, 154);
863
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradSelectedEnd] =
Color
.FromArgb(255, 166, 76);
864
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradSelectedMiddle] =
Color
.FromArgb(255, 195, 116);
865
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradVertBegin] =
Color
.FromArgb(255, 255, 237);
866
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradVertEnd] =
Color
.FromArgb(181, 196, 143);
867
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradVertMiddle] =
Color
.FromArgb(206, 220, 167);
868
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBIconDisabledDark] =
Color
.FromArgb(131, 144, 113);
869
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBIconDisabledLight] =
Color
.FromArgb(243, 244, 240);
870
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBLabelBkgnd] =
Color
.FromArgb(218, 227, 187);
871
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBLabelBkgnd] =
Color
.FromArgb(218, 227, 187);
872
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBLowColorIconDisabled] =
Color
.FromArgb(159, 174, 122);
873
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMainMenuBkgd] =
Color
.FromArgb(236, 233, 216);
874
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuBdrOuter] =
Color
.FromArgb(117, 141, 94);
875
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuBkgd] =
Color
.FromArgb(244, 244, 238);
876
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuCtlText] =
Color
.FromArgb(0, 0, 0);
877
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuCtlTextDisabled] =
Color
.FromArgb(141, 141, 141);
878
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuIconBkgd] =
Color
.FromArgb(216, 227, 182);
879
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuIconBkgdDropped] =
Color
.FromArgb(173, 181, 157);
880
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuIconBkgdDropped] =
Color
.FromArgb(173, 181, 157);
881
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuShadow] =
Color
.FromArgb(134, 148, 108);
882
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuSplitArrow] =
Color
.FromArgb(0, 0, 0);
883
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBOptionsButtonShadow] =
Color
.FromArgb(255, 255, 255);
884
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBShadow] =
Color
.FromArgb(96, 128, 88);
885
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBSplitterLine] =
Color
.FromArgb(96, 128, 88);
886
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBSplitterLineLight] =
Color
.FromArgb(244, 247, 222);
887
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBTearOffHandle] =
Color
.FromArgb(197, 212, 159);
888
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBTearOffHandleMouseOver] =
Color
.FromArgb(255, 238, 194);
889
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBTitleBkgd] =
Color
.FromArgb(116, 134, 94);
890
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBTitleText] =
Color
.FromArgb(255, 255, 255);
891
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDisabledFocuslessHighlightedText] =
Color
.FromArgb(172, 168, 153);
892
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDisabledHighlightedText] =
Color
.FromArgb(220, 224, 208);
893
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDlgGroupBoxText] =
Color
.FromArgb(153, 84, 10);
894
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdr] =
Color
.FromArgb(96, 119, 107);
895
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDark] =
Color
.FromArgb(176, 194, 140);
896
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDarkMouseDown] =
Color
.FromArgb(63, 93, 56);
897
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDarkMouseOver] =
Color
.FromArgb(63, 93, 56);
898
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDarkMouseOver] =
Color
.FromArgb(63, 93, 56);
899
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDarkMouseOver] =
Color
.FromArgb(63, 93, 56);
900
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLight] =
Color
.FromArgb(255, 255, 255);
901
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLightMouseDown] =
Color
.FromArgb(63, 93, 56);
902
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLightMouseOver] =
Color
.FromArgb(63, 93, 56);
903
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLightMouseOver] =
Color
.FromArgb(63, 93, 56);
904
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLightMouseOver] =
Color
.FromArgb(63, 93, 56);
905
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrMouseDown] =
Color
.FromArgb(63, 93, 56);
906
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrMouseOver] =
Color
.FromArgb(63, 93, 56);
907
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrMouseOver] =
Color
.FromArgb(63, 93, 56);
908
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrMouseOver] =
Color
.FromArgb(63, 93, 56);
909
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrSelected] =
Color
.FromArgb(96, 128, 88);
910
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgd] =
Color
.FromArgb(218, 227, 187);
911
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgdMouseDown] =
Color
.FromArgb(254, 128, 62);
912
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgdMouseOver] =
Color
.FromArgb(255, 238, 194);
913
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgdMouseOver] =
Color
.FromArgb(255, 238, 194);
914
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgdSelected] =
Color
.FromArgb(255, 255, 255);
915
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabText] =
Color
.FromArgb(0, 0, 0);
916
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextMouseDown] =
Color
.FromArgb(0, 0, 0);
917
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextMouseOver] =
Color
.FromArgb(0, 0, 0);
918
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextMouseOver] =
Color
.FromArgb(0, 0, 0);
919
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextMouseOver] =
Color
.FromArgb(0, 0, 0);
920
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextSelected] =
Color
.FromArgb(0, 0, 0);
921
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabBkgd] =
Color
.FromArgb(218, 227, 187);
922
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabBkgd] =
Color
.FromArgb(218, 227, 187);
923
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabText] =
Color
.FromArgb(0, 0, 0);
924
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabText] =
Color
.FromArgb(0, 0, 0);
925
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabTextDisabled] =
Color
.FromArgb(128, 128, 128);
926
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabTextDisabled] =
Color
.FromArgb(128, 128, 128);
927
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWInactiveTabBkgd] =
Color
.FromArgb(183, 198, 145);
928
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWInactiveTabBkgd] =
Color
.FromArgb(183, 198, 145);
929
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWInactiveTabText] =
Color
.FromArgb(255, 255, 255);
930
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWInactiveTabText] =
Color
.FromArgb(255, 255, 255);
931
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWTabBkgdMouseDown] =
Color
.FromArgb(254, 128, 62);
932
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWTabBkgdMouseOver] =
Color
.FromArgb(255, 238, 194);
933
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWTabTextMouseDown] =
Color
.FromArgb(0, 0, 0);
934
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWTabTextMouseOver] =
Color
.FromArgb(0, 0, 0);
935
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrFocuslessHighlightedBkgd] =
Color
.FromArgb(236, 233, 216);
936
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrFocuslessHighlightedBkgd] =
Color
.FromArgb(236, 233, 216);
937
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrFocuslessHighlightedText] =
Color
.FromArgb(0, 0, 0);
938
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrFocuslessHighlightedText] =
Color
.FromArgb(0, 0, 0);
939
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderBdr] =
Color
.FromArgb(191, 191, 223);
940
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderBkgd] =
Color
.FromArgb(239, 235, 222);
941
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderCellBdr] =
Color
.FromArgb(126, 125, 104);
942
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderCellBkgd] =
Color
.FromArgb(239, 235, 222);
943
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderCellBkgdSelected] =
Color
.FromArgb(255, 192, 111);
944
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderSeeThroughSelection] =
Color
.FromArgb(128, 128, 128);
945
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPDarkBkgd] =
Color
.FromArgb(159, 171, 128);
946
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPDarkBkgd] =
Color
.FromArgb(159, 171, 128);
947
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupContentDarkBkgd] =
Color
.FromArgb(217, 227, 187);
948
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupContentLightBkgd] =
Color
.FromArgb(230, 234, 208);
949
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupContentText] =
Color
.FromArgb(0, 0, 0);
950
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupContentTextDisabled] =
Color
.FromArgb(150, 145, 133);
951
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupHeaderDarkBkgd] =
Color
.FromArgb(161, 176, 128);
952
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupHeaderLightBkgd] =
Color
.FromArgb(210, 223, 174);
953
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupHeaderText] =
Color
.FromArgb(90, 107, 70);
954
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupHeaderText] =
Color
.FromArgb(90, 107, 70);
955
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupline] =
Color
.FromArgb(255, 255, 255);
956
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupline] =
Color
.FromArgb(255, 255, 255);
957
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPHyperlink] =
Color
.FromArgb(0, 61, 178);
958
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPLightBkgd] =
Color
.FromArgb(243, 242, 231);
959
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrHyperlink] =
Color
.FromArgb(0, 61, 178);
960
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrHyperlinkFollowed] =
Color
.FromArgb(170, 0, 170);
961
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIBdr] =
Color
.FromArgb(96, 128, 88);
962
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIBdr] =
Color
.FromArgb(96, 128, 88);
963
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradBegin] =
Color
.FromArgb(217, 217, 167);
964
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradBegin] =
Color
.FromArgb(217, 217, 167);
965
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradEnd] =
Color
.FromArgb(255, 255, 255);
966
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradMiddle] =
Color
.FromArgb(242, 241, 228);
967
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradMiddle] =
Color
.FromArgb(242, 241, 228);
968
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIText] =
Color
.FromArgb(0, 0, 0);
969
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrListHeaderArrow] =
Color
.FromArgb(172, 168, 153);
970
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrNetLookBkgnd] =
Color
.FromArgb(255, 255, 237);
971
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOABBkgd] =
Color
.FromArgb(255, 255, 255);
972
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOBBkgdBdr] =
Color
.FromArgb(211, 211, 211);
973
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOBBkgdBdrContrast] =
Color
.FromArgb(128, 128, 128);
974
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGMDIParentWorkspaceBkgd] =
Color
.FromArgb(151, 160, 123);
975
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerActiveBkgd] =
Color
.FromArgb(255, 255, 255);
976
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerBdr] =
Color
.FromArgb(0, 0, 0);
977
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerBkgd] =
Color
.FromArgb(226, 231, 191);
978
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerInactiveBkgd] =
Color
.FromArgb(171, 192, 138);
979
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerTabBoxBdr] =
Color
.FromArgb(117, 141, 94);
980
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerTabBoxBdrHighlight] =
Color
.FromArgb(255, 255, 255);
981
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerTabStopTicks] =
Color
.FromArgb(128, 128, 128);
982
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerText] =
Color
.FromArgb(0, 0, 0);
983
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGTaskPaneGroupBoxHeaderBkgd] =
Color
.FromArgb(218, 227, 187);
984
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGWorkspaceBkgd] =
Color
.FromArgb(151, 160, 123);
985
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKFlagNone] =
Color
.FromArgb(242, 240, 228);
986
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKFolderbarDark] =
Color
.FromArgb(96, 119, 66);
987
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKFolderbarLight] =
Color
.FromArgb(175, 192, 130);
988
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKFolderbarText] =
Color
.FromArgb(255, 255, 255);
989
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGridlines] =
Color
.FromArgb(234, 233, 225);
990
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGroupLine] =
Color
.FromArgb(181, 196, 143);
991
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGroupNested] =
Color
.FromArgb(253, 238, 201);
992
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGroupShaded] =
Color
.FromArgb(175, 186, 145);
993
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGroupText] =
Color
.FromArgb(115, 137, 84);
994
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKIconBar] =
Color
.FromArgb(253, 247, 233);
995
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKInfoBarBkgd] =
Color
.FromArgb(151, 160, 123);
996
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKInfoBarText] =
Color
.FromArgb(255, 255, 255);
997
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKPreviewPaneLabelText] =
Color
.FromArgb(151, 160, 123);
998
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKTodayIndicatorDark] =
Color
.FromArgb(187, 85, 3);
999
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKTodayIndicatorLight] =
Color
.FromArgb(251, 200, 79);
1000
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBActionDividerLine] =
Color
.FromArgb(200, 212, 172);
1001
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBButtonDark] =
Color
.FromArgb(176, 191, 138);
1002
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBButtonLight] =
Color
.FromArgb(234, 240, 207);
1003
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBButtonLight] =
Color
.FromArgb(234, 240, 207);
1004
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBDarkOutline] =
Color
.FromArgb(96, 128, 88);
1005
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBFoldersBackground] =
Color
.FromArgb(255, 255, 255);
1006
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBHoverButtonDark] =
Color
.FromArgb(247, 190, 87);
1007
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBHoverButtonLight] =
Color
.FromArgb(255, 255, 220);
1008
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBLabelText] =
Color
.FromArgb(50, 69, 105);
1009
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBPressedButtonDark] =
Color
.FromArgb(248, 222, 128);
1010
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBPressedButtonLight] =
Color
.FromArgb(232, 127, 8);
1011
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSelectedButtonDark] =
Color
.FromArgb(238, 147, 17);
1012
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSelectedButtonLight] =
Color
.FromArgb(251, 230, 148);
1013
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSplitterDark] =
Color
.FromArgb(64, 81, 59);
1014
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSplitterLight] =
Color
.FromArgb(120, 142, 111);
1015
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSplitterLight] =
Color
.FromArgb(120, 142, 111);
1016
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPlacesBarBkgd] =
Color
.FromArgb(236, 233, 216);
1017
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPOutlineThumbnailsPaneTabAreaBkgd] =
Color
.FromArgb(242, 240, 228);
1018
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPOutlineThumbnailsPaneTabBdr] =
Color
.FromArgb(96, 128, 88);
1019
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPOutlineThumbnailsPaneTabInactiveBkgd] =
Color
.FromArgb(206, 220, 167);
1020
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPOutlineThumbnailsPaneTabText] =
Color
.FromArgb(0, 0, 0);
1021
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPSlideBdrActiveSelected] =
Color
.FromArgb(107, 129, 107);
1022
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPSlideBdrActiveSelectedMouseOver] =
Color
.FromArgb(107, 129, 107);
1023
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPSlideBdrInactiveSelected] =
Color
.FromArgb(128, 128, 128);
1024
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPSlideBdrMouseOver] =
Color
.FromArgb(107, 129, 107);
1025
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPubPrintDocScratchPageBkgd] =
Color
.FromArgb(151, 160, 123);
1026
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPubWebDocScratchPageBkgd] =
Color
.FromArgb(193, 198, 176);
1027
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrSBBdr] =
Color
.FromArgb(211, 211, 211);
1028
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrScrollbarBkgd] =
Color
.FromArgb(249, 249, 247);
1029
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrToastGradBegin] =
Color
.FromArgb(237, 242, 212);
1030
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrToastGradEnd] =
Color
.FromArgb(191, 206, 153);
1031
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPBdrInnerDocked] =
Color
.FromArgb(255, 255, 255);
1032
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPBdrOuterDocked] =
Color
.FromArgb(242, 241, 228);
1033
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPBdrOuterFloating] =
Color
.FromArgb(116, 134, 94);
1034
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPBkgd] =
Color
.FromArgb(243, 242, 231);
1035
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBdr] =
Color
.FromArgb(164, 185, 127);
1036
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBdrDefault] =
Color
.FromArgb(0, 0, 0);
1037
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBdrDefault] =
Color
.FromArgb(0, 0, 0);
1038
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBdrDisabled] =
Color
.FromArgb(128, 128, 128);
1039
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBkgd] =
Color
.FromArgb(197, 212, 159);
1040
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBkgdDisabled] =
Color
.FromArgb(222, 222, 222);
1041
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlText] =
Color
.FromArgb(0, 0, 0);
1042
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlTextDisabled] =
Color
.FromArgb(172, 168, 153);
1043
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlTextMouseDown] =
Color
.FromArgb(0, 0, 0);
1044
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPGroupline] =
Color
.FromArgb(188, 187, 177);
1045
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPInfoTipBkgd] =
Color
.FromArgb(255, 255, 204);
1046
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPInfoTipText] =
Color
.FromArgb(0, 0, 0);
1047
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPNavBarBkgnd] =
Color
.FromArgb(116, 134, 94);
1048
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPText] =
Color
.FromArgb(0, 0, 0);
1049
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPText] =
Color
.FromArgb(0, 0, 0);
1050
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTextDisabled] =
Color
.FromArgb(172, 168, 153);
1051
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTitleBkgdActive] =
Color
.FromArgb(216, 227, 182);
1052
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTitleBkgdInactive] =
Color
.FromArgb(188, 205, 131);
1053
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTitleTextActive] =
Color
.FromArgb(0, 0, 0);
1054
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTitleTextInactive] =
Color
.FromArgb(0, 0, 0);
1055
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrXLFormulaBarBkgd] =
Color
.FromArgb(217, 217, 167);
1058
internal void InitSilverLunaColors(ref Dictionary<KnownColors,
Color
> rgbTable) {
1059
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBBdrOuterDocked] =
Color
.FromArgb(173, 174, 193);
1060
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBBdrOuterFloating] =
Color
.FromArgb(122, 121, 153);
1061
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBBkgd] =
Color
.FromArgb(219, 218, 228);
1062
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBdrMouseDown] =
Color
.FromArgb(75, 75, 111);
1063
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBdrMouseOver] =
Color
.FromArgb(75, 75, 111);
1064
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBdrSelected] =
Color
.FromArgb(75, 75, 111);
1065
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBdrSelectedMouseOver] =
Color
.FromArgb(75, 75, 111);
1066
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgd] =
Color
.FromArgb(219, 218, 228);
1067
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdLight] =
Color
.FromArgb(255, 255, 255);
1068
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdMouseDown] =
Color
.FromArgb(254, 128, 62);
1069
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdMouseOver] =
Color
.FromArgb(255, 238, 194);
1070
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdSelected] =
Color
.FromArgb(255, 192, 111);
1071
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdSelectedMouseOver] =
Color
.FromArgb(254, 128, 62);
1072
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlText] =
Color
.FromArgb(0, 0, 0);
1073
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextDisabled] =
Color
.FromArgb(141, 141, 141);
1074
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextLight] =
Color
.FromArgb(128, 128, 128);
1075
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextMouseDown] =
Color
.FromArgb(0, 0, 0);
1076
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextMouseOver] =
Color
.FromArgb(0, 0, 0);
1077
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBDockSeparatorLine] =
Color
.FromArgb(110, 109, 143);
1078
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBDragHandle] =
Color
.FromArgb(84, 84, 117);
1079
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBDragHandleShadow] =
Color
.FromArgb(255, 255, 255);
1080
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBDropDownArrow] =
Color
.FromArgb(224, 223, 227);
1081
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMainMenuHorzBegin] =
Color
.FromArgb(215, 215, 229);
1082
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMainMenuHorzEnd] =
Color
.FromArgb(243, 243, 247);
1083
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuIconBkgdDroppedBegin] =
Color
.FromArgb(215, 215, 226);
1084
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuIconBkgdDroppedEnd] =
Color
.FromArgb(118, 116, 151);
1085
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuIconBkgdDroppedMiddle] =
Color
.FromArgb(184, 185, 202);
1086
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuTitleBkgdBegin] =
Color
.FromArgb(232, 233, 242);
1087
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuTitleBkgdEnd] =
Color
.FromArgb(172, 170, 194);
1088
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseDownBegin] =
Color
.FromArgb(254, 128, 62);
1089
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseDownEnd] =
Color
.FromArgb(255, 223, 154);
1090
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseDownMiddle] =
Color
.FromArgb(255, 177, 109);
1091
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseOverBegin] =
Color
.FromArgb(255, 255, 222);
1092
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseOverEnd] =
Color
.FromArgb(255, 203, 136);
1093
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseOverMiddle] =
Color
.FromArgb(255, 225, 172);
1094
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsBegin] =
Color
.FromArgb(186, 185, 206);
1095
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsEnd] =
Color
.FromArgb(118, 116, 146);
1096
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsMiddle] =
Color
.FromArgb(156, 155, 180);
1097
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsMouseOverBegin] =
Color
.FromArgb(255, 255, 222);
1098
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsMouseOverEnd] =
Color
.FromArgb(255, 193, 118);
1099
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsMouseOverMiddle] =
Color
.FromArgb(255, 225, 172);
1100
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsSelectedBegin] =
Color
.FromArgb(254, 140, 73);
1101
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsSelectedEnd] =
Color
.FromArgb(255, 221, 152);
1102
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsSelectedMiddle] =
Color
.FromArgb(255, 184, 116);
1103
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradSelectedBegin] =
Color
.FromArgb(255, 223, 154);
1104
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradSelectedEnd] =
Color
.FromArgb(255, 166, 76);
1105
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradSelectedMiddle] =
Color
.FromArgb(255, 195, 116);
1106
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradVertBegin] =
Color
.FromArgb(249, 249, 255);
1107
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradVertEnd] =
Color
.FromArgb(147, 145, 176);
1108
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradVertMiddle] =
Color
.FromArgb(225, 226, 236);
1109
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBIconDisabledDark] =
Color
.FromArgb(122, 121, 153);
1110
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBIconDisabledLight] =
Color
.FromArgb(247, 245, 249);
1111
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBLabelBkgnd] =
Color
.FromArgb(212, 212, 226);
1112
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBLabelBkgnd] =
Color
.FromArgb(212, 212, 226);
1113
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBLowColorIconDisabled] =
Color
.FromArgb(168, 167, 190);
1114
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMainMenuBkgd] =
Color
.FromArgb(198, 200, 215);
1115
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuBdrOuter] =
Color
.FromArgb(124, 124, 148);
1116
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuBkgd] =
Color
.FromArgb(253, 250, 255);
1117
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuCtlText] =
Color
.FromArgb(0, 0, 0);
1118
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuCtlTextDisabled] =
Color
.FromArgb(141, 141, 141);
1119
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuIconBkgd] =
Color
.FromArgb(214, 211, 231);
1120
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuIconBkgdDropped] =
Color
.FromArgb(185, 187, 200);
1121
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuIconBkgdDropped] =
Color
.FromArgb(185, 187, 200);
1122
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuShadow] =
Color
.FromArgb(154, 140, 176);
1123
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuSplitArrow] =
Color
.FromArgb(0, 0, 0);
1124
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBOptionsButtonShadow] =
Color
.FromArgb(255, 255, 255);
1125
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBShadow] =
Color
.FromArgb(124, 124, 148);
1126
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBSplitterLine] =
Color
.FromArgb(110, 109, 143);
1127
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBSplitterLineLight] =
Color
.FromArgb(255, 255, 255);
1128
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBTearOffHandle] =
Color
.FromArgb(192, 192, 211);
1129
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBTearOffHandleMouseOver] =
Color
.FromArgb(255, 238, 194);
1130
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBTitleBkgd] =
Color
.FromArgb(122, 121, 153);
1131
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBTitleText] =
Color
.FromArgb(255, 255, 255);
1132
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDisabledFocuslessHighlightedText] =
Color
.FromArgb(172, 168, 153);
1133
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDisabledHighlightedText] =
Color
.FromArgb(59, 59, 63);
1134
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDlgGroupBoxText] =
Color
.FromArgb(7, 70, 213);
1135
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdr] =
Color
.FromArgb(118, 116, 146);
1136
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDark] =
Color
.FromArgb(186, 185, 206);
1137
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDarkMouseDown] =
Color
.FromArgb(75, 75, 111);
1138
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDarkMouseOver] =
Color
.FromArgb(75, 75, 111);
1139
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDarkMouseOver] =
Color
.FromArgb(75, 75, 111);
1140
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDarkMouseOver] =
Color
.FromArgb(75, 75, 111);
1141
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLight] =
Color
.FromArgb(255, 255, 255);
1142
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLightMouseDown] =
Color
.FromArgb(75, 75, 111);
1143
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLightMouseOver] =
Color
.FromArgb(75, 75, 111);
1144
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLightMouseOver] =
Color
.FromArgb(75, 75, 111);
1145
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLightMouseOver] =
Color
.FromArgb(75, 75, 111);
1146
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrMouseDown] =
Color
.FromArgb(75, 75, 111);
1147
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrMouseOver] =
Color
.FromArgb(75, 75, 111);
1148
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrMouseOver] =
Color
.FromArgb(75, 75, 111);
1149
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrMouseOver] =
Color
.FromArgb(75, 75, 111);
1150
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrSelected] =
Color
.FromArgb(124, 124, 148);
1151
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgd] =
Color
.FromArgb(212, 212, 226);
1152
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgdMouseDown] =
Color
.FromArgb(254, 128, 62);
1153
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgdMouseOver] =
Color
.FromArgb(255, 238, 194);
1154
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgdMouseOver] =
Color
.FromArgb(255, 238, 194);
1155
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgdSelected] =
Color
.FromArgb(255, 255, 255);
1156
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabText] =
Color
.FromArgb(0, 0, 0);
1157
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextMouseDown] =
Color
.FromArgb(0, 0, 0);
1158
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextMouseOver] =
Color
.FromArgb(0, 0, 0);
1159
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextMouseOver] =
Color
.FromArgb(0, 0, 0);
1160
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextMouseOver] =
Color
.FromArgb(0, 0, 0);
1161
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextSelected] =
Color
.FromArgb(0, 0, 0);
1162
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabBkgd] =
Color
.FromArgb(212, 212, 226);
1163
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabBkgd] =
Color
.FromArgb(212, 212, 226);
1164
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabText] =
Color
.FromArgb(0, 0, 0);
1165
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabText] =
Color
.FromArgb(0, 0, 0);
1166
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabTextDisabled] =
Color
.FromArgb(148, 148, 148);
1167
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabTextDisabled] =
Color
.FromArgb(148, 148, 148);
1168
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWInactiveTabBkgd] =
Color
.FromArgb(171, 169, 194);
1169
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWInactiveTabBkgd] =
Color
.FromArgb(171, 169, 194);
1170
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWInactiveTabText] =
Color
.FromArgb(255, 255, 255);
1171
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWInactiveTabText] =
Color
.FromArgb(255, 255, 255);
1172
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWTabBkgdMouseDown] =
Color
.FromArgb(254, 128, 62);
1173
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWTabBkgdMouseOver] =
Color
.FromArgb(255, 238, 194);
1174
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWTabTextMouseDown] =
Color
.FromArgb(0, 0, 0);
1175
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWTabTextMouseOver] =
Color
.FromArgb(0, 0, 0);
1176
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrFocuslessHighlightedBkgd] =
Color
.FromArgb(224, 223, 227);
1177
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrFocuslessHighlightedBkgd] =
Color
.FromArgb(224, 223, 227);
1178
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrFocuslessHighlightedText] =
Color
.FromArgb(0, 0, 0);
1179
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrFocuslessHighlightedText] =
Color
.FromArgb(0, 0, 0);
1180
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderBdr] =
Color
.FromArgb(191, 191, 223);
1181
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderBkgd] =
Color
.FromArgb(239, 235, 222);
1182
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderCellBdr] =
Color
.FromArgb(126, 125, 104);
1183
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderCellBkgd] =
Color
.FromArgb(223, 223, 234);
1184
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderCellBkgdSelected] =
Color
.FromArgb(255, 192, 111);
1185
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderSeeThroughSelection] =
Color
.FromArgb(128, 128, 128);
1186
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPDarkBkgd] =
Color
.FromArgb(162, 162, 181);
1187
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPDarkBkgd] =
Color
.FromArgb(162, 162, 181);
1188
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupContentDarkBkgd] =
Color
.FromArgb(212, 213, 229);
1189
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupContentLightBkgd] =
Color
.FromArgb(227, 227, 236);
1190
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupContentText] =
Color
.FromArgb(0, 0, 0);
1191
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupContentTextDisabled] =
Color
.FromArgb(150, 145, 133);
1192
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupHeaderDarkBkgd] =
Color
.FromArgb(169, 168, 191);
1193
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupHeaderLightBkgd] =
Color
.FromArgb(208, 208, 223);
1194
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupHeaderText] =
Color
.FromArgb(92, 91, 121);
1195
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupHeaderText] =
Color
.FromArgb(92, 91, 121);
1196
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupline] =
Color
.FromArgb(255, 255, 255);
1197
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupline] =
Color
.FromArgb(255, 255, 255);
1198
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPHyperlink] =
Color
.FromArgb(0, 61, 178);
1199
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPLightBkgd] =
Color
.FromArgb(238, 238, 244);
1200
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrHyperlink] =
Color
.FromArgb(0, 61, 178);
1201
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrHyperlinkFollowed] =
Color
.FromArgb(170, 0, 170);
1202
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIBdr] =
Color
.FromArgb(124, 124, 148);
1203
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIBdr] =
Color
.FromArgb(124, 124, 148);
1204
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradBegin] =
Color
.FromArgb(215, 215, 229);
1205
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradBegin] =
Color
.FromArgb(215, 215, 229);
1206
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradEnd] =
Color
.FromArgb(255, 255, 255);
1207
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradMiddle] =
Color
.FromArgb(243, 243, 247);
1208
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradMiddle] =
Color
.FromArgb(243, 243, 247);
1209
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIText] =
Color
.FromArgb(0, 0, 0);
1210
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrListHeaderArrow] =
Color
.FromArgb(172, 168, 153);
1211
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrNetLookBkgnd] =
Color
.FromArgb(249, 249, 255);
1212
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOABBkgd] =
Color
.FromArgb(255, 255, 255);
1213
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOBBkgdBdr] =
Color
.FromArgb(211, 211, 211);
1214
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOBBkgdBdrContrast] =
Color
.FromArgb(128, 128, 128);
1215
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGMDIParentWorkspaceBkgd] =
Color
.FromArgb(155, 154, 179);
1216
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerActiveBkgd] =
Color
.FromArgb(255, 255, 255);
1217
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerBdr] =
Color
.FromArgb(0, 0, 0);
1218
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerBkgd] =
Color
.FromArgb(223, 223, 234);
1219
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerInactiveBkgd] =
Color
.FromArgb(177, 176, 195);
1220
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerTabBoxBdr] =
Color
.FromArgb(124, 124, 148);
1221
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerTabBoxBdrHighlight] =
Color
.FromArgb(255, 255, 255);
1222
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerTabStopTicks] =
Color
.FromArgb(128, 128, 128);
1223
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerText] =
Color
.FromArgb(0, 0, 0);
1224
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGTaskPaneGroupBoxHeaderBkgd] =
Color
.FromArgb(212, 212, 226);
1225
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGWorkspaceBkgd] =
Color
.FromArgb(155, 154, 179);
1226
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKFlagNone] =
Color
.FromArgb(239, 239, 244);
1227
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKFolderbarDark] =
Color
.FromArgb(110, 109, 143);
1228
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKFolderbarLight] =
Color
.FromArgb(168, 167, 191);
1229
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKFolderbarText] =
Color
.FromArgb(255, 255, 255);
1230
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGridlines] =
Color
.FromArgb(234, 233, 225);
1231
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGroupLine] =
Color
.FromArgb(165, 164, 189);
1232
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGroupNested] =
Color
.FromArgb(253, 238, 201);
1233
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGroupShaded] =
Color
.FromArgb(229, 229, 235);
1234
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGroupText] =
Color
.FromArgb(112, 111, 145);
1235
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKIconBar] =
Color
.FromArgb(253, 247, 233);
1236
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKInfoBarBkgd] =
Color
.FromArgb(155, 154, 179);
1237
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKInfoBarText] =
Color
.FromArgb(255, 255, 255);
1238
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKPreviewPaneLabelText] =
Color
.FromArgb(155, 154, 179);
1239
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKTodayIndicatorDark] =
Color
.FromArgb(187, 85, 3);
1240
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKTodayIndicatorLight] =
Color
.FromArgb(251, 200, 79);
1241
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBActionDividerLine] =
Color
.FromArgb(204, 206, 219);
1242
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBButtonDark] =
Color
.FromArgb(147, 145, 176);
1243
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBButtonLight] =
Color
.FromArgb(225, 226, 236);
1244
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBButtonLight] =
Color
.FromArgb(225, 226, 236);
1245
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBDarkOutline] =
Color
.FromArgb(124, 124, 148);
1246
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBFoldersBackground] =
Color
.FromArgb(255, 255, 255);
1247
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBHoverButtonDark] =
Color
.FromArgb(247, 190, 87);
1248
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBHoverButtonLight] =
Color
.FromArgb(255, 255, 220);
1249
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBLabelText] =
Color
.FromArgb(50, 69, 105);
1250
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBPressedButtonDark] =
Color
.FromArgb(248, 222, 128);
1251
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBPressedButtonLight] =
Color
.FromArgb(232, 127, 8);
1252
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSelectedButtonDark] =
Color
.FromArgb(238, 147, 17);
1253
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSelectedButtonLight] =
Color
.FromArgb(251, 230, 148);
1254
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSplitterDark] =
Color
.FromArgb(110, 109, 143);
1255
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSplitterLight] =
Color
.FromArgb(168, 167, 191);
1256
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSplitterLight] =
Color
.FromArgb(168, 167, 191);
1257
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPlacesBarBkgd] =
Color
.FromArgb(224, 223, 227);
1258
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPOutlineThumbnailsPaneTabAreaBkgd] =
Color
.FromArgb(243, 243, 247);
1259
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPOutlineThumbnailsPaneTabBdr] =
Color
.FromArgb(124, 124, 148);
1260
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPOutlineThumbnailsPaneTabInactiveBkgd] =
Color
.FromArgb(215, 215, 229);
1261
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPOutlineThumbnailsPaneTabText] =
Color
.FromArgb(0, 0, 0);
1262
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPSlideBdrActiveSelected] =
Color
.FromArgb(142, 142, 170);
1263
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPSlideBdrActiveSelectedMouseOver] =
Color
.FromArgb(142, 142, 170);
1264
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPSlideBdrInactiveSelected] =
Color
.FromArgb(128, 128, 128);
1265
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPSlideBdrMouseOver] =
Color
.FromArgb(142, 142, 170);
1266
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPubPrintDocScratchPageBkgd] =
Color
.FromArgb(155, 154, 179);
1267
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPubWebDocScratchPageBkgd] =
Color
.FromArgb(195, 195, 210);
1268
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrSBBdr] =
Color
.FromArgb(236, 234, 218);
1269
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrScrollbarBkgd] =
Color
.FromArgb(247, 247, 249);
1270
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrToastGradBegin] =
Color
.FromArgb(239, 239, 247);
1271
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrToastGradEnd] =
Color
.FromArgb(179, 178, 204);
1272
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPBdrInnerDocked] =
Color
.FromArgb(255, 255, 255);
1273
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPBdrOuterDocked] =
Color
.FromArgb(243, 243, 247);
1274
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPBdrOuterFloating] =
Color
.FromArgb(122, 121, 153);
1275
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPBkgd] =
Color
.FromArgb(238, 238, 244);
1276
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBdr] =
Color
.FromArgb(165, 172, 178);
1277
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBdrDefault] =
Color
.FromArgb(0, 0, 0);
1278
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBdrDefault] =
Color
.FromArgb(0, 0, 0);
1279
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBdrDisabled] =
Color
.FromArgb(128, 128, 128);
1280
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBkgd] =
Color
.FromArgb(192, 192, 211);
1281
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBkgdDisabled] =
Color
.FromArgb(222, 222, 222);
1282
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlText] =
Color
.FromArgb(0, 0, 0);
1283
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlTextDisabled] =
Color
.FromArgb(172, 168, 153);
1284
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlTextMouseDown] =
Color
.FromArgb(0, 0, 0);
1285
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPGroupline] =
Color
.FromArgb(161, 160, 187);
1286
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPInfoTipBkgd] =
Color
.FromArgb(255, 255, 204);
1287
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPInfoTipText] =
Color
.FromArgb(0, 0, 0);
1288
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPNavBarBkgnd] =
Color
.FromArgb(122, 121, 153);
1289
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPText] =
Color
.FromArgb(0, 0, 0);
1290
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPText] =
Color
.FromArgb(0, 0, 0);
1291
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTextDisabled] =
Color
.FromArgb(172, 168, 153);
1292
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTitleBkgdActive] =
Color
.FromArgb(184, 188, 234);
1293
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTitleBkgdInactive] =
Color
.FromArgb(198, 198, 217);
1294
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTitleTextActive] =
Color
.FromArgb(0, 0, 0);
1295
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTitleTextInactive] =
Color
.FromArgb(0, 0, 0);
1296
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrXLFormulaBarBkgd] =
Color
.FromArgb(215, 215, 229);
1299
private void InitRoyaleColors(ref Dictionary<KnownColors,
Color
> rgbTable) {
1301
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBBkgd] =
Color
.FromArgb(238,237,240); // msocbvcrCBBkgd
1302
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBDragHandle ] =
Color
.FromArgb(189,188,191); // msocbvcrCBDragHandle -> Needs to equal VSCOLOR_COMMANDBAR_DRAGHANDLE in vscolors.cpp
1303
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBSplitterLine] =
Color
.FromArgb(193,193,196); // msocbvcrCBSplitterLine
1304
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBTitleBkgd] =
Color
.FromArgb(167,166,170); // msocbvcrCBTitleBkgd
1305
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBTitleText] =
Color
.FromArgb(255,255,255); // msocbvcrCBTitleText
1306
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBBdrOuterFloating] =
Color
.FromArgb(142,141,145); // msocbvcrCBBdrOuterFloating
1307
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBBdrOuterDocked] =
Color
.FromArgb(235,233,237); // msocbvcrCBBdrOuterDocked
1308
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBTearOffHandle] =
Color
.FromArgb(238,237,240); // msocbvcrCBTearOffHandle
1309
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBTearOffHandleMouseOver] =
Color
.FromArgb(194,207,229); // msocbvcrCBTearOffHandleMouseOver
1310
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgd] =
Color
.FromArgb(238,237,240); // msocbvcrCBCtlBkgd
1311
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlText] =
Color
.FromArgb(000,000,000); // msocbvcrCBCtlText
1312
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextDisabled] =
Color
.FromArgb(176,175,179); // msocbvcrCBCtlTextDisabled
1313
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdMouseOver] =
Color
.FromArgb(194,207,229); // msocbvcrCBCtlBkgdMouseOver -> Needs to equal VSCOLOR_COMMANDBAR_HOVER in vscolors.cpp
1314
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBdrMouseOver] =
Color
.FromArgb(51,94,168); // msocbvcrCBCtlBdrMouseOver -> Needs to equal VSCOLOR_COMMANDBAR_BORDER in vscolors.cpp
1315
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextMouseOver] =
Color
.FromArgb(000,000,000); // msocbvcrCBCtlTextMouseOver
1316
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdMouseDown] =
Color
.FromArgb(153,175,212); // msocbvcrCBCtlBkgdMouseDown -> Needs to equal VSCOLOR_COMMANDBAR_HOVEROVERSELECTED in vscolors.cpp
1317
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBdrMouseDown] =
Color
.FromArgb(51,94,168); // msocbvcrCBCtlBdrMouseDown
1318
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextMouseDown] =
Color
.FromArgb(255,255,255); // msocbvcrCBCtlTextMouseDown
1319
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdSelected] =
Color
.FromArgb(226,229,238); // msocbvcrCBCtlBkgdSelected -> Needs to equal VSCOLOR_COMMANDBAR_SELECTED in vscolors.cpp
1320
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBdrSelected] =
Color
.FromArgb(51,94,168); // msocbvcrCBCtlBdrSelected
1321
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdSelectedMouseOver] =
Color
.FromArgb(51,94,168); // msocbvcrCBCtlBkgdSelectedMouseOver -> Needs to equal VSCOLOR_COMMANDBAR_HOVEROVERSELECTEDICON in vscolors.cpp
1322
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBdrSelectedMouseOver] =
Color
.FromArgb(51,94,168); // msocbvcrCBCtlBdrSelectedMouseOver -> Needs to equal VSCOLOR_COMMANDBAR_HOVEROVERSELECTEDICON_BORDER in vscolors.cpp
1323
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdLight] =
Color
.FromArgb(255,255,255); // msocbvcrCBCtlBkgdLight
1324
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextLight] =
Color
.FromArgb(167,166,170); // msocbvcrCBCtlTextLight
1325
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMainMenuBkgd] =
Color
.FromArgb(235,233,237); // msocbvcrCBMainMenuBkgd
1326
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuBkgd] =
Color
.FromArgb(252,252,252); // msocbvcrCBMenuBkgd
1327
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuCtlText] =
Color
.FromArgb(0,0,0); // msocbvcrCBMenuCtlText
1328
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuCtlTextDisabled] =
Color
.FromArgb(193,193,196); // msocbvcrCBMenuCtlTextDisabled
1329
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuBdrOuter] =
Color
.FromArgb(134,133,136); // msocbvcrCBMenuBdrOuter
1330
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuIconBkgd] =
Color
.FromArgb(238,237,240); // msocbvcrCBMenuIconBkgd
1331
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuIconBkgdDropped] =
Color
.FromArgb(228,226,230); // msocbvcrCBMenuIconBkgdDropped
1332
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuSplitArrow] =
Color
.FromArgb(167,166,170); // msocbvcrCBMenuSplitArrow
1333
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPBkgd] =
Color
.FromArgb(245,244,246); // msocbvcrWPBkgd
1334
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPText] =
Color
.FromArgb(255,51,153); // msocbvcrWPText
1335
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTitleBkgdActive] =
Color
.FromArgb(255,51,153); // msocbvcrWPTitleBkgdActive
1336
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTitleBkgdInactive] =
Color
.FromArgb(255,51,153); // msocbvcrWPTitleBkgdInactive
1337
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTitleTextActive] =
Color
.FromArgb(255,51,153); // msocbvcrWPTitleTextActive
1338
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTitleTextInactive] =
Color
.FromArgb(255,51,153); // msocbvcrWPTitleTextInactive
1339
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPBdrOuterFloating] =
Color
.FromArgb(255,51,153); // msocbvcrWPBdrOuterFloating
1340
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPBdrOuterDocked] =
Color
.FromArgb(255,51,153); // msocbvcrWPBdrOuterDocked
1341
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBdr] =
Color
.FromArgb(255,51,153); // msocbvcrWPCtlBdr
1342
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlText] =
Color
.FromArgb(255,51,153); // msocbvcrWPCtlText
1343
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrWPCtlBkgd
1344
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBdrDisabled] =
Color
.FromArgb(255,51,153); // msocbvcrWPCtlBdrDisabled
1345
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlTextDisabled] =
Color
.FromArgb(255,51,153); // msocbvcrWPCtlTextDisabled
1346
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBkgdDisabled] =
Color
.FromArgb(255,51,153); // msocbvcrWPCtlBkgdDisabled
1347
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBdrDefault] =
Color
.FromArgb(255,51,153); // msocbvcrWPCtlBdrDefault
1348
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPGroupline] =
Color
.FromArgb(255,51,153); // msocbvcrWPGroupline
1349
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrSBBdr] =
Color
.FromArgb(255,51,153); // msocbvcrSBBdr
1350
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOBBkgdBdr] =
Color
.FromArgb(255,51,153); // msocbvcrOBBkgdBdr
1351
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOBBkgdBdrContrast] =
Color
.FromArgb(255,51,153); // msocbvcrOBBkgdBdrContrast
1352
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOABBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrOABBkgd
1353
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrGDHeaderBkgd
1354
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderBdr] =
Color
.FromArgb(255,51,153); // msocbvcrGDHeaderBdr
1355
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderCellBdr] =
Color
.FromArgb(255,51,153); // msocbvcrGDHeaderCellBdr
1356
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderSeeThroughSelection] =
Color
.FromArgb(255,51,153); // msocbvcrGDHeaderSeeThroughSelection
1357
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderCellBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrGDHeaderCellBkgd
1358
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderCellBkgdSelected] =
Color
.FromArgb(255,51,153); // msocbvcrGDHeaderCellBkgdSelected
1359
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBSplitterLineLight] =
Color
.FromArgb(255,255,255); // msocbvcrCBSplitterLineLight
1360
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBShadow] =
Color
.FromArgb(238,237,240); // msocbvcrCBShadow -> Needs to equal VSCOLOR_COMMANDBAR_SHADOW in vscolors.cpp
1361
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBOptionsButtonShadow] =
Color
.FromArgb(245,244,246); // msocbvcrCBOptionsButtonShadow
1362
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPNavBarBkgnd] =
Color
.FromArgb(193,193,196); // msocbvcrWPNavBarBkgnd
1363
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPBdrInnerDocked] =
Color
.FromArgb(245,244,246); // msocbvcrWPBdrInnerDocked
1364
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBLabelBkgnd] =
Color
.FromArgb(235,233,237); // msocbvcrCBLabelBkgnd
1365
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBIconDisabledLight] =
Color
.FromArgb(235,233,237); // msocbvcrCBIconDisabledLight
1366
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBIconDisabledDark] =
Color
.FromArgb(167,166,170); // msocbvcrCBIconDisabledDark
1367
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBLowColorIconDisabled] =
Color
.FromArgb(176,175,179); // msocbvcrCBLowColorIconDisabled
1368
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMainMenuHorzBegin] =
Color
.FromArgb(235,233,237); // msocbvcrCBGradMainMenuHorzBegin -> Needs to equal VSCOLOR_ENVIRONMENT_BACKGROUND and VSCOLOR_ENVIRONMENT_BACKGROUND_GRADIENTBEGIN in vscolors.cpp
1369
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMainMenuHorzEnd] =
Color
.FromArgb(251,250,251); // msocbvcrCBGradMainMenuHorzEnd -> Needs to equal VSCOLOR_ENVIRONMENT_BACKGROUND_GRADIENTEND in vscolors.cpp
1370
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradVertBegin] =
Color
.FromArgb(252,252,252); // msocbvcrCBGradVertBegin -> Needs to equal VSCOLOR_COMMANDBAR_GRADIENT_BEGIN in vscolors.cpp
1371
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradVertMiddle] =
Color
.FromArgb(245,244,246); // msocbvcrCBGradVertMiddle -> Needs to equal VSCOLOR_COMMANDBAR_GRADIENT_MIDDLE in vscolors.cpp
1372
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradVertEnd] =
Color
.FromArgb(235,233,237); // msocbvcrCBGradVertEnd -> Needs to equal VSCOLOR_COMMANDBAR_GRADIENT_END in vscolors.cpp
1373
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsBegin] =
Color
.FromArgb(242,242,242); // msocbvcrCBGradOptionsBegin
1374
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsMiddle] =
Color
.FromArgb(224,224,225); // msocbvcrCBGradOptionsMiddle
1375
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsEnd] =
Color
.FromArgb(167,166,170); // msocbvcrCBGradOptionsEnd
1376
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuTitleBkgdBegin] =
Color
.FromArgb(252,252,252); // msocbvcrCBGradMenuTitleBkgdBegin
1377
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuTitleBkgdEnd] =
Color
.FromArgb(245,244,246); // msocbvcrCBGradMenuTitleBkgdEnd
1378
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuIconBkgdDroppedBegin] =
Color
.FromArgb(247,246,248); // msocbvcrCBGradMenuIconBkgdDroppedBegin
1379
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuIconBkgdDroppedMiddle] =
Color
.FromArgb(241,240,242); // msocbvcrCBGradMenuIconBkgdDroppedMiddle
1380
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuIconBkgdDroppedEnd] =
Color
.FromArgb(228,226,230); // msocbvcrCBGradMenuIconBkgdDroppedEnd
1381
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsSelectedBegin] =
Color
.FromArgb(226,229,238); // msocbvcrCBGradOptionsSelectedBegin
1382
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsSelectedMiddle] =
Color
.FromArgb(226,229,238); // msocbvcrCBGradOptionsSelectedMiddle
1383
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsSelectedEnd] =
Color
.FromArgb(226,229,238); // msocbvcrCBGradOptionsSelectedEnd
1384
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsMouseOverBegin] =
Color
.FromArgb(194,207,229); // msocbvcrCBGradOptionsMouseOverBegin
1385
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsMouseOverMiddle] =
Color
.FromArgb(194,207,229); // msocbvcrCBGradOptionsMouseOverMiddle
1386
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsMouseOverEnd] =
Color
.FromArgb(194,207,229); // msocbvcrCBGradOptionsMouseOverEnd
1387
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradSelectedBegin] =
Color
.FromArgb(226,229,238); // msocbvcrCBGradSelectedBegin
1388
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradSelectedMiddle] =
Color
.FromArgb(226,229,238); // msocbvcrCBGradSelectedMiddle
1389
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradSelectedEnd] =
Color
.FromArgb(226,229,238); // msocbvcrCBGradSelectedEnd
1390
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseOverBegin] =
Color
.FromArgb(194,207,229); // msocbvcrCBGradMouseOverBegin
1391
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseOverMiddle] =
Color
.FromArgb(194,207,229); // msocbvcrCBGradMouseOverMiddle
1392
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseOverEnd] =
Color
.FromArgb(194,207,229); // msocbvcrCBGradMouseOverEnd
1393
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseDownBegin] =
Color
.FromArgb(153,175,212); // msocbvcrCBGradMouseDownBegin
1394
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseDownMiddle] =
Color
.FromArgb(153,175,212); // msocbvcrCBGradMouseDownMiddle
1395
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseDownEnd] =
Color
.FromArgb(153,175,212); // msocbvcrCBGradMouseDownEnd
1396
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrNetLookBkgnd] =
Color
.FromArgb(235,233,237); // msocbvcrNetLookBkgnd
1397
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuShadow] =
Color
.FromArgb(000,000,000); // msocbvcrCBMenuShadow
1398
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBDockSeparatorLine] =
Color
.FromArgb(51,94,168); // msocbvcrCBDockSeparatorLine
1399
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBDropDownArrow] =
Color
.FromArgb(235,233,237); // msocbvcrCBDropDownArrow
1400
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGridlines] =
Color
.FromArgb(255,51,153); // msocbvcrOLKGridlines
1401
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGroupText] =
Color
.FromArgb(255,51,153); // msocbvcrOLKGroupText
1402
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGroupLine] =
Color
.FromArgb(255,51,153); // msocbvcrOLKGroupLine
1403
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGroupShaded] =
Color
.FromArgb(255,51,153); // msocbvcrOLKGroupShaded
1404
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGroupNested] =
Color
.FromArgb(255,51,153); // msocbvcrOLKGroupNested
1405
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKIconBar] =
Color
.FromArgb(255,51,153); // msocbvcrOLKIconBar
1406
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKFlagNone] =
Color
.FromArgb(255,51,153); // msocbvcrOLKFlagNone
1407
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKFolderbarLight] =
Color
.FromArgb(255,51,153); // msocbvcrOLKFolderbarLight
1408
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKFolderbarDark] =
Color
.FromArgb(255,51,153); // msocbvcrOLKFolderbarDark
1409
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKFolderbarText] =
Color
.FromArgb(255,51,153); // msocbvcrOLKFolderbarText
1410
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBButtonLight] =
Color
.FromArgb(255,51,153); // msocbvcrOLKWBButtonLight
1411
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBButtonDark] =
Color
.FromArgb(255,51,153); // msocbvcrOLKWBButtonDark
1412
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSelectedButtonLight] =
Color
.FromArgb(255,51,153); // msocbvcrOLKWBSelectedButtonLight
1413
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSelectedButtonDark] =
Color
.FromArgb(255,51,153); // msocbvcrOLKWBSelectedButtonDark
1414
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBHoverButtonLight] =
Color
.FromArgb(255,51,153); // msocbvcrOLKWBHoverButtonLight
1415
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBHoverButtonDark] =
Color
.FromArgb(255,51,153); // msocbvcrOLKWBHoverButtonDark
1416
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBPressedButtonLight] =
Color
.FromArgb(255,51,153); // msocbvcrOLKWBPressedButtonLight
1417
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBPressedButtonDark] =
Color
.FromArgb(255,51,153); // msocbvcrOLKWBPressedButtonDark
1418
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBDarkOutline] =
Color
.FromArgb(255,51,153); // msocbvcrOLKWBDarkOutline
1419
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSplitterLight] =
Color
.FromArgb(255,51,153); // msocbvcrOLKWBSplitterLight
1420
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSplitterDark] =
Color
.FromArgb(255,51,153); // msocbvcrOLKWBSplitterDark
1421
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBActionDividerLine] =
Color
.FromArgb(255,51,153); // msocbvcrOLKWBActionDividerLine
1422
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBLabelText] =
Color
.FromArgb(255,51,153); // msocbvcrOLKWBLabelText
1423
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBFoldersBackground] =
Color
.FromArgb(255,51,153); // msocbvcrOLKWBFoldersBackground
1424
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKTodayIndicatorLight] =
Color
.FromArgb(255,51,153); // msocbvcrOLKTodayIndicatorLight
1425
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKTodayIndicatorDark] =
Color
.FromArgb(255,51,153); // msocbvcrOLKTodayIndicatorDark
1426
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKInfoBarBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrOLKInfoBarBkgd
1427
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKInfoBarText] =
Color
.FromArgb(255,51,153); // msocbvcrOLKInfoBarText
1428
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKPreviewPaneLabelText] =
Color
.FromArgb(255,51,153); // msocbvcrOLKPreviewPaneLabelText
1429
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrHyperlink] =
Color
.FromArgb(0,61,178); // msocbvcrHyperlink
1430
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrHyperlinkFollowed] =
Color
.FromArgb(170,0,170); // msocbvcrHyperlinkFollowed
1431
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGWorkspaceBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrOGWorkspaceBkgd
1432
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGMDIParentWorkspaceBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrOGMDIParentWorkspaceBkgd
1433
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrOGRulerBkgd
1434
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerActiveBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrOGRulerActiveBkgd
1435
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerInactiveBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrOGRulerInactiveBkgd
1436
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerText] =
Color
.FromArgb(255,51,153); // msocbvcrOGRulerText
1437
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerTabStopTicks] =
Color
.FromArgb(255,51,153); // msocbvcrOGRulerTabStopTicks
1438
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerBdr] =
Color
.FromArgb(255,51,153); // msocbvcrOGRulerBdr
1439
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerTabBoxBdr] =
Color
.FromArgb(255,51,153); // msocbvcrOGRulerTabBoxBdr
1440
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerTabBoxBdrHighlight] =
Color
.FromArgb(255,51,153); // msocbvcrOGRulerTabBoxBdrHighlight
1441
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrXLFormulaBarBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrXLFormulaBarBkgd
1442
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBDragHandleShadow] =
Color
.FromArgb(255,255,255); // msocbvcrCBDragHandleShadow -> Needs to equal VSCOLOR_COMMANDBAR_DRAGHANDLE_SHADOW in vscolors.cpp
1443
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGTaskPaneGroupBoxHeaderBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrOGTaskPaneGroupBoxHeaderBkgd
1444
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPOutlineThumbnailsPaneTabAreaBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrPPOutlineThumbnailsPaneTabAreaBkgd
1445
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPOutlineThumbnailsPaneTabInactiveBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrPPOutlineThumbnailsPaneTabInactiveBkgd
1446
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPOutlineThumbnailsPaneTabBdr] =
Color
.FromArgb(255,51,153); // msocbvcrPPOutlineThumbnailsPaneTabBdr
1447
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPOutlineThumbnailsPaneTabText] =
Color
.FromArgb(255,51,153); // msocbvcrPPOutlineThumbnailsPaneTabText
1448
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPSlideBdrActiveSelected] =
Color
.FromArgb(255,51,153); // msocbvcrPPSlideBdrActiveSelected
1449
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPSlideBdrInactiveSelected] =
Color
.FromArgb(255,51,153); // msocbvcrPPSlideBdrInactiveSelected
1450
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPSlideBdrMouseOver] =
Color
.FromArgb(255,51,153); // msocbvcrPPSlideBdrMouseOver
1451
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPSlideBdrActiveSelectedMouseOver] =
Color
.FromArgb(255,51,153); // msocbvcrPPSlideBdrActiveSelectedMouseOver
1452
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDlgGroupBoxText] =
Color
.FromArgb(0,0,0); // msocbvcrDlgGroupBoxText
1453
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrScrollbarBkgd] =
Color
.FromArgb(237,235,239); // msocbvcrScrollbarBkgd
1454
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrListHeaderArrow] =
Color
.FromArgb(155,154,156); // msocbvcrListHeaderArrow
1455
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDisabledHighlightedText] =
Color
.FromArgb(188,202,226); // msocbvcrDisabledHighlightedText
1456
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrFocuslessHighlightedBkgd] =
Color
.FromArgb(235,233,237); // msocbvcrFocuslessHighlightedBkgd
1457
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrFocuslessHighlightedText] =
Color
.FromArgb(000,000,000); // msocbvcrFocuslessHighlightedText
1458
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDisabledFocuslessHighlightedText] =
Color
.FromArgb(167,166,170); // msocbvcrDisabledFocuslessHighlightedText
1459
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlTextMouseDown] =
Color
.FromArgb(255,51,153); // msocbvcrWPCtlTextMouseDown
1460
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTextDisabled] =
Color
.FromArgb(255,51,153); // msocbvcrWPTextDisabled
1461
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPInfoTipBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrWPInfoTipBkgd
1462
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPInfoTipText] =
Color
.FromArgb(255,51,153); // msocbvcrWPInfoTipText
1463
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrDWActiveTabBkgd
1464
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabText] =
Color
.FromArgb(255,51,153); // msocbvcrDWActiveTabText
1465
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabTextDisabled] =
Color
.FromArgb(255,51,153); // msocbvcrDWActiveTabTextDisabled
1466
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWInactiveTabBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrDWInactiveTabBkgd
1467
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWInactiveTabText] =
Color
.FromArgb(255,51,153); // msocbvcrDWInactiveTabText
1468
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWTabBkgdMouseOver] =
Color
.FromArgb(255,51,153); // msocbvcrDWTabBkgdMouseOver
1469
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWTabTextMouseOver] =
Color
.FromArgb(255,51,153); // msocbvcrDWTabTextMouseOver
1470
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWTabBkgdMouseDown] =
Color
.FromArgb(255,51,153); // msocbvcrDWTabBkgdMouseDown
1471
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWTabTextMouseDown] =
Color
.FromArgb(255,51,153); // msocbvcrDWTabTextMouseDown
1472
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPLightBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrGSPLightBkgd
1473
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPDarkBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrGSPDarkBkgd
1474
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupHeaderLightBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrGSPGroupHeaderLightBkgd
1475
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupHeaderDarkBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrGSPGroupHeaderDarkBkgd
1476
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupHeaderText] =
Color
.FromArgb(255,51,153); // msocbvcrGSPGroupHeaderText
1477
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupContentLightBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrGSPGroupContentLightBkgd
1478
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupContentDarkBkgd] =
Color
.FromArgb(255,51,153); // msocbvcrGSPGroupContentDarkBkgd
1479
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupContentText] =
Color
.FromArgb(255,51,153); // msocbvcrGSPGroupContentText
1480
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupContentTextDisabled] =
Color
.FromArgb(255,51,153); // msocbvcrGSPGroupContentTextDisabled
1481
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupline] =
Color
.FromArgb(255,51,153); // msocbvcrGSPGroupline
1482
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPHyperlink] =
Color
.FromArgb(255,51,153); // msocbvcrGSPHyperlink
1483
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgd] =
Color
.FromArgb(212,212,226); // msocbvcrDocTabBkgd
1484
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabText] =
Color
.FromArgb(000,000,000); // msocbvcrDocTabText
1485
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdr] =
Color
.FromArgb(118,116,146); // msocbvcrDocTabBdr
1486
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLight] =
Color
.FromArgb(255,255,255); // msocbvcrDocTabBdrLight
1487
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDark] =
Color
.FromArgb(186,185,206); // msocbvcrDocTabBdrDark
1488
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgdSelected] =
Color
.FromArgb(255,255,255); // msocbvcrDocTabBkgdSelected
1489
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextSelected] =
Color
.FromArgb(000,000,000); // msocbvcrDocTabTextSelected
1490
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrSelected] =
Color
.FromArgb(124,124,148); // msocbvcrDocTabBdrSelected
1491
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgdMouseOver] =
Color
.FromArgb(193,210,238); // msocbvcrDocTabBkgdMouseOver
1492
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextMouseOver] =
Color
.FromArgb(49,106,197); // msocbvcrDocTabTextMouseOver
1493
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrMouseOver] =
Color
.FromArgb(49,106,197); // msocbvcrDocTabBdrMouseOver
1494
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLightMouseOver] =
Color
.FromArgb(49,106,197); // msocbvcrDocTabBdrLightMouseOver
1495
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDarkMouseOver] =
Color
.FromArgb(49,106,197); // msocbvcrDocTabBdrDarkMouseOver
1496
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgdMouseDown] =
Color
.FromArgb(154,183,228); // msocbvcrDocTabBkgdMouseDown
1497
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextMouseDown] =
Color
.FromArgb(000,000,000); // msocbvcrDocTabTextMouseDown
1498
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrMouseDown] =
Color
.FromArgb(75,75,111); // msocbvcrDocTabBdrMouseDown
1499
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLightMouseDown] =
Color
.FromArgb(75,75,111); // msocbvcrDocTabBdrLightMouseDown
1500
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDarkMouseDown] =
Color
.FromArgb(75,75,111); // msocbvcrDocTabBdrDarkMouseDown
1501
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrToastGradBegin] =
Color
.FromArgb(246,244,236); // msocbvcrToastGradBegin
1502
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrToastGradEnd] =
Color
.FromArgb(179,178,204); // msocbvcrToastGradEnd
1503
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradBegin] =
Color
.FromArgb(236,233,216); // msocbvcrJotNavUIGradBegin
1504
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradMiddle] =
Color
.FromArgb(236,233,216); // msocbvcrJotNavUIGradMiddle
1505
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradEnd] =
Color
.FromArgb(255,255,255); // msocbvcrJotNavUIGradEnd
1506
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIText] =
Color
.FromArgb(000,000,000); // msocbvcrJotNavUIText
1507
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIBdr] =
Color
.FromArgb(172,168,153); // msocbvcrJotNavUIBdr
1508
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPlacesBarBkgd] =
Color
.FromArgb(224,223,227); // msocbvcrPlacesBarBkgd
1509
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPubPrintDocScratchPageBkgd] =
Color
.FromArgb(152,181,226); // msocbvcrPubPrintDocScratchPageBkgd
1510
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPubWebDocScratchPageBkgd] =
Color
.FromArgb(193,210,238); // msocbvcrPubWebDocScratchPageBkgd
1517
internal void InitThemedColors(ref Dictionary<KnownColors,
Color
> rgbTable) {
1584
internal void InitBlueLunaColors(ref Dictionary<KnownColors,
Color
> rgbTable) {
1586
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBBdrOuterDocked] =
Color
.FromArgb(196, 205, 218);
1587
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBBdrOuterDocked] =
Color
.FromArgb(196, 205, 218);
1588
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBBdrOuterFloating] =
Color
.FromArgb(42, 102, 201);
1589
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBBkgd] =
Color
.FromArgb(196, 219, 249);
1590
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBdrMouseDown] =
Color
.FromArgb(0, 0, 128);
1591
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBdrMouseOver] =
Color
.FromArgb(0, 0, 128);
1592
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBdrSelected] =
Color
.FromArgb(0, 0, 128);
1593
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBdrSelectedMouseOver] =
Color
.FromArgb(0, 0, 128);
1594
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgd] =
Color
.FromArgb(196, 219, 249);
1595
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdLight] =
Color
.FromArgb(255, 255, 255);
1596
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdMouseDown] =
Color
.FromArgb(254, 128, 62);
1597
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdMouseOver] =
Color
.FromArgb(255, 238, 194);
1598
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdMouseOver] =
Color
.FromArgb(255, 238, 194);
1599
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdSelected] =
Color
.FromArgb(255, 192, 111);
1600
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlBkgdSelectedMouseOver] =
Color
.FromArgb(254, 128, 62);
1601
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlText] =
Color
.FromArgb(0, 0, 0);
1602
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextDisabled] =
Color
.FromArgb(141, 141, 141);
1603
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextLight] =
Color
.FromArgb(128, 128, 128);
1604
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextMouseDown] =
Color
.FromArgb(0, 0, 0);
1605
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextMouseOver] =
Color
.FromArgb(0, 0, 0);
1606
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextMouseOver] =
Color
.FromArgb(0, 0, 0);
1607
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBCtlTextMouseOver] =
Color
.FromArgb(0, 0, 0);
1608
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBDockSeparatorLine] =
Color
.FromArgb(0, 53, 145);
1609
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBDragHandle] =
Color
.FromArgb(39, 65, 118);
1610
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBDragHandleShadow] =
Color
.FromArgb(255, 255, 255);
1611
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBDropDownArrow] =
Color
.FromArgb(236, 233, 216);
1612
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMainMenuHorzBegin] =
Color
.FromArgb(158, 190, 245);
1613
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMainMenuHorzEnd] =
Color
.FromArgb(196, 218, 250);
1614
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuIconBkgdDroppedBegin] =
Color
.FromArgb(203, 221, 246);
1615
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuIconBkgdDroppedEnd] =
Color
.FromArgb(114, 155, 215);
1616
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuIconBkgdDroppedMiddle] =
Color
.FromArgb(161, 197, 249);
1617
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuTitleBkgdBegin] =
Color
.FromArgb(227, 239, 255);
1618
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMenuTitleBkgdEnd] =
Color
.FromArgb(123, 164, 224);
1619
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseDownBegin] =
Color
.FromArgb(254, 128, 62);
1620
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseDownEnd] =
Color
.FromArgb(255, 223, 154);
1621
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseDownMiddle] =
Color
.FromArgb(255, 177, 109);
1622
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseOverBegin] =
Color
.FromArgb(255, 255, 222);
1623
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseOverEnd] =
Color
.FromArgb(255, 203, 136);
1624
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradMouseOverMiddle] =
Color
.FromArgb(255, 225, 172);
1625
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsBegin] =
Color
.FromArgb(127, 177, 250);
1626
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsEnd] =
Color
.FromArgb(0, 53, 145);
1627
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsMiddle] =
Color
.FromArgb(82, 127, 208);
1628
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsMouseOverBegin] =
Color
.FromArgb(255, 255, 222);
1629
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsMouseOverEnd] =
Color
.FromArgb(255, 193, 118);
1630
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsMouseOverMiddle] =
Color
.FromArgb(255, 225, 172);
1631
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsSelectedBegin] =
Color
.FromArgb(254, 140, 73);
1632
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsSelectedEnd] =
Color
.FromArgb(255, 221, 152);
1633
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradOptionsSelectedMiddle] =
Color
.FromArgb(255, 184, 116);
1634
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradSelectedBegin] =
Color
.FromArgb(255, 223, 154);
1635
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradSelectedEnd] =
Color
.FromArgb(255, 166, 76);
1636
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradSelectedMiddle] =
Color
.FromArgb(255, 195, 116);
1637
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradVertBegin] =
Color
.FromArgb(227, 239, 255);
1638
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradVertEnd] =
Color
.FromArgb(123, 164, 224);
1639
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBGradVertMiddle] =
Color
.FromArgb(203, 225, 252);
1640
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBIconDisabledDark] =
Color
.FromArgb(97, 122, 172);
1641
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBIconDisabledLight] =
Color
.FromArgb(233, 236, 242);
1642
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBLabelBkgnd] =
Color
.FromArgb(186, 211, 245);
1643
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBLabelBkgnd] =
Color
.FromArgb(186, 211, 245);
1644
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBLowColorIconDisabled] =
Color
.FromArgb(109, 150, 208);
1645
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMainMenuBkgd] =
Color
.FromArgb(153, 204, 255);
1646
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuBdrOuter] =
Color
.FromArgb(0, 45, 150);
1647
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuBkgd] =
Color
.FromArgb(246, 246, 246);
1648
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuCtlText] =
Color
.FromArgb(0, 0, 0);
1649
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuCtlTextDisabled] =
Color
.FromArgb(141, 141, 141);
1650
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuIconBkgd] =
Color
.FromArgb(203, 225, 252);
1651
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuIconBkgdDropped] =
Color
.FromArgb(172, 183, 201);
1652
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuIconBkgdDropped] =
Color
.FromArgb(172, 183, 201);
1653
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuShadow] =
Color
.FromArgb(95, 130, 234);
1654
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBMenuSplitArrow] =
Color
.FromArgb(128, 128, 128);
1655
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBOptionsButtonShadow] =
Color
.FromArgb(255, 255, 255);
1656
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBShadow] =
Color
.FromArgb(59, 97, 156);
1657
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBSplitterLine] =
Color
.FromArgb(106, 140, 203);
1658
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBSplitterLineLight] =
Color
.FromArgb(241, 249, 255);
1659
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBTearOffHandle] =
Color
.FromArgb(169, 199, 240);
1660
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBTearOffHandleMouseOver] =
Color
.FromArgb(255, 238, 194);
1661
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBTitleBkgd] =
Color
.FromArgb(42, 102, 201);
1662
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrCBTitleText] =
Color
.FromArgb(255, 255, 255);
1663
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDisabledFocuslessHighlightedText] =
Color
.FromArgb(172, 168, 153);
1664
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDisabledHighlightedText] =
Color
.FromArgb(187, 206, 236);
1665
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDlgGroupBoxText] =
Color
.FromArgb(0, 70, 213);
1666
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdr] =
Color
.FromArgb(0, 53, 154);
1667
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDark] =
Color
.FromArgb(117, 166, 241);
1668
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDarkMouseDown] =
Color
.FromArgb(0, 0, 128);
1669
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDarkMouseOver] =
Color
.FromArgb(0, 0, 128);
1670
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDarkMouseOver] =
Color
.FromArgb(0, 0, 128);
1671
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrDarkMouseOver] =
Color
.FromArgb(0, 0, 128);
1672
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLight] =
Color
.FromArgb(255, 255, 255);
1673
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLightMouseDown] =
Color
.FromArgb(0, 0, 128);
1674
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLightMouseOver] =
Color
.FromArgb(0, 0, 128);
1675
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLightMouseOver] =
Color
.FromArgb(0, 0, 128);
1676
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrLightMouseOver] =
Color
.FromArgb(0, 0, 128);
1677
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrMouseDown] =
Color
.FromArgb(0, 0, 128);
1678
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrMouseOver] =
Color
.FromArgb(0, 0, 128);
1679
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrMouseOver] =
Color
.FromArgb(0, 0, 128);
1680
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrMouseOver] =
Color
.FromArgb(0, 0, 128);
1681
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBdrSelected] =
Color
.FromArgb(59, 97, 156);
1682
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgd] =
Color
.FromArgb(186, 211, 245);
1683
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgdMouseDown] =
Color
.FromArgb(254, 128, 62);
1684
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgdMouseOver] =
Color
.FromArgb(255, 238, 194);
1685
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgdMouseOver] =
Color
.FromArgb(255, 238, 194);
1686
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabBkgdSelected] =
Color
.FromArgb(255, 255, 255);
1687
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabText] =
Color
.FromArgb(0, 0, 0);
1688
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextMouseDown] =
Color
.FromArgb(0, 0, 0);
1689
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextMouseOver] =
Color
.FromArgb(0, 0, 0);
1690
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextMouseOver] =
Color
.FromArgb(0, 0, 0);
1691
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextMouseOver] =
Color
.FromArgb(0, 0, 0);
1692
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDocTabTextSelected] =
Color
.FromArgb(0, 0, 0);
1693
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabBkgd] =
Color
.FromArgb(186, 211, 245);
1694
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabBkgd] =
Color
.FromArgb(186, 211, 245);
1695
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabText] =
Color
.FromArgb(0, 0, 0);
1696
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabText] =
Color
.FromArgb(0, 0, 0);
1697
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabTextDisabled] =
Color
.FromArgb(94, 94, 94);
1698
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWActiveTabTextDisabled] =
Color
.FromArgb(94, 94, 94);
1699
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWInactiveTabBkgd] =
Color
.FromArgb(129, 169, 226);
1700
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWInactiveTabBkgd] =
Color
.FromArgb(129, 169, 226);
1701
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWInactiveTabText] =
Color
.FromArgb(255, 255, 255);
1702
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWInactiveTabText] =
Color
.FromArgb(255, 255, 255);
1703
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWTabBkgdMouseDown] =
Color
.FromArgb(254, 128, 62);
1704
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWTabBkgdMouseOver] =
Color
.FromArgb(255, 238, 194);
1705
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWTabTextMouseDown] =
Color
.FromArgb(0, 0, 0);
1706
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrDWTabTextMouseOver] =
Color
.FromArgb(0, 0, 0);
1707
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrFocuslessHighlightedBkgd] =
Color
.FromArgb(236, 233, 216);
1708
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrFocuslessHighlightedBkgd] =
Color
.FromArgb(236, 233, 216);
1709
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrFocuslessHighlightedText] =
Color
.FromArgb(0, 0, 0);
1710
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrFocuslessHighlightedText] =
Color
.FromArgb(0, 0, 0);
1711
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderBdr] =
Color
.FromArgb(89, 89, 172);
1712
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderBkgd] =
Color
.FromArgb(239, 235, 222);
1713
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderCellBdr] =
Color
.FromArgb(126, 125, 104);
1714
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderCellBkgd] =
Color
.FromArgb(239, 235, 222);
1715
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderCellBkgdSelected] =
Color
.FromArgb(255, 192, 111);
1716
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGDHeaderSeeThroughSelection] =
Color
.FromArgb(191, 191, 223);
1717
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPDarkBkgd] =
Color
.FromArgb(74, 122, 201);
1718
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPDarkBkgd] =
Color
.FromArgb(74, 122, 201);
1719
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupContentDarkBkgd] =
Color
.FromArgb(185, 208, 241);
1720
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupContentLightBkgd] =
Color
.FromArgb(221, 236, 254);
1721
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupContentText] =
Color
.FromArgb(0, 0, 0);
1722
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupContentTextDisabled] =
Color
.FromArgb(150, 145, 133);
1723
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupHeaderDarkBkgd] =
Color
.FromArgb(101, 143, 224);
1724
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupHeaderLightBkgd] =
Color
.FromArgb(196, 219, 249);
1725
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupHeaderText] =
Color
.FromArgb(0, 45, 134);
1726
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupHeaderText] =
Color
.FromArgb(0, 45, 134);
1727
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupline] =
Color
.FromArgb(255, 255, 255);
1728
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPGroupline] =
Color
.FromArgb(255, 255, 255);
1729
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPHyperlink] =
Color
.FromArgb(0, 61, 178);
1730
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrGSPLightBkgd] =
Color
.FromArgb(221, 236, 254);
1731
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrHyperlink] =
Color
.FromArgb(0, 61, 178);
1732
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrHyperlinkFollowed] =
Color
.FromArgb(170, 0, 170);
1733
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIBdr] =
Color
.FromArgb(59, 97, 156);
1734
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIBdr] =
Color
.FromArgb(59, 97, 156);
1735
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradBegin] =
Color
.FromArgb(158, 190, 245);
1736
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradBegin] =
Color
.FromArgb(158, 190, 245);
1737
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradEnd] =
Color
.FromArgb(255, 255, 255);
1738
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradMiddle] =
Color
.FromArgb(196, 218, 250);
1739
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIGradMiddle] =
Color
.FromArgb(196, 218, 250);
1740
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrJotNavUIText] =
Color
.FromArgb(0, 0, 0);
1741
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrListHeaderArrow] =
Color
.FromArgb(172, 168, 153);
1742
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrNetLookBkgnd] =
Color
.FromArgb(227, 239, 255);
1743
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOABBkgd] =
Color
.FromArgb(128, 128, 128);
1744
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOBBkgdBdr] =
Color
.FromArgb(128, 128, 128);
1745
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOBBkgdBdrContrast] =
Color
.FromArgb(255, 255, 255);
1746
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGMDIParentWorkspaceBkgd] =
Color
.FromArgb(144, 153, 174);
1747
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerActiveBkgd] =
Color
.FromArgb(255, 255, 255);
1748
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerBdr] =
Color
.FromArgb(0, 0, 0);
1749
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerBkgd] =
Color
.FromArgb(216, 231, 252);
1750
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerInactiveBkgd] =
Color
.FromArgb(158, 190, 245);
1751
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerTabBoxBdr] =
Color
.FromArgb(75, 120, 202);
1752
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerTabBoxBdrHighlight] =
Color
.FromArgb(255, 255, 255);
1753
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerTabStopTicks] =
Color
.FromArgb(128, 128, 128);
1754
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGRulerText] =
Color
.FromArgb(0, 0, 0);
1755
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGTaskPaneGroupBoxHeaderBkgd] =
Color
.FromArgb(186, 211, 245);
1756
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOGWorkspaceBkgd] =
Color
.FromArgb(144, 153, 174);
1757
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKFlagNone] =
Color
.FromArgb(242, 240, 228);
1758
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKFolderbarDark] =
Color
.FromArgb(0, 53, 145);
1759
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKFolderbarLight] =
Color
.FromArgb(89, 135, 214);
1760
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKFolderbarText] =
Color
.FromArgb(255, 255, 255);
1761
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGridlines] =
Color
.FromArgb(234, 233, 225);
1762
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGroupLine] =
Color
.FromArgb(123, 164, 224);
1763
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGroupNested] =
Color
.FromArgb(253, 238, 201);
1764
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGroupShaded] =
Color
.FromArgb(190, 218, 251);
1765
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKGroupText] =
Color
.FromArgb(55, 104, 185);
1766
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKIconBar] =
Color
.FromArgb(253, 247, 233);
1767
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKInfoBarBkgd] =
Color
.FromArgb(144, 153, 174);
1768
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKInfoBarText] =
Color
.FromArgb(255, 255, 255);
1769
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKPreviewPaneLabelText] =
Color
.FromArgb(144, 153, 174);
1770
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKTodayIndicatorDark] =
Color
.FromArgb(187, 85, 3);
1771
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKTodayIndicatorLight] =
Color
.FromArgb(251, 200, 79);
1772
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBActionDividerLine] =
Color
.FromArgb(215, 228, 251);
1773
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBButtonDark] =
Color
.FromArgb(123, 164, 224);
1774
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBButtonLight] =
Color
.FromArgb(203, 225, 252);
1775
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBButtonLight] =
Color
.FromArgb(203, 225, 252);
1776
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBDarkOutline] =
Color
.FromArgb(0, 45, 150);
1777
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBFoldersBackground] =
Color
.FromArgb(255, 255, 255);
1778
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBHoverButtonDark] =
Color
.FromArgb(247, 190, 87);
1779
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBHoverButtonLight] =
Color
.FromArgb(255, 255, 220);
1780
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBLabelText] =
Color
.FromArgb(50, 69, 105);
1781
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBPressedButtonDark] =
Color
.FromArgb(248, 222, 128);
1782
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBPressedButtonLight] =
Color
.FromArgb(232, 127, 8);
1783
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSelectedButtonDark] =
Color
.FromArgb(238, 147, 17);
1784
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSelectedButtonLight] =
Color
.FromArgb(251, 230, 148);
1785
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSplitterDark] =
Color
.FromArgb(0, 53, 145);
1786
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSplitterLight] =
Color
.FromArgb(89, 135, 214);
1787
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrOLKWBSplitterLight] =
Color
.FromArgb(89, 135, 214);
1788
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPlacesBarBkgd] =
Color
.FromArgb(236, 233, 216);
1789
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPOutlineThumbnailsPaneTabAreaBkgd] =
Color
.FromArgb(195, 218, 249);
1790
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPOutlineThumbnailsPaneTabBdr] =
Color
.FromArgb(59, 97, 156);
1791
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPOutlineThumbnailsPaneTabInactiveBkgd] =
Color
.FromArgb(158, 190, 245);
1792
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPOutlineThumbnailsPaneTabText] =
Color
.FromArgb(0, 0, 0);
1793
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPSlideBdrActiveSelected] =
Color
.FromArgb(61, 108, 192);
1794
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPSlideBdrActiveSelectedMouseOver] =
Color
.FromArgb(61, 108, 192);
1795
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPSlideBdrInactiveSelected] =
Color
.FromArgb(128, 128, 128);
1796
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPPSlideBdrMouseOver] =
Color
.FromArgb(61, 108, 192);
1797
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPubPrintDocScratchPageBkgd] =
Color
.FromArgb(144, 153, 174);
1798
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrPubWebDocScratchPageBkgd] =
Color
.FromArgb(189, 194, 207);
1799
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrSBBdr] =
Color
.FromArgb(211, 211, 211);
1800
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrScrollbarBkgd] =
Color
.FromArgb(251, 251, 248);
1801
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrToastGradBegin] =
Color
.FromArgb(220, 236, 254);
1802
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrToastGradEnd] =
Color
.FromArgb(167, 197, 238);
1803
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPBdrInnerDocked] =
Color
.FromArgb(185, 212, 249);
1804
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPBdrOuterDocked] =
Color
.FromArgb(196, 218, 250);
1805
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPBdrOuterFloating] =
Color
.FromArgb(42, 102, 201);
1806
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPBkgd] =
Color
.FromArgb(221, 236, 254);
1807
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBdr] =
Color
.FromArgb(127, 157, 185);
1808
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBdrDefault] =
Color
.FromArgb(0, 0, 0);
1809
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBdrDefault] =
Color
.FromArgb(0, 0, 0);
1810
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBdrDisabled] =
Color
.FromArgb(128, 128, 128);
1811
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBkgd] =
Color
.FromArgb(169, 199, 240);
1812
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlBkgdDisabled] =
Color
.FromArgb(222, 222, 222);
1813
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlText] =
Color
.FromArgb(0, 0, 0);
1814
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlTextDisabled] =
Color
.FromArgb(172, 168, 153);
1815
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPCtlTextMouseDown] =
Color
.FromArgb(0, 0, 0);
1816
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPGroupline] =
Color
.FromArgb(123, 164, 224);
1817
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPInfoTipBkgd] =
Color
.FromArgb(255, 255, 204);
1818
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPInfoTipText] =
Color
.FromArgb(0, 0, 0);
1819
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPNavBarBkgnd] =
Color
.FromArgb(74, 122, 201);
1820
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPText] =
Color
.FromArgb(0, 0, 0);
1821
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPText] =
Color
.FromArgb(0, 0, 0);
1822
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTextDisabled] =
Color
.FromArgb(172, 168, 153);
1823
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTitleBkgdActive] =
Color
.FromArgb(123, 164, 224);
1824
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTitleBkgdInactive] =
Color
.FromArgb(148, 187, 239);
1825
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTitleTextActive] =
Color
.FromArgb(0, 0, 0);
1826
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrWPTitleTextInactive] =
Color
.FromArgb(0, 0, 0);
1827
rgbTable[ProfessionalColorTable.KnownColors.msocbvcrXLFormulaBarBkgd] =
Color
.FromArgb(158, 190, 245);
winforms\Managed\System\WinForms\ProgressBar.cs (1)
57
private
Color
defaultForeColor = SystemColors.Highlight;
winforms\Managed\System\WinForms\PropertyGrid.cs (45)
92
private
Color
lineColor = SystemInformation.HighContrast ? (AccessibilityImprovements.Level1 ? SystemColors.ControlDarkDark : SystemColors.ControlDark )
96
private
Color
categoryForeColor = SystemColors.ControlText;
97
private
Color
categorySplitterColor = SystemColors.Control;
98
private
Color
viewBorderColor = SystemColors.ControlDark;
99
private
Color
selectedItemWithFocusForeColor = SystemColors.HighlightText;
100
private
Color
selectedItemWithFocusBackColor = SystemColors.Highlight;
371
public override
Color
BackColor {
512
DefaultValue(typeof(
Color
), "ControlText")
514
public
Color
CategoryForeColor {
534
public
Color
CommandsBackColor {
552
public
Color
CommandsForeColor {
570
public
Color
CommandsLinkColor {
587
public
Color
CommandsActiveLinkColor {
604
public
Color
CommandsDisabledLinkColor {
620
DefaultValue(typeof(
Color
), "ControlDark")
622
public
Color
CommandsBorderColor {
738
public override
Color
ForeColor {
800
DefaultValue(typeof(
Color
), "Control")
802
public
Color
HelpBackColor {
818
DefaultValue(typeof(
Color
), "ControlText")
820
public
Color
HelpForeColor {
836
DefaultValue(typeof(
Color
), "ControlDark")
838
public
Color
HelpBorderColor {
905
DefaultValue(typeof(
Color
), "Highlight")
907
public
Color
SelectedItemWithFocusBackColor {
927
DefaultValue(typeof(
Color
), "HighlightText")
929
public
Color
SelectedItemWithFocusForeColor {
949
DefaultValue(typeof(
Color
), "GrayText")
951
public
Color
DisabledItemForeColor {
968
DefaultValue(typeof(
Color
), "Control")
970
public
Color
CategorySplitterColor {
1018
DefaultValue(typeof(
Color
), "InactiveBorder")
1020
public
Color
LineColor {
1597
DefaultValue(typeof(
Color
), "Window")
1599
public
Color
ViewBackColor {
1616
DefaultValue(typeof(
Color
), "WindowText")
1618
public
Color
ViewForeColor {
1636
DefaultValue(typeof(
Color
), "ControlDark")
1638
public
Color
ViewBorderColor {
4239
hotcommands.SetColors(SystemColors.Control, SystemColors.ControlText,
Color
.Empty,
Color
.Empty,
Color
.Empty,
Color
.Empty);
5021
private
Color
borderColor = SystemColors.ControlDark;
5055
public
Color
BorderColor {
winforms\Managed\System\WinForms\PropertyGridInternal\CategoryGridEntry.cs (1)
126
protected override
Color
LabelTextColor {
winforms\Managed\System\WinForms\PropertyGridInternal\DropDownButton.cs (5)
159
Color
c = ControlPaint.LightLight(Control.BackColor);
172
Color
c = ControlPaint.Light(Control.BackColor);
202
Color
c = SystemColors.Window;
215
ControlPaint.DrawImageReplaceColor(graphics, image, imageBounds,
Color
.Black, SystemColors.HighlightText);
218
ControlPaint.DrawImageReplaceColor(graphics, image, imageBounds,
Color
.Black, Control.ForeColor);
winforms\Managed\System\WinForms\PropertyGridInternal\GridEntry.cs (9)
138
private static
Color
InvertColor(
Color
color) {
139
return
Color
.FromArgb(color.A, (byte)~color.R, (byte)~color.G, (byte)~color.B);
233
protected virtual
Color
LabelTextColor {
1931
Color
textColor = selected && hasFocus ? gridHost.GetSelectedItemWithFocusForeColor() : shouldInvertForHC ? InvertColor(ownerGrid.LineColor) : g.GetNearestColor(this.LabelTextColor);
2018
Color
textColor = InvertColor(ownerGrid.LineColor);
2044
Color
penColor = GridEntryHost.GetTextColor();
2093
Color
textColor = gridHost.GetTextColor();
2205
Color
bkColor = ((paintFlags & PaintValueFlags.DrawSelected) != PaintValueFlags.None) ? GridEntryHost.GetSelectedItemWithFocusBackColor() : GridEntryHost.BackColor;
winforms\Managed\System\WinForms\PropertyGridInternal\HotCommands.cs (6)
151
internal void SetColors(
Color
background,
Color
normalText,
Color
link,
Color
activeLink,
Color
visitedLink,
Color
disabledLink) {
winforms\Managed\System\WinForms\PropertyGridInternal\PropertyGridView.cs (10)
97
private
Color
grayTextColor;
216
public override
Color
BackColor {
441
internal
Color
GrayTextColor{
465
return
Color
.FromArgb(colorRGB);
1511
public virtual
Color
GetLineColor() {
1517
Color
clr = g.GetNearestColor(ownerGrid.LineColor);
1523
public virtual
Color
GetSelectedItemWithFocusForeColor()
1528
public virtual
Color
GetSelectedItemWithFocusBackColor()
1536
Color
clr = g.GetNearestColor(ownerGrid.SelectedItemWithFocusBackColor);
2217
public
Color
GetTextColor() {
winforms\Managed\System\WinForms\PropertyStore.cs (6)
60
public
Color
GetColor(int key) {
67
public
Color
GetColor(int key, out bool found) {
84
return
Color
.Empty;
618
public void SetColor(int key,
Color
value) {
921
public
Color
Color;
922
public ColorWrapper(
Color
color){
winforms\Managed\System\WinForms\RadioButtonRenderer.cs (2)
139
Color
textColor;
185
Color
textColor;
winforms\Managed\System\WinForms\RichTextBox.cs (11)
106
private
Color
selectionBackColorToSetOnHandleCreated;
502
public override
Color
ForeColor {
996
public
Color
SelectionColor {
998
Color
selColor =
Color
.Empty;
1030
public
Color
SelectionBackColor {
1032
Color
selColor =
Color
.Empty;
1057
if (value ==
Color
.Empty)
2230
private bool InternalSetForeColor(
Color
value) {
2561
if (selectionBackColorToSetOnHandleCreated !=
Color
.Empty) {
winforms\Managed\System\WinForms\SafeNativeMethods.cs (3)
890
public static
Color
ColorFromCOLORREF(int colorref) {
894
return
Color
.FromArgb(r, g, b);
897
public static int ColorToCOLORREF(
Color
color) {
winforms\Managed\System\WinForms\ScrollBar.cs (2)
109
public override
Color
BackColor {
233
public override
Color
ForeColor {
winforms\Managed\System\WinForms\SplitContainer.cs (1)
1522
if (this.BackColor ==
Color
.Transparent) {
winforms\Managed\System\WinForms\Splitter.cs (1)
137
public override
Color
ForeColor {
winforms\Managed\System\WinForms\StatusBar.cs (2)
132
public override
Color
BackColor {
315
public override
Color
ForeColor {
winforms\Managed\System\WinForms\StatusBarDrawItemEvent.cs (2)
45
DrawItemState itemState, StatusBarPanel panel,
Color
foreColor,
Color
backColor) : base(g, font, r, itemId, itemState, foreColor, backColor) {
winforms\Managed\System\WinForms\StatusStrip.cs (1)
605
this.BackColor =
Color
.Transparent;
winforms\Managed\System\WinForms\TabControl.cs (2)
205
public override
Color
BackColor {
311
public override
Color
ForeColor {
winforms\Managed\System\WinForms\TabPage.cs (6)
116
public override
Color
BackColor {
118
Color
color = base.BackColor;
127
return
Color
.Transparent;
134
if (value !=
Color
.Empty) {
703
Color
bkcolor = UseVisualStyleBackColor ?
Color
.Transparent : this.BackColor;
winforms\Managed\System\WinForms\TabRenderer.cs (2)
113
Color
textColor = visualStyleRenderer.GetColor(ColorProperty.TextColor);
170
Color
textColor = visualStyleRenderer.GetColor(ColorProperty.TextColor);
winforms\Managed\System\WinForms\TextBoxBase.cs (2)
293
public override
Color
BackColor {
587
public override
Color
ForeColor {
winforms\Managed\System\WinForms\TextBoxRenderer.cs (2)
49
Color
windowColor = visualStyleRenderer.GetColor(ColorProperty.FillColor);
120
Color
textColor = visualStyleRenderer.GetColor(ColorProperty.TextColor);
winforms\Managed\System\WinForms\ToolBar.cs (2)
239
public override
Color
BackColor {
589
public override
Color
ForeColor {
winforms\Managed\System\WinForms\ToolStrip.cs (2)
455
public new
Color
BackColor {
876
public new
Color
ForeColor {
winforms\Managed\System\WinForms\ToolStripArrowRenderEventArgs.cs (7)
16
private
Color
arrowColor =
Color
.Empty;
17
private
Color
defaultArrowColor =
Color
.Empty;
23
public ToolStripArrowRenderEventArgs(Graphics g, ToolStripItem toolStripItem, Rectangle arrowRectangle,
Color
arrowColor, ArrowDirection arrowDirection) {
43
public
Color
ArrowColor {
56
internal
Color
DefaultArrowColor {
winforms\Managed\System\WinForms\ToolStripComboBox.cs (2)
667
protected override
Color
GetOuterBorderColor(ComboBox comboBox) {
674
protected override
Color
GetPopupOuterBorderColor(ComboBox comboBox, bool focused) {
winforms\Managed\System\WinForms\ToolStripContainer.cs (2)
103
public new
Color
BackColor {
285
public new
Color
ForeColor {
winforms\Managed\System\WinForms\ToolStripContentPanel.cs (3)
108
public override
Color
BackColor {
118
if (this.ParentInternal is ToolStripContainer && value ==
Color
.Transparent) {
119
this.ParentInternal.BackColor =
Color
.Transparent;
winforms\Managed\System\WinForms\ToolStripControlHost.cs (3)
71
public override
Color
BackColor {
265
public override
Color
ForeColor {
323
public new
Color
ImageTransparentColor {
winforms\Managed\System\WinForms\ToolStripDropDownButton.cs (1)
182
Color
arrowColor;
winforms\Managed\System\WinForms\ToolStripHighContrastRenderer.cs (11)
107
Color
checkColor =
Color
.FromArgb(255, 4, 2, 4);
154
Color
arrowColor = AccessibilityImprovements.Level2 && item.Selected && !item.Pressed ? SystemColors.HighlightText : SystemColors.ControlText;
184
Color
arrowColor = item.Enabled ? SystemColors.ControlText : SystemColors.ControlDark;
345
return SystemColors.Control.ToArgb() ==
Color
.Black.ToArgb();
368
cm1.OldColor =
Color
.Black;
369
cm1.NewColor =
Color
.White;
370
cm2.OldColor =
Color
.White;
371
cm2.NewColor =
Color
.Black;
372
cm3.OldColor =
Color
.FromArgb(0, 0, 128);
373
cm3.NewColor =
Color
.White;
winforms\Managed\System\WinForms\ToolStripItem.cs (21)
65
private
Color
imageTransparentColor =
Color
.Empty;
541
public virtual
Color
BackColor {
543
Color
c = RawBackColor; // inheritedProperties.BackColor
554
Color
c = BackColor;
1012
public virtual
Color
ForeColor {
1014
Color
foreColor = Properties.GetColor(PropForeColor);
1027
Color
c = ForeColor;
1263
if (bmp != null && ImageTransparentColor !=
Color
.Empty) {
1287
public
Color
ImageTransparentColor {
1295
if (currentImage != null && value !=
Color
.Empty) {
1424
Color
color = Properties.GetColor(PropForeColor);
1999
internal
Color
RawBackColor {
3268
Color
backColor = Properties.GetColor(PropBackColor);
3315
Color
foreColor = Properties.GetColor(PropForeColor);
3659
return ImageTransparentColor !=
Color
.Empty;
3667
Color
backColor = Properties.GetColor(PropBackColor);
3683
Color
foreColor = Properties.GetColor(PropForeColor);
3767
BackColor =
Color
.Empty;
3781
ForeColor =
Color
.Empty;
3805
ImageTransparentColor =
Color
.Empty;
winforms\Managed\System\WinForms\ToolStripItemTextRenderEventArgs.cs (6)
21
private
Color
textColor = SystemColors.ControlText;
26
private
Color
defaultTextColor = SystemColors.ControlText;
33
public ToolStripItemTextRenderEventArgs(Graphics g, ToolStripItem item, string text, Rectangle textRectangle,
Color
textColor, Font textFont, TextFormatFlags format) : base(g, item) {
49
public ToolStripItemTextRenderEventArgs(Graphics g, ToolStripItem item, string text, Rectangle textRectangle,
Color
textColor, Font textFont, ContentAlignment textAlign) : base(g, item) {
79
public
Color
TextColor {
95
internal
Color
DefaultTextColor {
winforms\Managed\System\WinForms\ToolStripLabel.cs (13)
30
private
Color
linkColor =
Color
.Empty;
31
private
Color
activeLinkColor =
Color
.Empty;
32
private
Color
visitedLinkColor =
Color
.Empty;
87
public
Color
ActiveLinkColor {
103
private
Color
IELinkColor {
109
private
Color
IEActiveLinkColor {
114
private
Color
IEVisitedLinkColor {
147
public
Color
LinkColor {
185
public
Color
VisitedLinkColor {
318
Color
textColor = this.ForeColor;
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (2)
1060
Color
textColor = SystemColors.MenuText;
1114
Color
arrowColor = (Selected ||Pressed) ? SystemColors.HighlightText : SystemColors.MenuText;
winforms\Managed\System\WinForms\ToolStripProfessionalRenderer.cs (21)
509
Color
borderColor = ColorTable.MenuItemBorder;
549
Color
borderColor = ColorTable.MenuItemBorder;
615
Color
begin = (rightToLeft == RightToLeft.No) ? ColorTable.ImageMarginGradientBegin : ColorTable.ImageMarginGradientEnd;
616
Color
end = (rightToLeft == RightToLeft.No) ? ColorTable.ImageMarginGradientEnd : ColorTable.ImageMarginGradientBegin;
798
Color
overflowBottomLeftShadow, overflowTopShadow;
836
private void FillWithDoubleGradient(
Color
beginColor,
Color
middleColor,
Color
endColor, Graphics g, Rectangle bounds, int firstGradientWidth, int secondGradientWidth, LinearGradientMode mode, bool flipHorizontal) {
846
Color
temp = endColor;
914
Color
fill = (e.Item.Selected) ? ColorTable.CheckSelectedBackground : ColorTable.CheckBackground;
968
private void RenderBackgroundGradient(Graphics g, Control control,
Color
beginColor,
Color
endColor) {
972
private void RenderBackgroundGradient(Graphics g, Control control,
Color
beginColor,
Color
endColor, Orientation orientation) {
975
Color
temp = beginColor;
1075
Color
overflowButtonGradientBegin, overflowButtonGradientMiddle, overflowButtonGradientEnd, overflowBottomLeftShadow, overflowTopShadow;
1229
Color
fillColor = ColorTable.ButtonSelectedHighlight;
1247
Color
fillColor = ColorTable.ButtonCheckedHighlight;
1257
Color
foreColor = ColorTable.SeparatorDark;
1258
Color
highlightColor = ColorTable.SeparatorLight;
1361
Color
fillColor = ColorTable.ButtonPressedHighlight;
winforms\Managed\System\WinForms\ToolStripRenderer.cs (2)
926
Color
textColor = e.TextColor;
1067
return (control.RawBackColor ==
Color
.Empty && control.BackgroundImage == null);
winforms\Managed\System\WinForms\ToolStripRenderEventArgs.cs (6)
21
private
Color
backColor =
Color
.Empty;
39
public ToolStripRenderEventArgs(Graphics g, ToolStrip toolStrip, Rectangle affectedBounds,
Color
backColor) {
60
public
Color
BackColor {
62
if (backColor ==
Color
.Empty) {
65
if (backColor ==
Color
.Empty) {
winforms\Managed\System\WinForms\ToolStripScrollButton.cs (2)
70
downScrollImage.MakeTransparent(
Color
.White);
88
upScrollImage.MakeTransparent(
Color
.White);
winforms\Managed\System\WinForms\ToolStripSeparator.cs (1)
257
public new
Color
ImageTransparentColor {
winforms\Managed\System\WinForms\ToolStripSystemRenderer.cs (10)
67
private static void FillBackground(Graphics g, Rectangle bounds,
Color
backColor) {
82
private static bool GetPen(
Color
color, ref Pen pen) {
278
Color
backColor = e.ToolStrip.BackColor;
345
Color
arrowColor = item.Enabled ? SystemColors.ControlText : SystemColors.ControlDark;
381
else if (item.RawBackColor !=
Color
.Empty) {
408
Color
borderColor = ToolStripManager.VisualStylesEnabled ?
421
else if (!ToolStripManager.VisualStylesEnabled && (item.RawBackColor !=
Color
.Empty)) {
459
Color
arrowColor = splitButton.Enabled ? SystemColors.ControlText : SystemColors.ControlDark;
611
Color
foreColor = item.ForeColor;
612
Color
backColor = item.BackColor;
winforms\Managed\System\WinForms\ToolStripTextBox.cs (2)
860
Color
outerBorderColor = (MouseIsOver || Focused) ? ColorTable.TextBoxBorder : this.BackColor;
861
Color
innerBorderColor = this.BackColor;
winforms\Managed\System\WinForms\ToolTip.cs (6)
69
Color
backColor = SystemColors.Info;
70
Color
foreColor = SystemColors.InfoText;
215
DefaultValue(typeof(
Color
),"Info")
217
public
Color
BackColor {
276
DefaultValue(typeof(
Color
),"InfoText")
278
public
Color
ForeColor {
winforms\Managed\System\WinForms\TrackBar.cs (1)
299
public override
Color
ForeColor {
winforms\Managed\System\WinForms\TreeNode.cs (10)
242
public
Color
BackColor {
244
if (propBag==null) return
Color
.Empty;
249
Color
oldbk = this.BackColor;
254
propBag.BackColor =
Color
.Empty;
458
public
Color
ForeColor {
460
if (propBag == null) return
Color
.Empty;
464
Color
oldfc = this.ForeColor;
469
propBag.ForeColor =
Color
.Empty;
1836
return BackColor !=
Color
.Empty;
1840
return ForeColor !=
Color
.Empty;
winforms\Managed\System\WinForms\TreeView.cs (11)
158
private
Color
lineColor;
199
public override
Color
BackColor {
452
public override
Color
ForeColor {
862
DefaultValue(typeof(
Color
), "Black")
864
public
Color
LineColor {
2003
Color
c;
2013
if (lineColor !=
Color
.Empty) {
2778
Color
riFore = renderinfo.ForeColor;
2779
Color
riBack = renderinfo.BackColor;
2838
Color
color = (((curState & TreeNodeStates.Selected) == TreeNodeStates.Selected) && node.TreeView.Focused) ? SystemColors.HighlightText : (node.ForeColor !=
Color
.Empty) ? node.ForeColor : node.TreeView.ForeColor;
winforms\Managed\System\WinForms\UpDownBase.cs (2)
206
public override
Color
BackColor {
418
public override
Color
ForeColor {
winforms\Managed\System\WinForms\VisualStyles\VisualStyleInformation.cs (4)
274
public static
Color
TextControlBorder {
283
Color
borderColor = visualStyleRenderer.GetColor(ColorProperty.BorderColor);
296
public static
Color
ControlHighlightHot {
306
Color
accentColor = visualStyleRenderer.GetColor(ColorProperty.AccentColorHint);
winforms\Managed\System\WinForms\VisualStyles\VisualStyleRenderer.cs (1)
612
public
Color
GetColor(ColorProperty prop) {
winforms\Managed\System\WinForms\WebBrowserBase.cs (2)
1385
public override
Color
BackColor {
1409
public override
Color
ForeColor {
System.Windows.Forms.DataVisualization (1529)
Common\Annotation\AnnotationBase.cs (37)
192
private
Color
_foreColor =
Color
.Black;
196
internal
Color
lineColor =
Color
.Black;
199
private
Color
_backColor =
Color
.Empty;
202
private
Color
_backSecondaryColor =
Color
.Empty;
203
private
Color
_shadowColor =
Color
.FromArgb(128, 0, 0, 0);
889
/// A <see cref="
Color
"/> value used for the text color of an annotation.
893
DefaultValue(typeof(
Color
), "Black"),
898
virtual public
Color
ForeColor
968
/// A <see cref="
Color
"/> value used to draw an annotation line.
972
DefaultValue(typeof(
Color
), "Black"),
977
virtual public
Color
LineColor
1053
/// A <see cref="
Color
"/> value used for the background of an annotation.
1057
DefaultValue(typeof(
Color
), ""),
1063
virtual public
Color
BackColor
1146
/// A <see cref="
Color
"/> value used for the secondary color of an annotation background with
1155
DefaultValue(typeof(
Color
), ""),
1161
virtual public
Color
BackSecondaryColor
1179
/// A <see cref="
Color
"/> value used to draw an annotation's shadow.
1183
DefaultValue(typeof(
Color
), "128,0,0,0"),
1188
virtual public
Color
ShadowColor
2040
Color
markerBorderColor =
Color
.Black;
2041
Color
markerColor =
Color
.FromArgb(200, 255, 255, 255);
2084
Color
.Empty,
2086
Color
.FromArgb(128, 0, 0, 0),
2097
Color
.Empty,
2099
Color
.FromArgb(128, 0, 0, 0),
2152
Color
.Empty,
2154
Color
.FromArgb(128, 0, 0, 0),
2244
Color
.Empty,
2246
Color
.FromArgb(128, 0, 0, 0),
Common\Annotation\ArrowAnnotation.cs (2)
337
(this.BackColor.IsEmpty) ?
Color
.White : this.BackColor,
341
Color
.Empty,
Common\Annotation\CalloutAnnotation.cs (24)
233
/// A <see cref="
Color
"/> value used to draw an annotation line.
238
DefaultValue(typeof(
Color
), "Black"),
243
override public
Color
LineColor
315
/// A <see cref="
Color
"/> value used for the background of an annotation.
320
DefaultValue(typeof(
Color
), ""),
326
override public
Color
BackColor
409
/// A <see cref="
Color
"/> value used for the secondary color of an annotation background with
419
DefaultValue(typeof(
Color
), ""),
425
override public
Color
BackSecondaryColor
884
Color
.Empty,
1048
Color
.Empty,
1071
Color
.Empty,
1201
Color
.Empty,
1232
Color
.Empty,
1253
Color
.Empty,
1289
Color
.Empty,
1313
Color
[] perspectivePathColors = new
Color
[2];
1314
Color
color = (this.BackColor.IsEmpty) ?
Color
.White : this.BackColor;
1408
Color
.Empty,
1455
Color
.Empty,
1576
linePath.Widen(new Pen(
Color
.Black, this.LineWidth + 2));
1630
linePath.Widen(new Pen(
Color
.Black, this.LineWidth + 2));
Common\Annotation\GroupAnnotation.cs (15)
302
/// A <see cref="
Color
"/> value used for the text color of an annotation.
306
DefaultValue(typeof(
Color
), "Black"),
312
override public
Color
ForeColor
363
/// A <see cref="
Color
"/> value used to draw an annotation line.
367
DefaultValue(typeof(
Color
), "Black"),
373
override public
Color
LineColor
456
/// A <see cref="
Color
"/> value used for the background of an annotation.
460
DefaultValue(typeof(
Color
), ""),
467
override public
Color
BackColor
562
/// A <see cref="
Color
"/> value used for the secondary color of an annotation background with
571
DefaultValue(typeof(
Color
), ""),
578
override public
Color
BackSecondaryColor
599
/// A <see cref="
Color
"/> value used to draw an annotation's shadow.
603
DefaultValue(typeof(
Color
), "128,0,0,0"),
609
override public
Color
ShadowColor
Common\Annotation\ImageAnnotation.cs (17)
79
private
Color
_imageTransparentColor =
Color
.Empty;
160
/// A <see cref="
Color
"/> value which will be replaced with a transparent color while drawing the image.
165
DefaultValue(typeof(
Color
), ""),
170
public
Color
ImageTransparentColor
302
/// A <see cref="
Color
"/> value.
307
DefaultValue(typeof(
Color
), "Black"),
311
override public
Color
ForeColor
352
DefaultValue(typeof(
Color
), ""),
357
override public
Color
BackColor
419
DefaultValue(typeof(
Color
), ""),
424
override public
Color
BackSecondaryColor
442
DefaultValue(typeof(
Color
), "Black"),
446
override public
Color
LineColor
597
Color
.Transparent,
604
Color
.Transparent,
605
Color
.Transparent,
Common\Annotation\LineAnnotation.cs (7)
225
/// A <see cref="
Color
"/> value.
230
DefaultValue(typeof(
Color
), "Black"),
235
override public
Color
ForeColor
277
DefaultValue(typeof(
Color
), ""),
282
override public
Color
BackColor
347
DefaultValue(typeof(
Color
), ""),
352
override public
Color
BackSecondaryColor
Common\Annotation\PolygonAnnotation.cs (17)
224
/// A <see cref="
Color
"/> value.
229
DefaultValue(typeof(
Color
), "Black"),
234
override public
Color
ForeColor
276
DefaultValue(typeof(
Color
), ""),
281
override public
Color
BackColor
343
DefaultValue(typeof(
Color
), ""),
348
override public
Color
BackSecondaryColor
700
Color
.Empty,
716
Color
.Transparent,
720
Color
.Empty,
723
Color
.Empty,
1268
/// A <see cref="
Color
"/> value used for the background of an annotation.
1273
DefaultValue(typeof(
Color
), ""),
1279
override public
Color
BackColor
1362
/// A <see cref="
Color
"/> value used for the secondary color of an annotation background with
1372
DefaultValue(typeof(
Color
), ""),
1378
override public
Color
BackSecondaryColor
Common\Annotation\RectangleAnnotation.cs (13)
104
/// A <see cref="
Color
"/> value used to draw an annotation line.
109
DefaultValue(typeof(
Color
), "Black"),
114
override public
Color
LineColor
186
/// A <see cref="
Color
"/> value used for the background of an annotation.
191
DefaultValue(typeof(
Color
), ""),
197
override public
Color
BackColor
280
/// A <see cref="
Color
"/> value used for the secondary color of an annotation background with
290
DefaultValue(typeof(
Color
), ""),
296
override public
Color
BackSecondaryColor
426
Color
.Empty,
541
this._borderSkin.PageColor =
Color
.Transparent;
545
this.lineColor =
Color
.Empty;
669
Color
.Empty,
Common\Annotation\TextAnnotation.cs (13)
195
DefaultValue(typeof(
Color
), "Black"),
199
override public
Color
LineColor
259
DefaultValue(typeof(
Color
), ""),
264
override public
Color
BackColor
326
DefaultValue(typeof(
Color
), ""),
331
override public
Color
BackSecondaryColor
612
Color
textShadowColor = ChartGraphics.GetGradientColor(this.ForeColor,
Color
.Black, 0.8);
625
textShadowColor = (textShadowColor.A != 255) ? textShadowColor :
Color
.FromArgb(textShadowColor.A / 2, textShadowColor);
1139
DefaultValue(typeof(
Color
), "Black"),
1144
override public
Color
CalloutLineColor
1194
DefaultValue(typeof(
Color
), "Transparent"),
1199
override public
Color
CalloutBackColor
Common\Borders3D\Borders3D.cs (24)
163
private
Color
_pageColor =
Color
.White;
166
private
Color
_backSecondaryColor =
Color
.Empty;
167
private
Color
_backColor =
Color
.Gray;
170
private
Color
_backImageTransparentColor =
Color
.Empty;
172
private
Color
_borderColor =
Color
.Black;
207
DefaultValue(typeof(
Color
), "White"),
215
public
Color
PageColor
264
DefaultValue(typeof(
Color
), "Gray"),
272
public
Color
BackColor
293
DefaultValue(typeof(
Color
), "Black"),
301
public
Color
BorderColor
406
DefaultValue(typeof(
Color
), ""),
414
public
Color
BackImageTransparentColor
497
DefaultValue(typeof(
Color
), ""),
505
public
Color
BackSecondaryColor
756
Color
backColor,
760
Color
backImageTransparentColor,
763
Color
backSecondaryColor,
764
Color
borderColor,
Common\Borders3D\EmbedBorder.cs (27)
648
Color
backColor,
652
Color
backImageTransparentColor,
655
Color
backSecondaryColor,
656
Color
borderColor,
696
Color
oldPageColor = borderSkin.PageColor;
697
borderSkin.PageColor =
Color
.Transparent;
905
Color
backColor,
909
Color
backImageTransparentColor,
912
Color
backSecondaryColor,
913
Color
borderColor,
922
Color
shadowColor =
Color
.FromArgb(
928
Color
shadowLightColor =
Color
.FromArgb(
932
if(borderSkin.PageColor ==
Color
.Transparent)
934
shadowLightColor =
Color
.FromArgb(60, 0, 0, 0);
958
graph.DrawRoundedRectShadowAbs(shadowRect, cornerRadius, radius,
Color
.FromArgb(128,
Color
.Black), borderSkin.PageColor, outsideShadowRate);
1047
Color
.Transparent,
1048
Color
.FromArgb(175, (sunken) ?
Color
.White : shadowColor),
1077
Color
.Transparent,
1078
Color
.FromArgb(175, (sunken) ? shadowColor :
Color
.White),
1092
Pen screwPen = new Pen(
Color
.FromArgb(128,255,255,255), 1);
1095
screwPen = new Pen(
Color
.FromArgb(128,
Color
.Black), 1);
Common\Borders3D\EmbossBorder.cs (13)
160
Color
backColor,
164
Color
backImageTransparentColor,
167
Color
backSecondaryColor,
168
Color
borderColor,
177
Color
shadowColor =
Color
.FromArgb(
181
if(borderSkin.PageColor ==
Color
.Transparent)
183
shadowColor =
Color
.FromArgb(60, 0, 0, 0);
187
Color
shadowLightColor =
Color
.FromArgb(
260
Color
.Transparent,
261
Color
.FromArgb(128,
Color
.Gray),
Common\ChartTypes\AreaChart.cs (25)
311
Color
pointColor = point.Color;
312
Color
pointBorderColor = point.BorderColor;
351
if (series.ShadowColor !=
Color
.Empty && series.ShadowOffset != 0)
353
if (pointColor !=
Color
.Empty && pointColor !=
Color
.Transparent)
356
using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor :
Color
.FromArgb(pointColor.A / 2, series.ShadowColor)))
465
if (pointBorderWidth > 0 && pointBorderColor !=
Color
.Empty)
467
Pen pen = new Pen((pointBorderColor !=
Color
.Empty) ? pointBorderColor : pointColor, pointBorderWidth);
535
if (pointBorderWidth > 1 && pointBorderDashStyle != ChartDashStyle.NotSet && pointBorderColor !=
Color
.Empty)
959
Color
color = (useBorderColor) ? pointAttr.dataPoint.BorderColor : pointAttr.dataPoint.Color;
961
if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color ==
Color
.Empty)
963
color =
Color
.Gray;
1229
Color
surfaceColor = color;
1230
Color
surfaceBorderColor = pointAttr.dataPoint.BorderColor;
1240
surfaceColor =
Color
.Transparent;
1241
if(surfaceBorderColor ==
Color
.Empty)
1244
surfaceBorderColor = ChartGraphics.GetGradientColor( color,
Color
.Black, 0.2 );
1270
Color
topColor = (topDarkening == 0f) ? surfaceColor : ChartGraphics.GetGradientColor(surfaceColor,
Color
.Black, topDarkening);
1271
Color
topBorderColor = (topDarkening == 0f) ? surfaceBorderColor : ChartGraphics.GetGradientColor(surfaceBorderColor,
Color
.Black, topDarkening);
1296
Color
bottomColor = (bottomDarkening == 0f) ? surfaceColor : ChartGraphics.GetGradientColor(surfaceColor,
Color
.Black, topDarkening);
1297
Color
bottomBorderColor = (bottomDarkening == 0f) ? surfaceBorderColor : ChartGraphics.GetGradientColor(surfaceBorderColor,
Color
.Black, topDarkening);
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 (22)
405
Color
lineColor = point.BorderColor;
406
if(lineColor ==
Color
.Empty)
483
if(point.BorderColor ==
Color
.Empty)
488
Color
markerLinesColor = lineColor;
494
markerLinesColor = ChartGraphics.GetGradientColor(point.Color,
Color
.Black, 0.4);
498
markerLinesColor = ChartGraphics.GetGradientColor(point.Color,
Color
.White, 0.4);
509
Color
.Empty,
554
Color
.Empty,
771
Color
lineColor = point.BorderColor;
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,
1193
Color
lineColor = point.BorderColor;
1194
if(lineColor ==
Color
.Empty)
1268
Color
markerLinesColor = lineColor;
1274
markerLinesColor = ChartGraphics.GetGradientColor(point.Color,
Color
.Black, 0.4);
1278
markerLinesColor = ChartGraphics.GetGradientColor(point.Color,
Color
.White, 0.4);
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 (4)
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 (41)
664
Color
lightColor = ChartGraphics.GetGradientColor( point.Color,
Color
.White, 0.3 );
665
Color
darkColor = ChartGraphics.GetGradientColor( point.Color,
Color
.Black, 0.3 );
728
(drawSegment) ? lightColor :
Color
.Transparent,
735
(drawSegment) ? point.BackSecondaryColor :
Color
.Transparent,
736
(drawSegment) ? point.BorderColor :
Color
.Transparent,
792
(drawSegment) ? darkColor :
Color
.Transparent,
799
(drawSegment) ? point.BackSecondaryColor :
Color
.Transparent,
800
(drawSegment) ? point.BorderColor :
Color
.Transparent,
841
(drawSegment) ? ChartGraphics.GetGradientColor( point.Color,
Color
.Black, 0.4 ) :
Color
.Transparent,
848
(drawSegment) ? point.BackSecondaryColor :
Color
.Transparent,
849
(drawSegment) ? point.BorderColor :
Color
.Transparent,
891
(drawSegment) ? ChartGraphics.GetGradientColor( point.Color,
Color
.Black, 0.4 ) :
Color
.Transparent,
898
(drawSegment) ? point.BackSecondaryColor :
Color
.Transparent,
899
(drawSegment) ? point.BorderColor :
Color
.Transparent,
1155
Color
lightColor = ChartGraphics.GetGradientColor( point.Color,
Color
.White, 0.3 );
1156
Color
darkColor = ChartGraphics.GetGradientColor( point.Color,
Color
.Black, 0.3 );
1198
point.BorderColor ==
Color
.Empty)
1201
pen = new Pen(ChartGraphics.GetGradientColor( point.Color,
Color
.Black, 0.3 ), 1);
1217
(drawSegment) ? point.Color :
Color
.Transparent,
1224
(drawSegment) ? point.BackSecondaryColor :
Color
.Transparent,
1225
(drawSegment) ? point.BorderColor :
Color
.Transparent,
1266
(drawSegment) ? ChartGraphics.GetGradientColor( point.Color,
Color
.Black, 0.4 ) :
Color
.Transparent,
1273
(drawSegment) ? point.BackSecondaryColor :
Color
.Transparent,
1274
(drawSegment) ? point.BorderColor :
Color
.Transparent,
1315
(drawSegment) ? ChartGraphics.GetGradientColor( point.Color,
Color
.Black, 0.4 ) :
Color
.Transparent,
1322
(drawSegment) ? point.BackSecondaryColor :
Color
.Transparent,
1323
(drawSegment) ? point.BorderColor :
Color
.Transparent,
1549
Color
lineColor = GetCalloutLineColor(labelInfo.Point);
2329
private
Color
GetCalloutLineColor(DataPointCustomProperties properties)
2332
Color
color =
Color
.Black;
2343
color = (
Color
)colorConverter.ConvertFromInvariantString(attrValue);
2359
color = (
Color
)colorConverter.ConvertFromString(attrValue);
Common\ChartTypes\KagiChart.cs (10)
92
internal
Color
kagiUpColor =
Color
.Empty;
476
this.kagiUpColor = ChartGraphics.GetGradientColor(series.Color,
Color
.Black, 0.5);
483
this.kagiUpColor = (
Color
)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, priceUpColorString);
497
Color
lineColor = (currentKagiDirection == 1) ? this.kagiUpColor : point.Color;
744
Color
color = (useBorderColor) ? pointAttr.dataPoint.BorderColor : pointAttr.dataPoint.Color;
746
if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color ==
Color
.Empty)
748
color =
Color
.Gray;
766
this.kagiUpColor = (
Color
)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, priceUpColorString);
780
Color
lineColor = (currentKagiDirection == 1) ? this.kagiUpColor : color;
Common\ChartTypes\LineChart.cs (11)
168
private Pen _linePen = new Pen(
Color
.Black);
748
Color
color = (useBorderColor) ? point.BorderColor : point.Color;
752
if(!disableShadow && series.ShadowOffset != 0 && series.ShadowColor !=
Color
.Empty)
754
if(color !=
Color
.Empty && color !=
Color
.Transparent && pointBorderWidth > 0 && dashStyle != ChartDashStyle.NotSet)
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);
808
if(color !=
Color
.Empty && pointBorderWidth > 0 && dashStyle != ChartDashStyle.NotSet)
1377
if(pointAttr.dataPoint.Color !=
Color
.Empty)
1531
Color
color = (useBorderColor) ? pointAttr.dataPoint.BorderColor : pointAttr.dataPoint.Color;
1533
if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color ==
Color
.Empty)
1535
color =
Color
.Gray;
Common\ChartTypes\PieChart.cs (31)
431
collectedPoint.Color = (
Color
)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, series[CustomPropertyName.CollectedColor]);
837
Color
pieLineColor =
Color
.Empty;
846
pieLineColor = (
Color
)colorConverter.ConvertFromString(
861
pieLineColor = (
Color
)colorConverter.ConvertFromInvariantString(
902
Color
shcolor = new Color();
903
Color
shGradientColor = new Color();
904
Color
shBorderColor = new Color();
908
shcolor =
Color
.FromArgb( point.Color.A/2, point.series.ShadowColor );
916
shGradientColor =
Color
.FromArgb( point.BackSecondaryColor.A/2, point.series.ShadowColor );
921
shGradientColor =
Color
.Empty;
927
shBorderColor =
Color
.FromArgb( point.BorderColor.A/2, point.series.ShadowColor );
932
shBorderColor =
Color
.Empty;
1074
public void DrawLabels( ChartGraphics graph, PointF middlePoint, SizeF relativeSize, float startAngle, float sweepAngle, DataPoint point, float doughnutRadius, bool exploded, ChartArea area, bool overlapTest, int pointIndex,
Color
pieLineColor )
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 )
2697
penColor = ChartGraphics.GetGradientColor( point.Color,
Color
.Black, 0.5 );
2699
else if( point.BorderColor ==
Color
.Empty )
2708
if( point.BorderColor !=
Color
.Empty || area.Area3DStyle.LightStyle == LightStyle.None )
2718
if( point.BorderColor ==
Color
.Empty )
2969
Color
pieLineColor = pen.Color;
2979
pieLineColor = (
Color
)colorConverter.ConvertFromString(point[CustomPropertyName.PieLineColor]);
2983
pieLineColor = (
Color
)colorConverter.ConvertFromString(point.series[CustomPropertyName.PieLineColor]);
2999
pieLineColor = (
Color
)colorConverter.ConvertFromInvariantString(point[CustomPropertyName.PieLineColor]);
3003
pieLineColor = (
Color
)colorConverter.ConvertFromInvariantString(point.series[CustomPropertyName.PieLineColor]);
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\PointAndFigureChart.cs (3)
530
Color
upPriceColor = ChartGraphics.GetGradientColor(series.Color,
Color
.Black, 0.5);
537
upPriceColor = (
Color
)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, upPriceColorString);
Common\ChartTypes\PointChart.cs (10)
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,
580
Color
markerColor,
581
Color
markerBorderColor,
584
Color
markerImageTransparentColor,
586
Color
shadowColor,
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 (19)
435
Color
areaColor = pointAttributes.Color;
436
Color
borderColor = pointAttributes.BorderColor;
457
areaColor =
Color
.Transparent;
462
areaColor =
Color
.Transparent;
476
if (areaColor !=
Color
.Transparent && areaColor !=
Color
.Empty && ser.ShadowOffset != 0)
534
Color
areaColor = pointAttributes.Color;
535
Color
borderColor = pointAttributes.BorderColor;
556
areaColor =
Color
.Transparent;
561
areaColor =
Color
.Transparent;
596
if (areaColor !=
Color
.Transparent && areaColor !=
Color
.Empty)
642
if (borderColor !=
Color
.Empty && borderWidth > 0 && borderDashStyle != ChartDashStyle.NotSet)
658
(areaColor ==
Color
.Transparent || areaColor ==
Color
.Empty) ? ser.ShadowOffset : 0);
707
Color
markerColor = point.MarkerColor;
767
(point.series != null) ? point.series.ShadowColor :
Color
.Empty,
909
linePath.Widen(new Pen(
Color
.Black, borderWidth + 2));
1554
Color
markerColor = point.MarkerColor;
Common\ChartTypes\RangeChart.cs (19)
508
if(series.ShadowColor !=
Color
.Empty && series.ShadowOffset != 0)
510
if(point.Color !=
Color
.Empty && point.Color !=
Color
.Transparent)
519
using (Brush shadowBrush = new SolidBrush((series.ShadowColor.A != 255) ? series.ShadowColor :
Color
.FromArgb(point.Color.A / 2, series.ShadowColor)))
649
point.BorderColor !=
Color
.Empty) ||
940
Color
color = (useBorderColor) ? pointAttr.dataPoint.BorderColor : pointAttr.dataPoint.Color;
942
if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color ==
Color
.Empty)
944
color =
Color
.Gray;
1245
Color
surfaceColor = color;
1246
Color
surfaceBorderColor = pointAttr.dataPoint.BorderColor;
1256
surfaceColor =
Color
.Transparent;
1257
if(surfaceBorderColor ==
Color
.Empty)
1260
surfaceBorderColor = ChartGraphics.GetGradientColor( color,
Color
.Black, 0.2 );
1644
Color
backColor,
1645
Color
borderColor,
1711
Color
polygonColor = area.matrix3D.GetPolygonLight(points3D, backColor, topIsVisible, area.Area3DStyle.Rotation, SurfaceNames.Front, area.ReverseSeriesOrder);
1712
Color
surfaceBorderColor = borderColor;
1713
if(surfaceBorderColor ==
Color
.Empty)
1716
surfaceBorderColor = ChartGraphics.GetGradientColor( backColor,
Color
.Black, 0.2 );
Common\ChartTypes\RenkoChart.cs (7)
443
Color
upBrickColor =
Color
.Transparent;
454
upBrickColor = (
Color
)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, upBrickColorString);
501
if( (newDataPoint.BorderColor ==
Color
.Empty || newDataPoint.BorderColor ==
Color
.Transparent) &&
502
(newDataPoint.Color ==
Color
.Empty || newDataPoint.Color ==
Color
.Transparent) )
Common\ChartTypes\StackedAreaChart.cs (3)
625
else if (point.IsEmpty && point.Color ==
Color
.Empty)
637
if ((point.BorderColor !=
Color
.Empty && point.BorderWidth > 0))
716
if (point.BorderWidth > 1 && point.BorderDashStyle != ChartDashStyle.NotSet && point.BorderColor !=
Color
.Empty)
Common\ChartTypes\StackedBarChart.cs (2)
895
(!shadow)? point.Color :
Color
.Transparent,
902
(!shadow)? point.BackSecondaryColor :
Color
.Transparent,
Common\ChartTypes\StackedColumnChart.cs (2)
913
(!shadow)? point.Color :
Color
.Transparent,
920
(!shadow)? point.BackSecondaryColor :
Color
.Transparent,
Common\ChartTypes\StepLineChart.cs (3)
282
Color
color = (useBorderColor) ? pointAttr.dataPoint.BorderColor : pointAttr.dataPoint.Color;
284
if( pointAttr.dataPoint.IsEmpty && pointAttr.dataPoint.Color ==
Color
.Empty)
286
color =
Color
.Gray;
Common\ChartTypes\StockChart.cs (26)
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,
746
Color
priceUpColor = point.Color;
747
Color
priceDownColor = point.BackSecondaryColor;
756
priceUpColor = (
Color
)colorConverter.ConvertFromString(attrValue);
769
priceUpColor = (
Color
)colorConverter.ConvertFromInvariantString(attrValue);
779
priceDownColor = (
Color
)colorConverter.ConvertFromString(attrValue);
792
priceDownColor = (
Color
)colorConverter.ConvertFromInvariantString(attrValue);
804
Color
barColor = (open > close) ? priceUpColor : priceDownColor;
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,
1571
Color
priceUpColor = point.Color;
1572
Color
priceDownColor = point.BackSecondaryColor;
1581
priceUpColor = (
Color
)colorConverter.ConvertFromString(attrValue);
1594
priceUpColor = (
Color
)colorConverter.ConvertFromInvariantString(attrValue);
1604
priceDownColor = (
Color
)colorConverter.ConvertFromString(attrValue);
1617
priceDownColor = (
Color
)colorConverter.ConvertFromInvariantString(attrValue);
1629
Color
barColor = (open > close) ? priceUpColor : priceDownColor;
1630
Color
barBorderColor = (point.BorderColor ==
Color
.Empty) ? (barColor ==
Color
.Empty) ? point.Color : barColor : point.BorderColor;
Common\ChartTypes\ThreeLineBreakChart.cs (7)
361
Color
priceUpColor =
Color
.Transparent;
372
priceUpColor = (
Color
)colorConverter.ConvertFromString(null, CultureInfo.InvariantCulture, priceUpColorString);
479
if( (newDataPoint.BorderColor ==
Color
.Empty || newDataPoint.BorderColor ==
Color
.Transparent) &&
480
(newDataPoint.Color ==
Color
.Empty || newDataPoint.Color ==
Color
.Transparent) )
Common\Converters\CustomAttributesConverters.cs (3)
666
else if(this._customAttributeInfo.ValueType == typeof(
Color
) )
669
result = (
Color
)colorConverter.ConvertFromString(null, System.Globalization.CultureInfo.InvariantCulture, stringValue);
693
if(value is
Color
)
Common\Converters\DataManagerConverters.cs (8)
767
return ColorArrayToString(value as
Color
[]);
798
public static string ColorArrayToString(
Color
[] colors)
804
foreach(
Color
color in colors)
822
public static
Color
[] StringToColorArray(String colorNames)
825
Color
[] array = new
Color
[0];
829
array = new
Color
[colorValues.Length];
833
array[index++] = (
Color
)colorConverter.ConvertFromInvariantString(str);
Common\DataManager\DataManager.cs (5)
222
Color
[] paletteColors = (palette == ChartColorPalette.None) ?
238
if(dataSeries.Color ==
Color
.Empty || dataSeries.tempColorIsSet)
1132
private
Color
[] _paletteCustomColors = new
Color
[0];
1147
public
Color
[] PaletteCustomColors
Common\DataManager\DataPoint.cs (73)
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);
3139
SetAttributeObject(CommonCustomProperties.LabelForeColor,
Color
.Black);
3151
SetAttributeObject(CommonCustomProperties.LabelBackColor,
Color
.Empty);
3157
SetAttributeObject(CommonCustomProperties.LabelBorderColor,
Color
.Empty);
3488
public
Color
Color
3496
return (
Color
)GetAttributeObject(CommonCustomProperties.Color);
3502
return
Color
.Empty;
3506
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.Color);
3522
if(value ==
Color
.Empty && this.pointCustomProperties)
3550
public
Color
BorderColor
3558
return (
Color
)GetAttributeObject(CommonCustomProperties.BorderColor);
3564
return
Color
.Empty;
3568
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.BorderColor);
3824
public
Color
BackImageTransparentColor
3832
return (
Color
)GetAttributeObject(CommonCustomProperties.BackImageTransparentColor);
3838
return
Color
.Empty;
3842
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.BackImageTransparentColor);
3981
public
Color
BackSecondaryColor
3989
return (
Color
)GetAttributeObject(CommonCustomProperties.BackSecondaryColor);
3995
return
Color
.Empty;
3999
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.BackSecondaryColor);
4137
public
Color
LabelForeColor
4145
Color
color = (
Color
)GetAttributeObject(CommonCustomProperties.LabelForeColor);
4152
return
Color
.Black;
4156
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.LabelForeColor);
4423
public
Color
MarkerImageTransparentColor
4431
return (
Color
)GetAttributeObject(CommonCustomProperties.MarkerImageTransparentColor);
4437
return
Color
.Empty;
4441
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.MarkerImageTransparentColor);
4477
public
Color
MarkerColor
4485
return (
Color
)GetAttributeObject(CommonCustomProperties.MarkerColor);
4491
return
Color
.Empty;
4495
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.MarkerColor);
4531
public
Color
MarkerBorderColor
4539
return (
Color
)GetAttributeObject(CommonCustomProperties.MarkerBorderColor);
4545
return
Color
.Empty;
4549
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.MarkerBorderColor);
5189
DefaultValue(typeof(
Color
), ""),
5194
public
Color
LabelBackColor
5202
return (
Color
)GetAttributeObject(CommonCustomProperties.LabelBackColor);
5208
return
Color
.Empty;
5212
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.LabelBackColor);
5248
DefaultValue(typeof(
Color
), ""),
5253
public
Color
LabelBorderColor
5261
return (
Color
)GetAttributeObject(CommonCustomProperties.LabelBorderColor);
5267
return
Color
.Empty;
5271
return (
Color
)series.EmptyPointStyle.GetAttributeObject(CommonCustomProperties.LabelBorderColor);
5871
return series.color !=
Color
.Empty;
5883
return series.borderColor !=
Color
.Empty;
5955
return series.backImageTransparentColor !=
Color
.Empty;
5991
return series.backSecondaryColor !=
Color
.Empty;
6028
return series.fontColor !=
Color
.Black;
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 (27)
215
private
Color
_shadowColor =
Color
.FromArgb(128, 0, 0, 0);
300
internal
Color
color =
Color
.Empty;
305
internal
Color
borderColor =
Color
.Empty;
335
internal
Color
backImageTransparentColor =
Color
.Empty;
350
internal
Color
backSecondaryColor =
Color
.Empty;
370
internal
Color
fontColor =
Color
.Black;
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;
970
Color
[] paletteColors = (currentPalette == ChartColorPalette.None) ?
1540
this.Color =
Color
.Empty;
1555
dataPoint.Color =
Color
.Empty;
2177
DefaultValue(typeof(
Color
), "128,0,0,0"),
2183
public
Color
ShadowColor
Common\General\Axis.cs (27)
163
private
Color
_titleForeColor =
Color
.Black;
168
private
Color
_lineColor =
Color
.Black;
250
private
Color
_interlacedColor =
Color
.Empty;
572
DefaultValue(typeof(
Color
), ""),
581
public
Color
InterlacedColor
995
DefaultValue(typeof(
Color
), "Black"),
1004
public
Color
TitleForeColor
1075
DefaultValue(typeof(
Color
), "Black"),
1084
public
Color
LineColor
2033
Color
color,
2092
using (Pen pen = new Pen(
Color
.Black, width + 2))
2133
Color
color,
3067
stripLine.BorderColor =
Color
.Empty;
3105
if (this.InterlacedColor !=
Color
.Empty)
3112
if (ChartArea.BackColor ==
Color
.Empty)
3114
stripLine.BackColor = (ChartArea.Area3DStyle.Enable3D) ?
Color
.DarkGray :
Color
.LightGray;
3116
else if (ChartArea.BackColor ==
Color
.Transparent)
3118
if (Common.Chart.BackColor !=
Color
.Transparent && Common.Chart.BackColor !=
Color
.Black)
3120
stripLine.BackColor = ChartGraphics.GetGradientColor(Common.Chart.BackColor,
Color
.Black, 0.2);
3124
stripLine.BackColor =
Color
.LightGray;
3129
stripLine.BackColor = ChartGraphics.GetGradientColor(ChartArea.BackColor,
Color
.Black, 0.2);
3577
ChartArea.BackColor !=
Color
.Transparent &&
Common\General\AxisScaleBreaks.cs (4)
140
private
Color
_breakLineColor =
Color
.Black;
337
DefaultValue(typeof(
Color
), "Black"),
342
public
Color
LineColor
Common\General\AxisScaleSegments.cs (2)
457
Color
color =
Color
.FromArgb(
Common\General\Chart.cs (26)
358
Color
backGroundColor;
360
if (this.BackColor !=
Color
.Empty)
363
backGroundColor =
Color
.White;
367
this.BorderSkin.PageColor !=
Color
.Empty)
1459
private
Color
_backSecondaryColor =
Color
.Empty;
1460
private
Color
_backColor =
Color
.White;
1463
private
Color
_backImageTransparentColor =
Color
.Empty;
1465
private
Color
_borderColor =
Color
.White;
1890
Color
.Empty,
1893
Color
.Empty,
2525
DefaultValue(typeof(
Color
), "White"),
2533
public
Color
BackColor
2542
if(value ==
Color
.Empty || value.A != 255 || value ==
Color
.Transparent)
2558
DefaultValue(typeof(
Color
), "White"),
2566
public
Color
BorderColor
2734
DefaultValue(typeof(
Color
), ""),
2743
public
Color
BackImageTransparentColor
2885
DefaultValue(typeof(
Color
), ""),
2893
public
Color
BackSecondaryColor
2902
if(value !=
Color
.Empty && (value.A != 255 || value ==
Color
.Transparent))
Common\General\ChartArea.cs (26)
175
private
Color
_backColor =
Color
.Empty;
182
private
Color
_backImageTransparentColor =
Color
.Empty;
185
private
Color
_backSecondaryColor =
Color
.Empty;
186
private
Color
_borderColor =
Color
.Black;
190
private
Color
_shadowColor =
Color
.FromArgb(128, 0, 0, 0);
704
DefaultValue(typeof(
Color
), ""),
713
public
Color
BackColor
826
DefaultValue(typeof(
Color
), ""),
835
public
Color
BackImageTransparentColor
910
DefaultValue(typeof(
Color
), ""),
919
public
Color
BackSecondaryColor
938
DefaultValue(typeof(
Color
), "128,0,0,0"),
947
public
Color
ShadowColor
993
DefaultValue(typeof(
Color
), "Black"),
1002
public
Color
BorderColor
2025
(requireAxes) ?
Color
.Empty : BorderColor,
2046
if(BorderColor !=
Color
.Empty && BorderWidth > 0)
2049
Color
.Transparent,
2053
Color
.Empty,
2056
Color
.Empty,
2060
Color
.Empty,
Common\General\ChartArea3D.cs (4)
686
Color
sceneBackColor = chartArea.BackColor;
689
if(sceneBackColor ==
Color
.Transparent)
697
if(sceneBackColor ==
Color
.Empty)
699
sceneBackColor =
Color
.LightGray;
Common\General\ChartAreaCircular.cs (2)
86
internal
Color
TitleForeColor =
Color
.Empty;
Common\General\ChartGraphics.cs (228)
188
Color
color,
212
Color
color,
279
Color
color,
284
Color
shadowColor,
309
Color
color,
314
Color
shadowColor,
321
Color
shColor;
328
shColor =
Color
.FromArgb(color.A/2, shadowColor);
355
Color
backColor,
356
Color
foreColor
378
Color
backImageTransparentColor,
380
Color
backColor
389
if(backImageTransparentColor !=
Color
.Empty)
396
if(backImageTransparentColor ==
Color
.Empty &&
398
backColor !=
Color
.Transparent)
441
Color
firstColor,
442
Color
secondColor,
456
gradientBrush = new SolidBrush(
Color
.Black );
529
Color
[] colors = {secondColor};
550
Color
firstColor,
551
Color
secondColor
566
Color
[] colors = {secondColor};
655
Color
markerColor,
656
Color
markerBorderColor,
659
Color
markerImageTransparentColor,
661
Color
shadowColor,
687
Color
markerColor,
688
Color
markerBorderColor,
691
Color
markerImageTransparentColor,
693
Color
shadowColor,
701
markerBorderColor =
Color
.Transparent;
729
if (markerImageTransparentColor !=
Color
.Empty)
735
if (shadowSize != 0 && shadowColor !=
Color
.Empty)
764
else if(markerStyle != MarkerStyle.None && markerSize > 0 && markerColor !=
Color
.Empty)
810
if (shadowSize != 0 && shadowColor !=
Color
.Empty)
817
this.FillPolygon(new SolidBrush((shadowColor.A != 255) ? shadowColor :
Color
.FromArgb(markerColor.A / 2, shadowColor)), points);
830
if (shadowSize != 0 && shadowColor !=
Color
.Empty)
834
using (SolidBrush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor :
Color
.FromArgb(markerColor.A / 2, shadowColor)))
855
Color
[] colors = {
Color
.Transparent };
885
if (shadowSize != 0 && shadowColor !=
Color
.Empty)
936
if (shadowSize != 0 && shadowColor !=
Color
.Empty)
948
using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor :
Color
.FromArgb(markerColor.A / 2, shadowColor)))
966
Color
[] colors = {
Color
.Transparent };
1016
if (shadowSize != 0 && shadowColor !=
Color
.Empty)
1026
using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor :
Color
.FromArgb(markerColor.A / 2, shadowColor)))
1069
if (shadowSize != 0 && shadowColor !=
Color
.Empty)
1079
using (Brush softShadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor :
Color
.FromArgb(markerColor.A / 2, shadowColor)))
1095
Color
[] colors = {
Color
.Transparent };
1337
Color
backColor,
1338
Color
borderColor,
1414
Color
backColor,
1415
Color
borderColor,
1483
Color
backColor,
1484
Color
borderColor,
1556
using(Brush brush = new SolidBrush(
Color
.Transparent))
1763
Color
markColor,
1766
Color
imageTransparentColor,
2323
if (imageTransparentColor !=
Color
.Empty)
2384
Color
markColor,
2516
Color
markColor,
2527
axis.MajorTickMark.LineColor ==
Color
.Empty)
2857
Color
.Transparent,
2861
Color
.Empty,
2864
Color
.FromArgb(120,
Color
.White),
2865
Color
.Empty,
2884
Color
.FromArgb(120,
Color
.White),
2888
Color
.Empty,
2891
Color
.FromArgb(150,
Color
.Black),
2892
Color
.Empty,
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,
2987
Color
.Empty,
2990
(isVertical) ?
Color
.Transparent :
Color
.FromArgb(120,
Color
.White),
2991
Color
.Empty,
3011
(!isVertical) ?
Color
.FromArgb(80,
Color
.Black) :
Color
.Transparent,
3015
Color
.Empty,
3018
(!isVertical) ?
Color
.Transparent :
Color
.FromArgb(80,
Color
.Black),
3019
Color
.Empty,
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))
3191
Color
backColor,
3195
Color
backImageTransparentColor,
3198
Color
backSecondaryColor,
3199
Color
borderColor,
3202
Color
shadowColor,
3250
Color
backColor,
3254
Color
backImageTransparentColor,
3257
Color
backSecondaryColor,
3258
Color
borderColor,
3261
Color
shadowColor,
3310
Color
backColor,
3314
Color
backImageTransparentColor,
3317
Color
backSecondaryColor,
3318
Color
borderColor,
3321
Color
shadowColor,
3376
Color
backColor,
3380
Color
backImageTransparentColor,
3383
Color
backSecondaryColor,
3384
Color
borderColor,
3387
Color
shadowColor,
3409
backColor =
Color
.White;
3414
backSecondaryColor =
Color
.White;
3506
if(backColor ==
Color
.Empty || backColor ==
Color
.Transparent)
3527
if(backImageTransparentColor !=
Color
.Empty)
3605
if(backBrush != null && backImageTransparentColor !=
Color
.Empty)
3692
Color
shadowColor,
3694
Color
backColor)
3716
Color
shadowColor,
3718
Color
backColor,
3729
if (shadowOffset == 0 || shadowColor ==
Color
.Empty)
3737
if (!circular && backColor ==
Color
.Transparent)
3756
using (SolidBrush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor :
Color
.FromArgb(backColor.A / 2, shadowColor)))
3828
Color
[] colors = {
Color
.Transparent};
4039
Color
brushColor =
Color
.Gray;
4087
internal
Color
GetBrightGradientColor(
Color
beginColor, double position )
4092
return GetGradientColor(
Color
.FromArgb(beginColor.A,255,255,255), beginColor, 1 - brightness + position );
4096
return GetGradientColor( beginColor,
Color
.Black, -brightness + position);
4100
return
Color
.FromArgb( beginColor.A, 0, 0, 0 );
4121
Color
backColor,
4125
Color
backImageTransparentColor,
4128
Color
backSecondaryColor,
4129
Color
borderColor,
4143
backColor =
Color
.White;
4146
backSecondaryColor =
Color
.White;
4150
borderColor =
Color
.White;
4208
if(backImageTransparentColor !=
Color
.Empty)
4278
if(backBrush != null && backImageTransparentColor !=
Color
.Empty)
4333
Color
backColor,
4337
Color
backImageTransparentColor,
4340
Color
backSecondaryColor,
4341
Color
borderColor,
4346
Color
shadowColor)
4349
if(shadowOffset != 0 && shadowColor !=
Color
.Transparent)
4355
if(backColor ==
Color
.Transparent &&
4360
Color
.Transparent,
4364
Color
.Empty,
4367
Color
.Empty,
4381
Color
.Empty,
4384
Color
.Empty,
4385
Color
.Transparent,
4429
Color
backColor,
4433
Color
backImageTransparentColor,
4436
Color
backSecondaryColor,
4437
Color
borderColor,
4447
backColor =
Color
.White;
4450
backSecondaryColor =
Color
.White;
4454
borderColor =
Color
.White;
4504
if(backImageTransparentColor !=
Color
.Empty)
4578
if(backBrush != null && backImageTransparentColor !=
Color
.Empty)
4587
if(borderColor !=
Color
.Empty && borderWidth > 0 && borderDashStyle != ChartDashStyle.NotSet)
4607
Color
backColor,
4611
Color
backImageTransparentColor,
4613
Color
backSecondaryColor
4812
internal void DrawRoundedRectShadowAbs(RectangleF rect, float[] cornerRadius, float radius,
Color
centerColor,
Color
surroundColor, float shadowScale)
4822
Color
[] colors = {surroundColor};
4858
Color
backColor,
4862
Color
backImageTransparentColor,
4865
Color
backSecondaryColor,
4866
Color
borderColor,
4895
Color
backColor,
4899
Color
backImageTransparentColor,
4902
Color
backSecondaryColor,
4903
Color
borderColor,
4985
Color
backColor,
4989
Color
backImageTransparentColor,
4991
Color
backSecondaryColor,
4992
Color
borderColor,
5168
Color
.Red,
5169
Color
.Green,
5173
colorBlend.Colors[0] =
Color
.FromArgb(100,
Color
.Black);
5174
colorBlend.Colors[1] =
Color
.Transparent;
5175
colorBlend.Colors[2] =
Color
.FromArgb(140,
Color
.White);
5214
brush.CenterColor =
Color
.Transparent;
5215
brush.SurroundColors = new
Color
[] {
Color
.FromArgb(100,
Color
.Black) };
5251
brushInner.CenterColor =
Color
.FromArgb(100,
Color
.Black);
5252
brushInner.SurroundColors = new
Color
[] {
Color
.Transparent };
5280
private void DrawPieSoftShadow( float startAngle, float sweepAngle, RectangleF absRect,
Color
backColor )
5288
Color
[] colors = {
5289
Color
.FromArgb( 0, backColor ),
5290
Color
.FromArgb( backColor.A, backColor ),
5291
Color
.FromArgb( backColor.A, backColor )};
5321
internal void DrawArrowRel( PointF position, ArrowOrientation orientation, AxisArrowStyle type,
Color
color, int lineWidth, ChartDashStyle lineDashStyle, double shift, double size )
5623
_pen = new Pen(
Color
.Black);
5626
_solidBrush = new SolidBrush(
Color
.Black);
5687
static internal
Color
GetGradientColor(
Color
beginColor,
Color
endColor, double relativePosition)
5725
return
Color
.FromArgb(beginColor.A, (int)dRRed, (int)dRGreen, (int)dRBlue);
Common\General\ChartGraphics3D.cs (103)
332
Color
color,
411
Color
color,
580
Color
frontLightColor, leftLightColor, topLightColor, backLightColor, rightLightColor, bottomLightColor;
583
Color
lightColor;
641
Color
frontLightColor, leftLightColor, topLightColor, backLightColor, rightLightColor, bottomLightColor;
644
Color
lightColor;
765
if (point.BorderColor !=
Color
.Empty &&
874
Color
frontLightColor, leftLightColor, topLightColor, backLightColor, rightLightColor, bottomLightColor;
879
if (area.Area3DStyle.LightStyle == LightStyle.Realistic && point.BorderColor ==
Color
.Empty)
893
if (point.BorderColor !=
Color
.Empty &&
1012
Color
frontLightColor, leftLightColor, topLightColor, backLightColor, rightLightColor, bottomLightColor;
1017
if (area.Area3DStyle.LightStyle == LightStyle.Realistic && point.BorderColor ==
Color
.Empty)
1031
if (point.BorderColor !=
Color
.Empty &&
1191
Color
backColor,
1192
Color
borderColor,
1233
Color
polygonColor = matrix.GetPolygonLight( points3D, backColor, topIsVisible, area.Area3DStyle.Rotation, surfaceName, area.ReverseSeriesOrder );
1234
Color
surfaceBorderColor = borderColor;
1235
if(surfaceBorderColor ==
Color
.Empty)
1238
surfaceBorderColor = ChartGraphics.GetGradientColor( backColor,
Color
.Black, 0.2 );
1534
Color
backColor,
1535
Color
borderColor,
1737
Color
backColor,
1738
Color
borderColor,
1904
Color
cutSurfaceBackColor = ChartGraphics.GetGradientColor(backColor,
Color
.Black, 0.5);
1905
Color
cutSurfaceBorderColor = ChartGraphics.GetGradientColor(borderColor,
Color
.Black, 0.5);
2109
Color
polygonColor = matrix.GetPolygonLight( points3D, backColor, topIsVisible, area.Area3DStyle.Rotation, surfaceName, area.ReverseSeriesOrder );
2110
Color
surfaceBorderColor = borderColor;
2111
if(surfaceBorderColor ==
Color
.Empty)
2114
surfaceBorderColor = ChartGraphics.GetGradientColor( backColor,
Color
.Black, 0.2 );
2124
if(backColor !=
Color
.Transparent)
2462
Color
color,
2781
Color
backColor,
2782
Color
borderColor,
2829
Color
backColor,
2832
Color
borderColor,
2882
(borderWidth == 0 || borderDashStyle == ChartDashStyle.NotSet || borderColor ==
Color
.Empty) )
2884
borderColor = ChartGraphics.GetGradientColor( backColor,
Color
.Black, 0.5 );
2888
Color
frontLightColor, leftLightColor, topLightColor, backLightColor, rightLightColor, bottomLightColor;
2896
topLightColor = ChartGraphics.GetGradientColor(topLightColor,
Color
.Black, topRightDarkening);
2900
rightLightColor = ChartGraphics.GetGradientColor(rightLightColor,
Color
.Black, topRightDarkening);
2907
bottomLightColor = ChartGraphics.GetGradientColor(bottomLightColor,
Color
.Black, bottomLeftDarkening);
2911
leftLightColor = ChartGraphics.GetGradientColor(leftLightColor,
Color
.Black, bottomLeftDarkening);
2955
Color
surfaceColor = backColor;
3034
(borderWidth == 0 || borderDashStyle == ChartDashStyle.NotSet || borderColor ==
Color
.Empty))
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)))
3464
Color
markerColor,
3465
Color
markerBorderColor,
3468
Color
markerImageTransparentColor,
3470
Color
shadowColor,
3523
if (markerStyle != MarkerStyle.None && markerSize > 0 && markerColor !=
Color
.Empty)
3547
if (shadowSize != 0 && shadowColor !=
Color
.Empty)
3551
using (Brush shadowBrush = new SolidBrush((shadowColor.A != 255) ? shadowColor :
Color
.FromArgb(markerColor.A / 2, shadowColor)))
3572
Color
[] colors = {
Color
.Transparent };
3603
circleBrush.CenterColor = ChartGraphics.GetGradientColor(markerColor,
Color
.White, 0.85);
3604
circleBrush.SurroundColors = new
Color
[] { markerColor };
3961
Color
backColor,
3964
Color
borderColor,
4017
(borderWidth == 0 || borderDashStyle == ChartDashStyle.NotSet || borderColor ==
Color
.Empty) )
4019
borderColor = ChartGraphics.GetGradientColor( backColor,
Color
.Black, 0.5 );
4023
Color
frontLightColor, leftLightColor, topLightColor, backLightColor, rightLightColor, bottomLightColor;
4031
topLightColor = ChartGraphics.GetGradientColor(topLightColor,
Color
.Black, topRightDarkening);
4035
rightLightColor = ChartGraphics.GetGradientColor(rightLightColor,
Color
.Black, topRightDarkening);
4042
bottomLightColor = ChartGraphics.GetGradientColor(bottomLightColor,
Color
.Black, bottomLeftDarkening);
4046
leftLightColor = ChartGraphics.GetGradientColor(leftLightColor,
Color
.Black, bottomLeftDarkening);
4116
Color
surfaceColor = backColor;
4165
Color
lightColor = ChartGraphics.GetGradientColor( backColor,
Color
.White, 0.3 );
4166
Color
darkColor = ChartGraphics.GetGradientColor( backColor,
Color
.Black, 0.3 );
4300
(borderWidth == 0 || borderDashStyle == ChartDashStyle.NotSet || borderColor ==
Color
.Empty))
4303
pen.Color = frontSurfaceBrush == null ? surfaceColor : ChartGraphics.GetGradientColor(backColor,
Color
.Black, 0.3);
Common\General\GridTickMarks.cs (4)
1098
internal
Color
borderColor =
Color
.Black;
1915
DefaultValue(typeof(
Color
), "Black"),
1923
public
Color
LineColor
Common\General\Label.cs (17)
431
private
Color
_foreColor =
Color
.Empty;
432
private
Color
_markColor =
Color
.Empty;
445
private
Color
_imageTransparentColor =
Color
.Empty;
791
DefaultValue(typeof(
Color
), ""),
800
public
Color
ImageTransparentColor
945
DefaultValue(typeof(
Color
), ""),
954
public
Color
ForeColor
973
DefaultValue(typeof(
Color
), ""),
982
public
Color
MarkColor
1085
private
Color
_foreColor =
Color
.Black;
1251
Color
labelColor = _foreColor;
2769
DefaultValue(typeof(
Color
), "Black"),
2778
public
Color
ForeColor
Common\General\Legend.cs (128)
250
private
Color
_backImageTransparentColor =
Color
.Empty;
253
private
Color
_backSecondaryColor =
Color
.Empty;
254
private
Color
_borderColor =
Color
.Empty;
255
private
Color
_backColor =
Color
.Empty;
260
private
Color
_foreColor =
Color
.Black;
264
private
Color
_shadowColor =
Color
.FromArgb(128, 0, 0, 0);
291
private
Color
_interlacedRowsColor =
Color
.Empty;
316
private
Color
_titleForeColor =
Color
.Black;
319
private
Color
_titleBackColor =
Color
.Empty;
331
private
Color
_titleSeparatorColor =
Color
.Black;
337
private
Color
_headerSeparatorColor =
Color
.Black;
343
private
Color
_itemColumnSeparatorColor =
Color
.Black;
2305
LegendItem item = new LegendItem(this.Name + " - " + SR.DescriptionTypeEmpty,
Color
.White, "");
2552
Color
.Empty,
2555
Color
.Empty,
2557
Color
.Empty,
3000
DefaultValue(typeof(
Color
), "Black"),
3005
public
Color
HeaderSeparatorColor
3050
DefaultValue(typeof(
Color
), "Black"),
3055
public
Color
ItemColumnSeparatorColor
3106
DefaultValue(typeof(
Color
), ""),
3117
public
Color
BackColor
3134
DefaultValue(typeof(
Color
), ""),
3145
public
Color
BorderColor
3275
DefaultValue(typeof(
Color
), ""),
3284
public
Color
BackImageTransparentColor
3359
/// A <see cref="
Color
"/> value used for the secondary color of background with
3370
DefaultValue(typeof(
Color
), ""),
3379
public
Color
BackSecondaryColor
3465
DefaultValue(typeof(
Color
), "Black"),
3474
public
Color
ForeColor
3574
/// A <see cref="
Color
"/> value used to draw a legend's shadow.
3579
DefaultValue(typeof(
Color
), "128, 0, 0, 0"),
3588
public
Color
ShadowColor
3760
DefaultValue(typeof(
Color
), ""),
3765
public
Color
InterlacedRowsColor
3814
DefaultValue(typeof(
Color
), "Black"),
3819
public
Color
TitleForeColor
3840
DefaultValue(typeof(
Color
), ""),
3845
public
Color
TitleBackColor
3938
DefaultValue(typeof(
Color
), "Black"),
3943
public
Color
TitleSeparatorColor
4175
Color
.Empty,
4178
Color
.Empty,
4179
Color
.Empty,
4182
Color
.Empty,
4234
Color
.Transparent,
4238
Color
.Empty,
4241
Color
.Empty,
4245
Color
.Empty,
4294
Color
.Empty,
4297
Color
.Empty,
4298
Color
.Empty,
4301
Color
.Empty,
4348
Color
.Transparent,
4352
Color
.Empty,
4355
Color
.Empty,
4359
Color
.Empty,
4430
Color
color,
4582
Color
.Transparent,
4586
Color
.Empty,
4590
Color
.Empty,
4600
Color
.Transparent,
4604
Color
.Empty,
4608
Color
.Empty,
4621
Color
.Transparent,
4625
Color
.Empty,
4629
Color
.Empty,
4639
Color
.Transparent,
4643
Color
.Empty,
4647
Color
.Empty,
4671
this.BorderColor !=
Color
.Transparent)
5098
public int Add(
Color
color, string text)
5112
public void Insert(int index,
Color
color, string text)
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;
5200
internal
Color
borderColor =
Color
.Black;
5205
internal
Color
shadowColor =
Color
.FromArgb(128, 0, 0, 0);
5213
internal
Color
markerImageTransparentColor =
Color
.Empty;
5214
internal
Color
markerColor =
Color
.Empty;
5215
internal
Color
markerBorderColor =
Color
.Empty;
5230
private
Color
_separatorColor =
Color
.Black;
5258
public LegendItem(string name,
Color
color, string image) : base (name)
5326
DefaultValue(typeof(
Color
), ""),
5334
public
Color
Color
5407
DefaultValue(typeof(
Color
), "Black"),
5415
public
Color
BorderColor
5460
DefaultValue(typeof(
Color
), ""),
5469
public
Color
BackImageTransparentColor
5525
DefaultValue(typeof(
Color
), ""),
5533
public
Color
BackSecondaryColor
5541
if(value !=
Color
.Empty && (value.A != 255 || value ==
Color
.Transparent))
5699
DefaultValue(typeof(
Color
), "128,0,0,0"),
5707
public
Color
ShadowColor
5806
DefaultValue(typeof(
Color
), ""),
5815
public
Color
MarkerImageTransparentColor
5834
DefaultValue(typeof(
Color
), ""),
5843
public
Color
MarkerColor
5862
DefaultValue(typeof(
Color
), ""),
5871
public
Color
MarkerBorderColor
5961
DefaultValue(typeof(
Color
), "Black"),
5966
public
Color
SeparatorColor
6223
markerBorderColor =
Color
.Transparent;
Common\General\LegendColumns.cs (49)
134
private
Color
_foreColor =
Color
.Empty;
137
private
Color
_backColor =
Color
.Empty;
174
private
Color
_headerForeColor =
Color
.Black;
177
private
Color
_headerBackColor =
Color
.Empty;
323
DefaultValue(typeof(
Color
), ""),
328
public virtual
Color
ForeColor
346
DefaultValue(typeof(
Color
), ""),
351
public virtual
Color
BackColor
606
DefaultValue(typeof(
Color
), "Black"),
611
public virtual
Color
HeaderForeColor
629
DefaultValue(typeof(
Color
), ""),
634
public virtual
Color
HeaderBackColor
826
private
Color
_foreColor =
Color
.Empty;
829
private
Color
_backColor =
Color
.Empty;
841
private
Color
_imageTransparentColor =
Color
.Empty;
1066
DefaultValue(typeof(
Color
), ""),
1071
public virtual
Color
ForeColor
1089
DefaultValue(typeof(
Color
), ""),
1094
public virtual
Color
BackColor
1155
DefaultValue(typeof(
Color
), ""),
1160
public virtual
Color
ImageTransparentColor
1566
private
Color
GetCellBackColor()
1568
Color
resultColor = this.BackColor;
1596
if(this.Legend.BackColor ==
Color
.Empty)
1598
resultColor =
Color
.LightGray;
1600
else if(this.Legend.BackColor ==
Color
.Transparent)
1602
if(Chart.BackColor !=
Color
.Transparent &&
1603
Chart.BackColor !=
Color
.Black)
1605
resultColor = ChartGraphics.GetGradientColor( Chart.BackColor,
Color
.Black, 0.2 );
1609
resultColor =
Color
.LightGray;
1614
resultColor = ChartGraphics.GetGradientColor( this.Legend.BackColor,
Color
.Black, 0.2 );
1863
private
Color
GetCellForeColor()
1894
return
Color
.Black;
1924
Color
cellBackColor = this.GetCellBackColor();
1934
Color
.Empty,
1937
Color
.Empty,
1938
Color
.Empty,
1941
Color
.Empty,
2177
if(this.ImageTransparentColor !=
Color
.Empty)
2319
if (legendItem.BackImageTransparentColor !=
Color
.Empty)
2470
(legendItem.markerColor ==
Color
.Empty) ? legendItem.Color : legendItem.markerColor,
2471
(legendItem.markerBorderColor ==
Color
.Empty) ? legendItem.borderColor : legendItem.markerBorderColor,
Common\General\Matrix3D.cs (34)
910
internal void GetLight(
Color
surfaceColor, out
Color
front, out
Color
back, out
Color
left, out
Color
right, out
Color
top, out
Color
bottom )
929
left = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.25);
930
top = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.15);
932
right = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.25);
933
bottom = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.15);
955
front = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, GetAngle(lightSource,_lightVectors[1])/Math.PI );
957
back = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, GetAngle(lightSource,_lightVectors[2])/Math.PI );
959
left = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0 );
961
right = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0 );
965
front = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0 );
967
back = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 1 );
969
left = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, GetAngle(lightSource,_lightVectors[3])/Math.PI );
971
right = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, GetAngle(lightSource,_lightVectors[4])/Math.PI );
974
top = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, GetAngle(lightSource,_lightVectors[5])/Math.PI );
976
bottom = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, GetAngle(lightSource,_lightVectors[6])/Math.PI );
1021
internal
Color
GetPolygonLight(Point3D[] points,
Color
surfaceColor, bool visiblePolygon, float rotation, SurfaceNames surfaceName, bool switchSeriesOrder)
1024
Color
color = surfaceColor;
1062
color = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.15);
1067
color = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.15);
1115
color = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.25);
1119
color = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.25);
1123
color = ChartGraphics.GetGradientColor( surfaceColor,
Color
.Black, 0.15);
1187
private
Color
GetBrightGradientColor(
Color
beginColor, double position )
1193
return ChartGraphics.GetGradientColor(
Color
.FromArgb(beginColor.A,255,255,255), beginColor, 1 - brightness + position );
1197
return ChartGraphics.GetGradientColor( beginColor,
Color
.Black, -brightness + position );
1201
return
Color
.FromArgb( beginColor.A, 0, 0, 0 );
Common\General\Selection.cs (9)
2221
if (dataPoint != null && dataPoint.Color ==
Color
.Transparent)
2229
if (((Axis)region.SelectedObject).LineColor ==
Color
.Transparent)
2236
if (((ChartArea)region.SelectedObject).BackColor ==
Color
.Transparent)
2243
if (((Legend)region.SelectedObject).BackColor ==
Color
.Transparent)
2250
if (((Grid)region.SelectedObject).LineColor ==
Color
.Transparent)
2257
if (((StripLine)region.SelectedObject).BackColor ==
Color
.Transparent)
2264
if (((TickMark)region.SelectedObject).LineColor ==
Color
.Transparent)
2272
if ((title.Text.Length == 0 || title.ForeColor ==
Color
.Transparent) &&
2273
(title.BackColor ==
Color
.Transparent || title.BackColor.IsEmpty))
Common\General\SmartLabels.cs (9)
194
private
Color
_calloutLineColor =
Color
.Black;
200
private
Color
_calloutBackColor =
Color
.Transparent;
430
DefaultValue(typeof(
Color
), "Black"),
435
virtual public
Color
CalloutLineColor
479
DefaultValue(typeof(
Color
), "Transparent"),
484
virtual public
Color
CalloutBackColor
930
if(smartLabelStyle.CalloutBackColor !=
Color
.Transparent)
Common\General\StripLine.cs (22)
141
private
Color
_backColor =
Color
.Empty;
145
private
Color
_backImageTransparentColor =
Color
.Empty;
148
private
Color
_backSecondaryColor =
Color
.Empty;
149
private
Color
_borderColor =
Color
.Empty;
155
private
Color
_foreColor =
Color
.Black;
403
this.BorderWidth, this.BorderDashStyle,
Color
.Empty,
1006
DefaultValue(typeof(
Color
), ""),
1014
public
Color
BackColor
1033
DefaultValue(typeof(
Color
), ""),
1041
public
Color
BorderColor
1163
DefaultValue(typeof(
Color
), ""),
1172
public
Color
BackImageTransparentColor
1253
/// A <see cref="
Color
"/> value used for the secondary color of a background with
1263
DefaultValue(typeof(
Color
), ""),
1271
public
Color
BackSecondaryColor
1374
DefaultValue(typeof(
Color
), "Black"),
1383
public
Color
ForeColor
Common\General\Title.cs (43)
212
private
Color
_backColor =
Color
.Empty;
216
private
Color
_backImageTransparentColor =
Color
.Empty;
219
private
Color
_backSecondaryColor =
Color
.Empty;
221
private
Color
_shadowColor =
Color
.FromArgb(128, 0, 0, 0);
224
private
Color
_borderColor =
Color
.Empty;
231
private
Color
_foreColor =
Color
.Black;
261
Initialize(string.Empty, Docking.Top, null,
Color
.Black);
270
Initialize(text, Docking.Top, null,
Color
.Black);
280
Initialize(text, docking, null,
Color
.Black);
290
public Title(string text, Docking docking, Font font,
Color
color)
302
private void Initialize(string text, Docking docking, Font font,
Color
color)
621
DefaultValue(typeof(
Color
), ""),
630
public
Color
BackColor
649
DefaultValue(typeof(
Color
), ""),
658
public
Color
BorderColor
786
DefaultValue(typeof(
Color
), ""),
795
public
Color
BackImageTransparentColor
877
/// A <see cref="
Color
"/> value used for the secondary color of a background with
887
DefaultValue(typeof(
Color
), ""),
896
public
Color
BackSecondaryColor
977
DefaultValue(typeof(
Color
), "Black"),
986
public
Color
ForeColor
1083
DefaultValue(typeof(
Color
), "128, 0, 0, 0"),
1092
public
Color
ShadowColor
1537
Color
.FromArgb(0,
Color
.White),
1545
Color
.Transparent,
1548
Color
.Transparent,
1608
Color
textShadowColor = ChartGraphics.GetGradientColor(this.ForeColor,
Color
.Black, 0.8);
1623
textShadowColor = (textShadowColor.A != 255) ? textShadowColor :
Color
.FromArgb(textShadowColor.A / 2, textShadowColor);
1715
Color
foreColor,
1716
Color
shadowColor,
1767
Color
texthighlightColor = ChartGraphics.GetGradientColor(
Color
.White, foreColor, 0.3);
1791
Color
texthighlightColor = ChartGraphics.GetGradientColor(
Color
.White, foreColor, 0.3);
Common\Utilities\ColorPalette.cs (163)
149
private static
Color
[] _colorsGrayScale = InitializeGrayScaleColors();
150
private static
Color
[] _colorsDefault = {
151
Color
.Green,
152
Color
.Blue,
153
Color
.Purple,
154
Color
.Lime,
155
Color
.Fuchsia,
156
Color
.Teal,
157
Color
.Yellow,
158
Color
.Gray,
159
Color
.Aqua,
160
Color
.Navy,
161
Color
.Maroon,
162
Color
.Red,
163
Color
.Olive,
164
Color
.Silver,
165
Color
.Tomato,
166
Color
.Moccasin
169
private static
Color
[] _colorsPastel = {
170
Color
.SkyBlue,
171
Color
.LimeGreen,
172
Color
.MediumOrchid,
173
Color
.LightCoral,
174
Color
.SteelBlue,
175
Color
.YellowGreen,
176
Color
.Turquoise,
177
Color
.HotPink,
178
Color
.Khaki,
179
Color
.Tan,
180
Color
.DarkSeaGreen,
181
Color
.CornflowerBlue,
182
Color
.Plum,
183
Color
.CadetBlue,
184
Color
.PeachPuff,
185
Color
.LightSalmon
188
private static
Color
[] _colorsEarth = {
189
Color
.FromArgb(255, 128, 0),
190
Color
.DarkGoldenrod,
191
Color
.FromArgb(192, 64, 0),
192
Color
.OliveDrab,
193
Color
.Peru,
194
Color
.FromArgb(192, 192, 0),
195
Color
.ForestGreen,
196
Color
.Chocolate,
197
Color
.Olive,
198
Color
.LightSeaGreen,
199
Color
.SandyBrown,
200
Color
.FromArgb(0, 192, 0),
201
Color
.DarkSeaGreen,
202
Color
.Firebrick,
203
Color
.SaddleBrown,
204
Color
.FromArgb(192, 0, 0)
207
private static
Color
[] _colorsSemiTransparent = {
208
Color
.FromArgb(150, 255, 0, 0),
209
Color
.FromArgb(150, 0, 255, 0),
210
Color
.FromArgb(150, 0, 0, 255),
211
Color
.FromArgb(150, 255, 255, 0),
212
Color
.FromArgb(150, 0, 255, 255),
213
Color
.FromArgb(150, 255, 0, 255),
214
Color
.FromArgb(150, 170, 120, 20),
215
Color
.FromArgb(80, 255, 0, 0),
216
Color
.FromArgb(80, 0, 255, 0),
217
Color
.FromArgb(80, 0, 0, 255),
218
Color
.FromArgb(80, 255, 255, 0),
219
Color
.FromArgb(80, 0, 255, 255),
220
Color
.FromArgb(80, 255, 0, 255),
221
Color
.FromArgb(80, 170, 120, 20),
222
Color
.FromArgb(150, 100, 120, 50),
223
Color
.FromArgb(150, 40, 90, 150)
226
private static
Color
[] _colorsLight = {
227
Color
.Lavender,
228
Color
.LavenderBlush,
229
Color
.PeachPuff,
230
Color
.LemonChiffon,
231
Color
.MistyRose,
232
Color
.Honeydew,
233
Color
.AliceBlue,
234
Color
.WhiteSmoke,
235
Color
.AntiqueWhite,
236
Color
.LightCyan
239
private static
Color
[] _colorsExcel = {
240
Color
.FromArgb(153,153,255),
241
Color
.FromArgb(153,51,102),
242
Color
.FromArgb(255,255,204),
243
Color
.FromArgb(204,255,255),
244
Color
.FromArgb(102,0,102),
245
Color
.FromArgb(255,128,128),
246
Color
.FromArgb(0,102,204),
247
Color
.FromArgb(204,204,255),
248
Color
.FromArgb(0,0,128),
249
Color
.FromArgb(255,0,255),
250
Color
.FromArgb(255,255,0),
251
Color
.FromArgb(0,255,255),
252
Color
.FromArgb(128,0,128),
253
Color
.FromArgb(128,0,0),
254
Color
.FromArgb(0,128,128),
255
Color
.FromArgb(0,0,255)};
257
private static
Color
[] _colorsBerry = {
258
Color
.BlueViolet,
259
Color
.MediumOrchid,
260
Color
.RoyalBlue,
261
Color
.MediumVioletRed,
262
Color
.Blue,
263
Color
.BlueViolet,
264
Color
.Orchid,
265
Color
.MediumSlateBlue,
266
Color
.FromArgb(192, 0, 192),
267
Color
.MediumBlue,
268
Color
.Purple
271
private static
Color
[] _colorsChocolate = {
272
Color
.Sienna,
273
Color
.Chocolate,
274
Color
.DarkRed,
275
Color
.Peru,
276
Color
.Brown,
277
Color
.SandyBrown,
278
Color
.SaddleBrown,
279
Color
.FromArgb(192, 64, 0),
280
Color
.Firebrick,
281
Color
.FromArgb(182, 92, 58)
284
private static
Color
[] _colorsFire = {
285
Color
.Gold,
286
Color
.Red,
287
Color
.DeepPink,
288
Color
.Crimson,
289
Color
.DarkOrange,
290
Color
.Magenta,
291
Color
.Yellow,
292
Color
.OrangeRed,
293
Color
.MediumVioletRed,
294
Color
.FromArgb(221, 226, 33)
297
private static
Color
[] _colorsSeaGreen = {
298
Color
.SeaGreen,
299
Color
.MediumAquamarine,
300
Color
.SteelBlue,
301
Color
.DarkCyan,
302
Color
.CadetBlue,
303
Color
.MediumSeaGreen,
304
Color
.MediumTurquoise,
305
Color
.LightSteelBlue,
306
Color
.DarkSeaGreen,
307
Color
.SkyBlue
310
private static
Color
[] _colorsBrightPastel = {
311
Color
.FromArgb(65, 140, 240),
312
Color
.FromArgb(252, 180, 65),
313
Color
.FromArgb(224, 64, 10),
314
Color
.FromArgb(5, 100, 146),
315
Color
.FromArgb(191, 191, 191),
316
Color
.FromArgb(26, 59, 105),
317
Color
.FromArgb(255, 227, 130),
318
Color
.FromArgb(18, 156, 221),
319
Color
.FromArgb(202, 107, 75),
320
Color
.FromArgb(0, 92, 219),
321
Color
.FromArgb(243, 210, 136),
322
Color
.FromArgb(80, 99, 129),
323
Color
.FromArgb(241, 185, 168),
324
Color
.FromArgb(224, 131, 10),
325
Color
.FromArgb(120, 147, 190)
335
private static
Color
[] InitializeGrayScaleColors()
338
Color
[] grayScale = new
Color
[16];
342
grayScale[i] =
Color
.FromArgb(colorValue, colorValue, colorValue);
358
public static
Color
[] GetPaletteColors(ChartColorPalette palette)
Common\Utilities\CustomAttributesRegistry.cs (10)
685
typeof(
Color
),
696
typeof(
Color
),
908
typeof(
Color
),
1013
typeof(
Color
),
1433
typeof(
Color
),
1495
typeof(
Color
),
1535
typeof(
Color
),
1575
typeof(
Color
),
1728
typeof(
Color
),
1831
typeof(
Color
),
Common\Utilities\XmlSerializer.cs (18)
894
pi.PropertyType == typeof(
Color
) ||
1770
if(obj is
Color
)
1775
Color
[] colors = obj as
Color
[];
2166
else if(pi.PropertyType == typeof(
Color
))
2168
objValue = (
Color
)colorConverter.ConvertFromString(null, System.Globalization.CultureInfo.InvariantCulture, attrValue);
2709
else if(obj is
Color
)
2712
writer.Write(((
Color
)obj).ToArgb());
2742
else if(obj is
Color
[])
2744
Color
[] arr = (
Color
[])obj;
2750
foreach(
Color
color in arr)
3121
else if(pi.PropertyType == typeof(
Color
))
3124
objValue =
Color
.FromArgb(reader.ReadInt32());
3167
else if(pi.PropertyType == typeof(
Color
[]))
3170
Color
[] array = new
Color
[reader.ReadInt32()];
3175
array[arrayIndex] =
Color
.FromArgb(reader.ReadInt32());
WinForm\ChartWinControl.cs (25)
386
(this.BackColor ==
Color
.Transparent || this.BackColor.A != 255) )
502
if(chartPicture.BackColor.A != 255 && chartPicture.BackColor !=
Color
.Empty)
507
chartPicture.BackImageTransparentColor !=
Color
.Empty &&
519
Color
oldBackColor = chartPicture.BackColor;
523
chartPicture.BackColor =
Color
.Transparent;
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))
939
public
Color
[] PaletteCustomColors
961
this.PaletteCustomColors = new
Color
[0];
1289
DefaultValue(typeof(
Color
), "White"),
1294
public override
Color
BackColor
1324
DefaultValue(typeof(
Color
), ""),
1329
public override
Color
ForeColor
1333
return
Color
.Empty;
1540
DefaultValue(typeof(
Color
), ""),
1546
public
Color
BackImageTransparentColor
1626
DefaultValue(typeof(
Color
), ""),
1631
public
Color
BackSecondaryColor
1657
DefaultValue(typeof(
Color
), "White"),
1664
public
Color
BorderColor
1750
DefaultValue(typeof(
Color
), "White"),
1755
public
Color
BorderlineColor
System.Workflow.Activities (125)
Designers\ActivityDesignerResources.cs (2)
13
internal static
Color
TransparentColor =
Color
.FromArgb(255, 0, 255);
Designers\CAGDesigner.cs (7)
64
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
65
this.BorderColor =
Color
.FromArgb(0xFF, 0x6B, 0x6D, 0x6B);
67
this.BackColorStart =
Color
.FromArgb(0xFF, 0xEF, 0xEF, 0xEF);
68
this.BackColorEnd =
Color
.FromArgb(0xFF, 0xEF, 0xEF, 0xEF);
69
this.PreviewForeColor =
Color
.FromArgb(0xFF, 0xF0, 0xF0, 0xF0);
70
this.PreviewBorderColor =
Color
.FromArgb(0xFF, 0x6B, 0x6D, 0x6B);
71
this.PreviewBackColor =
Color
.FromArgb(0xFF, 0xFF, 0xFF, 0xFF);
Designers\CodeDesigner.cs (4)
27
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
28
this.BorderColor =
Color
.FromArgb(0xFF, 0x80, 0x80, 0x80);
30
this.BackColorStart =
Color
.FromArgb(0xFF, 0xF4, 0xF4, 0xF4);
31
this.BackColorEnd =
Color
.FromArgb(0xFF, 0xC0, 0xC0, 0xC0);
Designers\ConditionalDesigner.cs (4)
146
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x64, 0x00);
147
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
149
this.BackColorStart =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
150
this.BackColorEnd =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
Designers\ConditionedDesigner.cs (4)
43
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x64, 0x00);
44
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
46
this.BackColorStart =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
47
this.BackColorEnd =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
Designers\DelayDesigner.cs (4)
27
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
28
this.BorderColor =
Color
.FromArgb(0xFF, 0x80, 0x40, 0x40);
30
this.BackColorStart =
Color
.FromArgb(0xFF, 0x80, 0x40, 0x40);
31
this.BackColorEnd =
Color
.FromArgb(0xFF, 0xF1, 0xE4, 0xE4);
Designers\EventDrivenDesigner.cs (4)
63
this.ForeColor =
Color
.FromArgb(0xFF, 0x80, 0x00, 0x00);
64
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
66
this.BackColorStart =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
67
this.BackColorEnd =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
Designers\EventHandlersDesigner.cs (7)
104
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
105
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
107
this.BackColorStart =
Color
.FromArgb(0x35, 0xFF, 0xFF, 0xB0);
108
this.BackColorEnd =
Color
.FromArgb(0x35, 0xFF, 0xFF, 0xB0);
109
this.PreviewForeColor =
Color
.FromArgb(0xFF, 0xF0, 0xF0, 0xF0);
110
this.PreviewBorderColor =
Color
.FromArgb(0xFF, 0x6B, 0x6D, 0x6B);
111
this.PreviewBackColor =
Color
.FromArgb(0xFF, 0xFF, 0xFF, 0xFF);
Designers\EventSinkActivityDesigner.cs (4)
98
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
99
this.BorderColor =
Color
.FromArgb(0xFF, 0x9C, 0xAE, 0x73);
101
this.BackColorStart =
Color
.FromArgb(0xFF, 0xF5, 0xFB, 0xE1);
102
this.BackColorEnd =
Color
.FromArgb(0xFF, 0xD6, 0xEB, 0x84);
Designers\InvokeMethodActivityDesigner.cs (4)
97
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
98
this.BorderColor =
Color
.FromArgb(0xFF, 0x73, 0x79, 0xA5);
100
this.BackColorStart =
Color
.FromArgb(0xFF, 0xDF, 0xE8, 0xFF);
101
this.BackColorEnd =
Color
.FromArgb(0xFF, 0x95, 0xB3, 0xFF);
Designers\InvokeWebServiceDesigner.cs (4)
186
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
187
this.BorderColor =
Color
.FromArgb(0xFF, 0x94, 0xB6, 0xF7);
189
this.BackColorStart =
Color
.FromArgb(0xFF, 0xFF, 0xFF, 0xFF);
190
this.BackColorEnd =
Color
.FromArgb(0xFF, 0xA5, 0xC3, 0xF7);
Designers\ListenDesigner.cs (4)
103
this.ForeColor =
Color
.FromArgb(0xFF, 0x80, 0x00, 0x00);
104
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
106
this.BackColorStart =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
107
this.BackColorEnd =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
Designers\ParallelDesigner.cs (4)
73
this.ForeColor =
Color
.FromArgb(0xFF, 0x80, 0x00, 0x80);
74
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
76
this.BackColorStart =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
77
this.BackColorEnd =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
Designers\PolicyDesigner.cs (4)
94
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
95
this.BorderColor =
Color
.FromArgb(0xFF, 0x80, 0x80, 0x80);
97
this.BackColorStart =
Color
.FromArgb(0xFF, 0xF4, 0xF4, 0xF4);
98
this.BackColorEnd =
Color
.FromArgb(0xFF, 0xC0, 0xC0, 0xC0);
Designers\SequenceDesigner.cs (4)
31
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x73);
32
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
34
this.BackColorStart =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
35
this.BackColorEnd =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
Designers\ServiceDesigner.cs (4)
107
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
108
this.BorderColor =
Color
.FromArgb(0xFF, 0x49, 0x77, 0xB4);
110
this.BackColorStart =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
111
this.BackColorEnd =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
Designers\SetStateDesigner.cs (4)
210
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
211
this.BorderColor =
Color
.FromArgb(0xFF, 0x80, 0x80, 0x80);
213
this.BackColorStart =
Color
.FromArgb(0xFF, 0xF4, 0xF4, 0xF4);
214
this.BackColorEnd =
Color
.FromArgb(0xFF, 0xC0, 0xC0, 0xC0);
Designers\StateDesigner.cs (7)
2572
private
Color
_connectorColor =
Color
.Black;
2611
public
Color
ConnectorColor
2797
this.ForeColor =
Color
.FromArgb(0xFF, 0x10, 0x10, 0x10);
2798
this.BorderColor =
Color
.FromArgb(0xFF, 0x49, 0x77, 0xb4);
2800
this.BackColorStart =
Color
.FromArgb(0xd0, 0xff, 0xff, 0xff);
2801
this.BackColorEnd =
Color
.FromArgb(0xd0, 0xff, 0xff, 0xff);
Designers\StateDesigner.Layouts.cs (10)
998
Color
color1;
999
Color
color2;
1003
color1 =
Color
.FromArgb(32, designerTheme.BorderColor);
1004
color2 =
Color
.FromArgb(160, designerTheme.BorderColor);
1010
color1 =
Color
.Empty;
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);
Designers\StateFinalizationDesigner.cs (4)
70
this.ForeColor =
Color
.FromArgb(0xFF, 0x80, 0x00, 0x00);
71
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
73
this.BackColorStart =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
74
this.BackColorEnd =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
Designers\StateInitializationDesigner.cs (4)
70
this.ForeColor =
Color
.FromArgb(0xFF, 0x80, 0x00, 0x00);
71
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
73
this.BackColorStart =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
74
this.BackColorEnd =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
Designers\StateMachineDesignerPaint.cs (1)
27
internal static readonly Brush FadeBrush = new SolidBrush(
Color
.FromArgb(120, 255, 255, 255));
Designers\StateMachineWorkflowDesigner.cs (4)
132
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
133
this.BorderColor =
Color
.FromArgb(0xFF, 0x49, 0x77, 0xB4);
135
this.BackColorStart =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
136
this.BackColorEnd =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
Designers\WebServiceFaultDesigner.cs (4)
45
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
46
this.BorderColor =
Color
.FromArgb(0xFF, 0x94, 0xB6, 0xF7);
48
this.BackColorStart =
Color
.FromArgb(0xFF, 0xFF, 0xFF, 0xDF);
49
this.BackColorEnd =
Color
.FromArgb(0xFF, 0xA5, 0xC3, 0xF7);
Designers\WebServiceReceiveDesigner.cs (4)
84
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
85
this.BorderColor =
Color
.FromArgb(0xFF, 0x94, 0xB6, 0xF7);
87
this.BackColorStart =
Color
.FromArgb(0xFF, 0xFF, 0xFF, 0xDF);
88
this.BackColorEnd =
Color
.FromArgb(0xFF, 0xA5, 0xC3, 0xF7);
Designers\WebServiceResponseDesigner.cs (4)
58
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
59
this.BorderColor =
Color
.FromArgb(0xFF, 0x94, 0xB6, 0xF7);
61
this.BackColorStart =
Color
.FromArgb(0xFF, 0xFF, 0xFF, 0xDF);
62
this.BackColorEnd =
Color
.FromArgb(0xFF, 0xA5, 0xC3, 0xF7);
Designers\WhileDesigner.cs (4)
115
this.ForeColor =
Color
.FromArgb(0xFF, 0x52, 0x8A, 0xF7);
116
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
118
this.BackColorStart =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
119
this.BackColorEnd =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
EventHandlingScope.cs (4)
303
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
304
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
306
this.BackColorStart =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
307
this.BackColorEnd =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
Rules\Design\Dialogs\BasicBrowserDialog.Designer.cs (1)
125
this.imageList.TransparentColor = System.Drawing.
Color
.Transparent;
Rules\Design\Dialogs\IntellisenseTextBox.Designer.cs (1)
40
this.autoCompletionImageList.TransparentColor = System.Drawing.
Color
.Magenta;
Rules\Design\Dialogs\RuleSetDialog.Designer.cs (1)
166
this.imageList.TransparentColor = System.Drawing.
Color
.Transparent;
System.Workflow.ComponentModel (192)
AuthoringOM\Behaviors\CancellationHandlerDesigner.cs (4)
66
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
67
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
69
this.BackColorStart =
Color
.FromArgb(0x35, 0xFF, 0xB0, 0x90);
70
this.BackColorEnd =
Color
.FromArgb(0x35, 0xFF, 0xB0, 0x90);
AuthoringOM\Behaviors\CompensateDesigner.cs (4)
45
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
46
this.BorderColor =
Color
.FromArgb(0xFF, 0x73, 0x51, 0x08);
48
this.BackColorStart =
Color
.FromArgb(0xFF, 0xF7, 0xF7, 0x9C);
49
this.BackColorEnd =
Color
.FromArgb(0xFF, 0xDE, 0xAA, 0x00);
AuthoringOM\Behaviors\CompensationDesigner.cs (4)
72
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
73
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
75
this.BackColorStart =
Color
.FromArgb(0x35, 0xB0, 0xE0, 0xFF);
76
this.BackColorEnd =
Color
.FromArgb(0x35, 0xB0, 0xE0, 0xFF);
AuthoringOM\Behaviors\ExceptionHandlerDesigner.cs (4)
92
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
93
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
95
this.BackColorStart =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
96
this.BackColorEnd =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
AuthoringOM\Behaviors\ExceptionHandlersDesigner.cs (7)
110
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
111
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
113
this.BackColorStart =
Color
.FromArgb(0x35, 0xFF, 0xB0, 0xB0);
114
this.BackColorEnd =
Color
.FromArgb(0x35, 0xFF, 0xE0, 0xE0);
115
this.PreviewForeColor =
Color
.FromArgb(0xFF, 0xF0, 0xF0, 0xF0);
116
this.PreviewBorderColor =
Color
.FromArgb(0xFF, 0x6B, 0x6D, 0x6B);
117
this.PreviewBackColor =
Color
.FromArgb(0xFF, 0xFF, 0xFF, 0xFF);
AuthoringOM\Design\ActivityDesigner.cs (2)
1065
using (Brush transparentBrush = new SolidBrush(
Color
.FromArgb(0, 255, 0, 255)))
3081
using (Brush transparentSelectionBrush = new SolidBrush(
Color
.FromArgb(50, WorkflowTheme.CurrentTheme.AmbientTheme.SelectionForeColor)))
AuthoringOM\Design\ActivityDesignerLayoutSerializers.cs (7)
294
if (typeof(System.Drawing.
Color
) == objectType)
311
return (value is System.Drawing.
Color
);
322
if (value is System.Drawing.
Color
)
324
System.Drawing.
Color
color = (System.Drawing.
Color
)value;
333
if (propertyType.IsAssignableFrom(typeof(System.Drawing.
Color
)))
341
return System.Drawing.
Color
.FromArgb((Byte)(propertyValue >> 24), (Byte)(propertyValue >> 16), (Byte)(propertyValue >> 8), (Byte)(propertyValue));
AuthoringOM\Design\DesignerHelpers.cs (25)
52
private static
Color
[,] XPColorSchemes = new
Color
[,]
54
{
Color
.FromArgb(0, 60, 165),
Color
.FromArgb(255, 255, 255),
Color
.FromArgb(181, 186, 214),
Color
.FromArgb(66, 142, 255),
Color
.FromArgb(181, 195, 231) },
55
{
Color
.FromArgb(49, 68, 115),
Color
.FromArgb(255, 255, 255),
Color
.FromArgb(186, 187, 201),
Color
.FromArgb(126, 124, 124),
Color
.FromArgb(206, 207, 216) },
56
{
Color
.FromArgb(86, 102, 45),
Color
.FromArgb(255, 255, 255),
Color
.FromArgb(210, 219, 197),
Color
.FromArgb(114, 146, 29),
Color
.FromArgb(212, 220, 190) }
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)))
420
internal static void DrawDropShadow(Graphics graphics, Rectangle shadowSourceRectangle,
Color
baseColor, int shadowDepth, LightSourcePosition lightSourcePosition, float lightSourceIntensity, bool roundEdges)
464
Color
shadowColor =
Color
.FromArgb(Convert.ToInt32((baseAlphaLevel * lightSourceIntensity)), baseColor);
480
shadowColor =
Color
.FromArgb(shadowColor.A + alphaIncreament, shadowColor.R, shadowColor.G, shadowColor.B);
AuthoringOM\Design\DesignerInterfaces.cs (2)
163
public
Color
TransparentColor =
Color
.White;
AuthoringOM\Design\DesignerWidgets.cs (11)
121
private static Brush SelectionBrush = new SolidBrush(
Color
.FromArgb(255, 195, 107));
122
private static Brush HighliteBrush = new SolidBrush(
Color
.FromArgb(100, 255, 195, 107));
1089
BackColor =
Color
.White;
1405
BackColor =
Color
.White;
1423
ActivityDesignerPaint.DrawDropShadow(e.Graphics, rectangle,
Color
.Black, AmbientTheme.DropShadowWidth, LightSourcePosition.Left | LightSourcePosition.Top, 0.2f, false);
1878
Color
hottrackColor =
Color
.FromArgb(255, 238, 194);
1879
Color
selectionColor =
Color
.FromArgb(255, 192, 111);
1882
hottrackColor =
Color
.FromArgb(255 - hottrackColor.R, 255 - hottrackColor.G, 255 - hottrackColor.B);
1883
selectionColor =
Color
.FromArgb(255 - selectionColor.R, 255 - selectionColor.G, 255 - selectionColor.B);
AuthoringOM\Design\Dialogs\ActivityBindForm.cs (1)
882
this.ForeColor =
Color
.DarkBlue;
AuthoringOM\Design\Dialogs\ThemeConfigurationDialog.cs (2)
555
using (Pen framePen = new Pen(
Color
.Black, 1))
919
BackColor =
Color
.White;
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (10)
191
this.typeTabPage.BackColor = System.Drawing.
Color
.Transparent;
198
this.typeSplitContainer.BackColor = System.Drawing.
Color
.Transparent;
243
this.advancedTabPage.BackColor = System.Drawing.
Color
.Transparent;
786
this.artifactImages.TransparentColor =
Color
.FromArgb(0, 255, 0);
1238
Color
[] keywordColors = new
Color
[3];
1239
keywordColors[0] =
Color
.DarkRed;
1240
keywordColors[1] =
Color
.Green;
1241
keywordColors[2] =
Color
.Blue;
1262
this.SelectionColor =
Color
.DarkRed;
AuthoringOM\Design\MessageFilters\DragDropManager.cs (1)
681
using (Brush backgroundBrush = new SolidBrush(
Color
.FromArgb(0, 255, 0, 255)))
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (1)
118
using (Brush dragRectangleBrush = new SolidBrush(
Color
.FromArgb(10, ambientTheme.SelectionForeColor)))
AuthoringOM\Design\SequentialWorkflowRootDesigner.cs (8)
384
Color
color1 =
Color
.Empty;
385
Color
color2 =
Color
.FromArgb(50, e.DesignerTheme.BorderColor);
471
Color
color1 =
Color
.Empty;
472
Color
color2 =
Color
.FromArgb(50, e.DesignerTheme.BorderColor);
AuthoringOM\Design\Themes.cs (75)
988
private
Color
foreColor =
Color
.Black;
989
private
Color
borderColor =
Color
.Black;
991
private
Color
backColorStart =
Color
.White;
992
private
Color
backColorEnd =
Color
.Empty;
1096
public virtual
Color
ForeColor
1129
public virtual
Color
BorderColor
1183
public virtual
Color
BackColorStart
1209
public virtual
Color
BackColorEnd
1428
internal static readonly Pen ExpandButtonForegoundPen = new Pen(
Color
.Black, 1);
1429
internal static readonly Pen ExpandButtonBorderPen = new Pen(
Color
.FromArgb(123, 154, 181), 1);
1636
this.expandButtonBackBrush = new LinearGradientBrush(this.expandButtonRectangle,
Color
.White,
Color
.FromArgb(173, 170, 156), LinearGradientMode.ForwardDiagonal);
1664
BackColorStart =
Color
.Empty;
1665
BackColorEnd =
Color
.Empty;
1691
private
Color
previewForeColor =
Color
.WhiteSmoke;
1692
private
Color
previewBackColor =
Color
.White;
1693
private
Color
previewBorderColor =
Color
.Gray;
1748
public
Color
PreviewForeColor
1774
public
Color
PreviewBackColor
1800
public
Color
PreviewBorderColor
1929
internal static
Color
TransparentColor =
Color
.FromArgb(255, 0, 255);
1936
internal static readonly Pen SmartTagBorderPen = new Pen(
Color
.Black, 1);
1937
internal static readonly Pen MagnifierPen = new Pen(
Color
.Black, 2);
1938
internal static readonly Pen WorkflowBorderPen = new Pen(
Color
.FromArgb(127, 157, 185), 1);
1939
internal static readonly Brush WorkspaceBackgroundBrush = new SolidBrush(
Color
.FromArgb(234, 234, 236));
1940
internal static readonly Brush FadeBrush = new SolidBrush(
Color
.FromArgb(120, 255, 255, 255));
1941
internal static readonly Brush DisabledBrush = new SolidBrush(
Color
.FromArgb(40,
Color
.Gray));
1942
internal static readonly Brush PageShadowBrush = new SolidBrush(
Color
.FromArgb(75, 75, 75));
1986
private
Color
dropIndicatorColor =
Color
.Green;
1987
private
Color
selectionForeColor =
Color
.Blue;
1988
private
Color
selectionPatternColor =
Color
.DarkGray;
1989
private
Color
foreColor =
Color
.Gray;
1990
private
Color
backColor =
Color
.White;
1991
private
Color
commentIndicatorColor =
Color
.FromArgb(49, 198, 105);
1992
private
Color
readonlyIndicatorColor =
Color
.Gray;
2000
private
Color
gridColor =
Color
.FromArgb(192, 192, 192);
2306
public virtual
Color
DropIndicatorColor
2339
public virtual
Color
SelectionForeColor
2372
public virtual
Color
SelectionPatternColor
2399
public virtual
Color
ForeColor
2432
public virtual
Color
CommentIndicatorColor
2465
public virtual
Color
ReadonlyIndicatorColor
2494
public virtual
Color
BackColor
2647
public virtual
Color
GridColor
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));
3004
this.commentIndicatorBrush = new SolidBrush(
Color
.FromArgb(40, this.commentIndicatorColor));
3016
this.readonlyIndicatorBrush = new SolidBrush(
Color
.FromArgb(20, this.readonlyIndicatorColor));
3325
if (e.Value is
Color
)
3327
Color
selectedColor = (
Color
)e.Value;
3328
if (selectedColor !=
Color
.Empty)
3342
colorDialog.Color = (value is
Color
) ? (
Color
)value :
Color
.White;
3363
if (typeof(System.Drawing.
Color
) == objectType)
AuthoringOM\Design\WorkflowInlining.cs (4)
495
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
496
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
498
this.BackColorStart =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
499
this.BackColorEnd =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
AuthoringOM\Design\WorkflowLayouts.cs (1)
648
ActivityDesignerPaint.DrawDropShadow(graphics, pageLayoutData.PageBounds,
Color
.Black, AmbientTheme.DropShadowWidth, LightSourcePosition.Left | LightSourcePosition.Top, 0.2f, false);
AuthoringOM\Design\WorkflowView.cs (2)
1659
using (Brush shadowDepthBrush = new SolidBrush(
Color
.FromArgb(220,
Color
.White)))
AuthoringOM\FaultDesigner.cs (4)
30
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
31
this.BorderColor =
Color
.FromArgb(0xFF, 0xC8, 0x2D, 0x11);
33
this.BackColorStart =
Color
.FromArgb(0xFF, 0xFB, 0xD7, 0xD0);
34
this.BackColorEnd =
Color
.FromArgb(0xFF, 0xF3, 0x85, 0x72);
AuthoringOM\SequenceDesigner.cs (4)
32
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x73);
33
this.BorderColor =
Color
.FromArgb(0xFF, 0xE0, 0xE0, 0xE0);
35
this.BackColorStart =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
36
this.BackColorEnd =
Color
.FromArgb(0x00, 0x00, 0x00, 0x00);
AuthoringOM\Serializer\WorkflowMarkupSerializationManager.cs (1)
496
else if (typeof(
Color
).IsAssignableFrom(objectType))
AuthoringOM\SuspendDesigner.cs (4)
27
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
28
this.BorderColor =
Color
.FromArgb(0xFF, 0xA5, 0x79, 0x73);
30
this.BackColorStart =
Color
.FromArgb(0xFF, 0xFF, 0xFF, 0xDF);
31
this.BackColorEnd =
Color
.FromArgb(0xFF, 0xFF, 0xFF, 0x95);
AuthoringOM\TerminateDesigner.cs (4)
27
this.ForeColor =
Color
.FromArgb(0xFF, 0x00, 0x00, 0x00);
28
this.BorderColor =
Color
.FromArgb(0xFF, 0x79, 0x73, 0xA5);
30
this.BackColorStart =
Color
.FromArgb(0xFF, 0xFF, 0xE8, 0xDF);
31
this.BackColorEnd =
Color
.FromArgb(0xFF, 0xFF, 0xB3, 0x95);
System.WorkflowServices (60)
System\Workflow\Activities\Design\EditableLabelControl.cs (3)
23
label.BackColor =
Color
.Transparent;
26
this.BackColor =
Color
.Transparent;
43
public override
Color
ForeColor
System\Workflow\Activities\Design\GradientPanel.cs (12)
19
private
Color
baseColor;
20
private
Color
borderColor;
24
private
Color
lightingColor;
29
BaseColor =
Color
.FromArgb(255, 255, 255, 255);
30
LightingColor =
Color
.FromArgb(255, 176, 186, 196);
35
public
Color
BaseColor
41
public
Color
BorderColor
59
public
Color
LightingColor
90
Brush glossBrush = new LinearGradientBrush(new Point(frameRect.Left, frameRect.Top), new Point(frameRect.Left, frameRect.Top + glossHeight + 1),
Color
.FromArgb(120, 255, 255, 255),
Color
.FromArgb(60, 255, 255, 255)); // SolidBrush(Color.FromArgb(32, 255, 255, 255));
109
using (Pen shadowPen = new Pen(
Color
.FromArgb(shadowIntensity, 0, 0, 0)))
115
shadowPen.Color =
Color
.FromArgb(shadowIntensity - 1, 0, 0, 0);
System\Workflow\Activities\Design\OperationPickerDialog.designer.cs (4)
133
this.detailsViewPanel.BackColor = System.Drawing.
Color
.Transparent;
135
this.detailsViewPanel.BorderColor = System.Drawing.
Color
.Transparent;
145
this.footerPanel.BaseColor = System.Drawing.
Color
.Transparent;
152
this.footerPanel.LightingColor = System.Drawing.
Color
.Transparent;
System\Workflow\Activities\Design\ServiceContractDetailViewControl.Designer.cs (1)
54
this.BackColor = System.Drawing.
Color
.Transparent;
System\Workflow\Activities\Design\ServiceContractViewControl.cs (7)
58
this.backgroundPanel.LightingColor =
Color
.FromArgb(213, 246, 255);
61
this.backgroundPanel.BorderColor =
Color
.FromArgb(155, 230, 255);
66
this.backgroundPanel.LightingColor =
Color
.Gainsboro;
69
this.backgroundPanel.BorderColor =
Color
.Gainsboro;
73
this.backgroundPanel.BaseColor =
Color
.Transparent;
74
this.backgroundPanel.LightingColor =
Color
.Transparent;
76
this.backgroundPanel.BorderColor =
Color
.Transparent;
System\Workflow\Activities\Design\ServiceContractViewControl.Designer.cs (5)
45
this.contractNameLabel.BackColor = System.Drawing.
Color
.Transparent;
52
this.contractIconPictureBox.BackColor = System.Drawing.
Color
.Transparent;
60
this.backgroundPanel.BaseColor = System.Drawing.
Color
.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
61
this.backgroundPanel.BorderColor = System.Drawing.
Color
.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
67
this.backgroundPanel.LightingColor = System.Drawing.
Color
.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.designer.cs (1)
221
this.BackColor = System.Drawing.
Color
.Transparent;
System\Workflow\Activities\Design\ServiceOperationViewControl.cs (7)
52
this.backgroundPanel.LightingColor =
Color
.FromArgb(213, 246, 255);
55
this.backgroundPanel.BorderColor =
Color
.FromArgb(155, 230, 255);
60
this.backgroundPanel.LightingColor =
Color
.Gainsboro;
63
this.backgroundPanel.BorderColor =
Color
.Gainsboro;
67
this.backgroundPanel.BaseColor =
Color
.Transparent;
68
this.backgroundPanel.LightingColor =
Color
.Transparent;
70
this.backgroundPanel.BorderColor =
Color
.Transparent;
System\Workflow\Activities\Design\ServiceOperationViewControl.designer.cs (6)
48
this.backgroundPanel.BaseColor = System.Drawing.
Color
.White;
49
this.backgroundPanel.BorderColor = System.Drawing.
Color
.White;
55
this.backgroundPanel.LightingColor = System.Drawing.
Color
.White;
61
this.isImplementedPictureBox.BackColor = System.Drawing.
Color
.Transparent;
69
this.operationIconPictureBox.BackColor = System.Drawing.
Color
.Transparent;
78
this.operationNameLabel.BackColor = System.Drawing.
Color
.Transparent;
System\Workflow\Activities\ReceiveActivityDesignerTheme.cs (4)
24
base.BackColorStart =
Color
.FromArgb(255, 255, 255);
25
base.BackColorEnd =
Color
.FromArgb(200, 200, 200);
26
base.BorderColor =
Color
.FromArgb(200, 200, 200);
27
base.ForeColor =
Color
.FromArgb(80, 80, 80);
System\Workflow\Activities\SendActivityDesignerTheme.cs (4)
24
base.BackColorStart =
Color
.FromArgb(255, 255, 255);
25
base.BackColorEnd =
Color
.FromArgb(200, 200, 200);
26
base.BorderColor =
Color
.FromArgb(200, 200, 200);
27
base.ForeColor =
Color
.FromArgb(80, 80, 80);
System\Workflow\ComponentModel\Design\HighlightOverlayGlyph.cs (6)
47
Color
BaseColor =
Color
.FromArgb(150, 0, 0, 0); // dark semitransparent backdrop
48
Color
LightingColor =
Color
.FromArgb(150, 0, 0, 0);
67
using (Pen shadowPen = new Pen(
Color
.FromArgb(shadowIntensity, 0, 0, 0)))
73
shadowPen.Color =
Color
.FromArgb(shadowIntensity - 1, 0, 0, 0);