Click or drag to resize
KnownColors Class
A collection of color presets.
Inheritance Hierarchy
SystemObject
  Telerik.Windows.Diagrams.CoreKnownColors

Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.Windows.Controls.Diagrams (in Telerik.Windows.Controls.Diagrams.dll) Version: 2017.2.614.40 (2017.2.614.40)
Syntax
public static class KnownColors

The KnownColors type exposes the following members.

Fields
  NameDescription
Public fieldStatic memberAliceBlue
The AliceBlue color preset.
Public fieldStatic memberAntiqueWhite
The AntiqueWhite color preset.
Public fieldStatic memberAqua
The Aqua color preset.
Public fieldStatic memberAquamarine
The Aquamarine color preset.
Public fieldStatic memberAzure
The Azure color preset.
Public fieldStatic memberBeige
The Beige color preset.
Public fieldStatic memberBisque
The Bisque color preset.
Public fieldStatic memberBlack
The Black color preset.
Public fieldStatic memberBlanchedAlmond
The BlanchedAlmond color preset.
Public fieldStatic memberBlue
The Blue color preset.
Public fieldStatic memberBlueViolet
The BlueViolet color preset.
Public fieldStatic memberBrown
The Brown color preset.
Public fieldStatic memberBurlyWood
The BurlyWood color preset.
Public fieldStatic memberCadetBlue
The CadetBlue color preset.
Public fieldStatic memberChartreuse
The Chartreuse color preset.
Public fieldStatic memberChocolate
The Chocolate color preset.
Public fieldStatic memberCoral
The Coral color preset.
Public fieldStatic memberCornflowerBlue
The CornflowerBlue color preset.
Public fieldStatic memberCornSilk
The CornSilk color preset.
Public fieldStatic memberCrimson
The Crimson color preset.
Public fieldStatic memberCyan
The Cyan color preset.
Public fieldStatic memberDarkBlue
The DarkBlue color preset.
Public fieldStatic memberDarkCyan
The DarkCyan color preset.
Public fieldStatic memberDarkGoldenrod
The DarkGoldenrod color preset.
Public fieldStatic memberDarkGray
The DarkGray color preset.
Public fieldStatic memberDarkGreen
The DarkGreen color preset.
Public fieldStatic memberDarkKhaki
The DarkKhaki color preset.
Public fieldStatic memberDarkMagenta
The DarkMagenta color preset.
Public fieldStatic memberDarkOliveGreen
The DarkOliveGreen color preset.
Public fieldStatic memberDarkOrange
The DarkOrange color preset.
Public fieldStatic memberDarkOrchid
The DarkOrchid color preset.
Public fieldStatic memberDarkRed
The DarkRed color preset.
Public fieldStatic memberDarkSalmon
The DarkSalmon color preset.
Public fieldStatic memberDarkSeaGreen
The DarkSeaGreen color preset.
Public fieldStatic memberDarkSlateBlue
The DarkSlateBlue color preset.
Public fieldStatic memberDarkSlateGray
The DarkSlateGray color preset.
Public fieldStatic memberDarkTurquoise
The DarkTurquoise color preset.
Public fieldStatic memberDarkViolet
The DarkViolet color preset.
Public fieldStatic memberDeepPink
The DeepPink color preset.
Public fieldStatic memberDeepSkyBlue
The DeepSkyBlue color preset.
Public fieldStatic memberDimGray
The DimGray color preset.
Public fieldStatic memberDodgerBlue
The DodgerBlue color preset.
Public fieldStatic memberFirebrick
The Firebrick color preset.
Public fieldStatic memberFloralWhite
The FloralWhite color preset.
Public fieldStatic memberForestGreen
The ForestGreen color preset.
Public fieldStatic memberFuchsia
The Fuchsia color preset.
Public fieldStatic memberGainsboro
The Gainsboro color preset.
Public fieldStatic memberGhostWhite
The GhostWhite color preset.
Public fieldStatic memberGold
The Gold color preset.
Public fieldStatic memberGoldenrod
The Goldenrod color preset.
Public fieldStatic memberGray
The Gray color preset.
Public fieldStatic memberGreen
The Green color preset.
Public fieldStatic memberGreenYellow
The GreenYellow color preset.
Public fieldStatic memberHoneydew
The Honeydew color preset.
Public fieldStatic memberHotPink
The HotPink color preset.
Public fieldStatic memberIndianRed
The IndianRed color preset.
Public fieldStatic memberIndigo
The Indigo color preset.
Public fieldStatic memberIvory
The Ivory color preset.
Public fieldStatic memberKhaki
The Khaki color preset.
Public fieldStatic memberLavender
The Lavender color preset.
Public fieldStatic memberLavenderBlush
The LavenderBlush color preset.
Public fieldStatic memberLawnGreen
The LawnGreen color preset.
Public fieldStatic memberLemonChiffon
The LemonChiffon color preset.
Public fieldStatic memberLightBlue
The LightBlue color preset.
Public fieldStatic memberLightCoral
The LightCoral color preset.
Public fieldStatic memberLightCyan
The LightCyan color preset.
Public fieldStatic memberLightGoldenrodYellow
The LightGoldenrodYellow color preset.
Public fieldStatic memberLightGray
The LightGray color preset.
Public fieldStatic memberLightGreen
The LightGreen color preset.
Public fieldStatic memberLightLightGray
The LightLightGray color preset.
Public fieldStatic memberLightPink
The LightPink color preset.
Public fieldStatic memberLightSalmon
The LightSalmon color preset.
Public fieldStatic memberLightSeaGreen
The LightSeaGreen color preset.
Public fieldStatic memberLightSkyBlue
The LightSkyBlue color preset.
Public fieldStatic memberLightSlateGray
The LightSlateGray color preset.
Public fieldStatic memberLightSteelBlue
The LightSteelBlue color preset.
Public fieldStatic memberLightYellow
The LightYellow color preset.
Public fieldStatic memberLime
The Lime color preset.
Public fieldStatic memberLimeGreen
The LimeGreen color preset.
Public fieldStatic memberLinen
The Linen color preset.
Public fieldStatic memberMagenta
The Magenta color preset.
Public fieldStatic memberMaroon
The Maroon color preset.
Public fieldStatic memberMediumAquamarine
The MediumAquamarine color preset.
Public fieldStatic memberMediumBlue
The MediumBlue color preset.
Public fieldStatic memberMediumOrchid
The MediumOrchid color preset.
Public fieldStatic memberMediumPurple
The MediumPurple color preset.
Public fieldStatic memberMediumSeaGreen
The MediumSeaGreen color preset.
Public fieldStatic memberMediumSlateBlue
The MediumSlateBlue color preset.
Public fieldStatic memberMediumSpringGreen
The MediumSpringGreen color preset.
Public fieldStatic memberMediumTurquoise
The MediumTurquoise color preset.
Public fieldStatic memberMediumVioletRed
The MediumVioletRed color preset.
Public fieldStatic memberMidnightBlue
The MidnightBlue color preset.
Public fieldStatic memberMintCream
The MintCream color preset.
Public fieldStatic memberMistyRose
The MistyRose color preset.
Public fieldStatic memberMoccasin
The Moccasin color preset.
Public fieldStatic memberNavajoWhite
The NavajoWhite color preset.
Public fieldStatic memberNavy
The Navy color preset.
Public fieldStatic memberOldLace
The OldLace color preset.
Public fieldStatic memberOlive
The Olive color preset.
Public fieldStatic memberOliveDrab
The OliveDrab color preset.
Public fieldStatic memberOrange
The Orange color preset.
Public fieldStatic memberOrangeRed
The OrangeRed color preset.
Public fieldStatic memberOrchid
The Orchid color preset.
Public fieldStatic memberPaleGoldenrod
The PaleGoldenrod color preset.
Public fieldStatic memberPaleGreen
The PaleGreen color preset.
Public fieldStatic memberPaleTurquoise
The PaleTurquoise color preset.
Public fieldStatic memberPaleVioletRed
The PaleVioletRed color preset.
Public fieldStatic memberPapayaWhip
The PapayaWhip color preset.
Public fieldStatic memberPeachPuff
The PeachPuff color preset.
Public fieldStatic memberPeru
The Peru color preset.
Public fieldStatic memberPink
The Pink color preset.
Public fieldStatic memberPlum
The Plum color preset.
Public fieldStatic memberPowderBlue
The PowderBlue color preset.
Public fieldStatic memberPurple
The Purple color preset.
Public fieldStatic memberRed
The Red color preset.
Public fieldStatic memberRosyBrown
The RosyBrown color preset.
Public fieldStatic memberRoyalBlue
The RoyalBlue color preset.
Public fieldStatic memberSaddleBrown
The SaddleBrown color preset.
Public fieldStatic memberSalmon
The Salmon color preset.
Public fieldStatic memberSandyBrown
The SandyBrown color preset.
Public fieldStatic memberSeaGreen
The SeaGreen color preset.
Public fieldStatic memberSeaShell
The SeaShell color preset.
Public fieldStatic memberSienna
The Sienna color preset.
Public fieldStatic memberSilver
The Silver color preset.
Public fieldStatic memberSkyBlue
The SkyBlue color preset.
Public fieldStatic memberSlateBlue
The SlateBlue color preset.
Public fieldStatic memberSlateGray
The SlateGray color preset.
Public fieldStatic memberSnow
The Snow color preset.
Public fieldStatic memberSpringGreen
The SpringGreen color preset.
Public fieldStatic memberSteelBlue
The SteelBlue color preset.
Public fieldStatic memberTan
The Tan color preset.
Public fieldStatic memberTeal
The Teal color preset.
Public fieldStatic memberThistle
The Thistle color preset.
Public fieldStatic memberTomato
The Tomato color preset.
Public fieldStatic memberTransparent
The Transparent color preset.
Public fieldStatic memberTurquoise
The Turquoise color preset.
Public fieldStatic memberViolet
The Violet color preset.
Public fieldStatic memberWheat
The Wheat color preset.
Public fieldStatic memberWhite
The White color preset.
Public fieldStatic memberWhiteSmoke
The WhiteSmoke color preset.
Public fieldStatic memberYellow
The Yellow color preset.
Public fieldStatic memberYellowGreen
The YellowGreen color preset.
Top
Remarks
These colors are available under WPF in the Colors class but missing in under Silverlight.
Examples
Through the implicit conversion you can use the KnownColors directly to define a color, a number or even a brush like so:
Color color = KnownColors.DarkGreen; 
Brush brush = KnownColors.CadetBlue;
int number = KnownColors.Crimson;
See Also