149 references to KnownColors
PresentationCore (149)
System\Windows\Media\brushes.cs (141)
42
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.AliceBlue);
53
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.AntiqueWhite);
64
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Aqua);
75
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Aquamarine);
86
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Azure);
97
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Beige);
108
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Bisque);
119
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Black);
130
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.BlanchedAlmond);
141
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Blue);
152
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.BlueViolet);
163
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Brown);
174
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.BurlyWood);
185
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.CadetBlue);
196
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Chartreuse);
207
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Chocolate);
218
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Coral);
229
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.CornflowerBlue);
240
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Cornsilk);
251
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Crimson);
262
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Cyan);
273
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkBlue);
284
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkCyan);
295
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkGoldenrod);
306
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkGray);
317
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkGreen);
328
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkKhaki);
339
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkMagenta);
350
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkOliveGreen);
361
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkOrange);
372
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkOrchid);
383
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkRed);
394
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkSalmon);
405
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkSeaGreen);
416
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkSlateBlue);
427
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkSlateGray);
438
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkTurquoise);
449
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DarkViolet);
460
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DeepPink);
471
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DeepSkyBlue);
482
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DimGray);
493
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.DodgerBlue);
504
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Firebrick);
515
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.FloralWhite);
526
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.ForestGreen);
537
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Fuchsia);
548
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Gainsboro);
559
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.GhostWhite);
570
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Gold);
581
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Goldenrod);
592
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Gray);
603
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Green);
614
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.GreenYellow);
625
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Honeydew);
636
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.HotPink);
647
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.IndianRed);
658
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Indigo);
669
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Ivory);
680
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Khaki);
691
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Lavender);
702
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LavenderBlush);
713
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LawnGreen);
724
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LemonChiffon);
735
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LightBlue);
746
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LightCoral);
757
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LightCyan);
768
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LightGoldenrodYellow);
779
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LightGray);
790
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LightGreen);
801
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LightPink);
812
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LightSalmon);
823
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LightSeaGreen);
834
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LightSkyBlue);
845
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LightSlateGray);
856
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LightSteelBlue);
867
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LightYellow);
878
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Lime);
889
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.LimeGreen);
900
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Linen);
911
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Magenta);
922
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Maroon);
933
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.MediumAquamarine);
944
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.MediumBlue);
955
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.MediumOrchid);
966
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.MediumPurple);
977
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.MediumSeaGreen);
988
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.MediumSlateBlue);
999
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.MediumSpringGreen);
1010
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.MediumTurquoise);
1021
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.MediumVioletRed);
1032
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.MidnightBlue);
1043
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.MintCream);
1054
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.MistyRose);
1065
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Moccasin);
1076
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.NavajoWhite);
1087
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Navy);
1098
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.OldLace);
1109
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Olive);
1120
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.OliveDrab);
1131
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Orange);
1142
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.OrangeRed);
1153
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Orchid);
1164
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.PaleGoldenrod);
1175
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.PaleGreen);
1186
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.PaleTurquoise);
1197
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.PaleVioletRed);
1208
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.PapayaWhip);
1219
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.PeachPuff);
1230
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Peru);
1241
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Pink);
1252
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Plum);
1263
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.PowderBlue);
1274
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Purple);
1285
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Red);
1296
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.RosyBrown);
1307
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.RoyalBlue);
1318
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.SaddleBrown);
1329
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Salmon);
1340
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.SandyBrown);
1351
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.SeaGreen);
1362
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.SeaShell);
1373
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Sienna);
1384
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Silver);
1395
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.SkyBlue);
1406
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.SlateBlue);
1417
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.SlateGray);
1428
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Snow);
1439
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.SpringGreen);
1450
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.SteelBlue);
1461
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Tan);
1472
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Teal);
1483
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Thistle);
1494
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Tomato);
1505
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Transparent);
1516
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Turquoise);
1527
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Violet);
1538
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Wheat);
1549
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.White);
1560
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.WhiteSmoke);
1571
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.Yellow);
1582
return
KnownColors
.SolidColorBrushFromUint((uint)KnownColor.YellowGreen);
System\Windows\Media\Parsers.cs (4)
212
string trimmedColor =
KnownColors
.MatchColor(color, out isPossibleKnowColor, out isNumericColor, out isContextColor, out isScRgbColor);
237
KnownColor kc =
KnownColors
.ColorStringToKnownColor(trimmedColor);
260
string trimmedColor =
KnownColors
.MatchColor(brush, out isPossibleKnownColor, out isNumericColor, out isContextColor, out isScRgbColor);
288
SolidColorBrush scp =
KnownColors
.ColorStringToKnownBrush(trimmedColor);
System\Windows\Media\SolidColorBrush.cs (4)
91
KnownColor knownColor =
KnownColors
.ColorStringToKnownColor(stringValue);
105
knownColor =
KnownColors
.ArgbStringToKnownColor(stringValue);
157
SolidColorBrush scp =
KnownColors
.SolidColorBrushFromUint(knownColorUint);
230
if ((format == null) && (provider == System.Windows.Markup.TypeConverterHelper.InvariantEnglishUS) &&
KnownColors
.IsKnownSolidColorBrush(this))