diff options
author | Eric Mellino <erme@microsoft.com> | 2017-05-20 00:08:07 +0300 |
---|---|---|
committer | Eric Mellino <erme@microsoft.com> | 2017-06-01 23:08:44 +0300 |
commit | 4d34be89f3812919306f1003fa6c035c9caf8970 (patch) | |
tree | 85c58f182571dd9239a0576d568fcc7e328c1f40 /src/System.Drawing.Primitives | |
parent | 30f45bbcaf52bd51b9122861f2eb19efaeb2bf86 (diff) |
Add support for System.Drawing on Windows.
This change adds a new library, System.Drawing.Common, which supports a
large subset of the System.Drawing API. It is a direct port of the code
from the .NET Framework codebase. The code has been cleaned, formatted,
and sanitized to match the code style of corefx, but is otherwise very
similar to the .NET Framework version. There are a few key differences:
* TypeConverter's have been omitted for now. If we want to add these to
.NET Core, we should add them to the TypeConverter library, rather than
System.Drawing.Common itself.
* Some parts of the library do not respond to "System Events", because
they are not yet implemented in .NET Core. This means that fonts and
colors will not automatically update when the system defaults change,
as they do in .NET Framework. The code is still there, but behind the
feature flag "FEATURE_SYSTEM_EVENTS".
* Various attributes have been removed from the codebase, because they are
no longer applicable. Examples:
* Designer-related attributes (DefaultProperty, DefaultEvent, Editor,
etc.)
* CAS-related attributes. CAS-related method calls (Security demands and
asserts) have also been removed.
There is still further cleanup that can be done in order to match the
style and structure of corefx. For example, the Interop code should be
reorganized to match other BCL libraries.
NOTE: This implementation will only work on Windows, and not in UWP. This
is a strictly compatibility-driven feature. Any changes made to it should
not significantly diverge from the .NET Framework implementation.
Libraries should only take a dependency on System.Drawing.Common if they
are relying on legacy components from .NET Framework; newly-written code
and features should rely on modern alternatives.
Diffstat (limited to 'src/System.Drawing.Primitives')
3 files changed, 886 insertions, 12 deletions
diff --git a/src/System.Drawing.Primitives/ref/System.Drawing.Primitives.cs b/src/System.Drawing.Primitives/ref/System.Drawing.Primitives.cs index 17ce78ac7c..caea8d0626 100644 --- a/src/System.Drawing.Primitives/ref/System.Drawing.Primitives.cs +++ b/src/System.Drawing.Primitives/ref/System.Drawing.Primitives.cs @@ -71,7 +71,9 @@ namespace System.Drawing public static System.Drawing.Color IndianRed { get { throw null; } } public static System.Drawing.Color Indigo { get { throw null; } } public bool IsEmpty { get { throw null; } } + public bool IsKnownColor { get { throw null; } } public bool IsNamedColor { get { throw null; } } + public bool IsSystemColor { get { throw null; } } public static System.Drawing.Color Ivory { get { throw null; } } public static System.Drawing.Color Khaki { get { throw null; } } public static System.Drawing.Color Lavender { get { throw null; } } @@ -164,6 +166,7 @@ namespace System.Drawing public static System.Drawing.Color FromArgb(int alpha, System.Drawing.Color baseColor) { throw null; } public static System.Drawing.Color FromArgb(int red, int green, int blue) { throw null; } public static System.Drawing.Color FromArgb(int alpha, int red, int green, int blue) { throw null; } + public static System.Drawing.Color FromKnownColor(System.Drawing.KnownColor color) { throw null; } public static System.Drawing.Color FromName(string name) { throw null; } public float GetBrightness() { throw null; } public override int GetHashCode() { throw null; } @@ -172,6 +175,7 @@ namespace System.Drawing public static bool operator ==(System.Drawing.Color left, System.Drawing.Color right) { throw null; } public static bool operator !=(System.Drawing.Color left, System.Drawing.Color right) { throw null; } public int ToArgb() { throw null; } + public System.Drawing.KnownColor ToKnownColor() { throw null; } public override string ToString() { throw null; } } public partial struct Point : System.IEquatable<System.Drawing.Point> @@ -364,4 +368,181 @@ namespace System.Drawing public System.Drawing.Size ToSize() { throw null; } public override string ToString() { throw null; } } + public enum KnownColor + { + ActiveBorder = 1, + ActiveCaption = 2, + ActiveCaptionText = 3, + AliceBlue = 28, + AntiqueWhite = 29, + AppWorkspace = 4, + Aqua = 30, + Aquamarine = 31, + Azure = 32, + Beige = 33, + Bisque = 34, + Black = 35, + BlanchedAlmond = 36, + Blue = 37, + BlueViolet = 38, + Brown = 39, + BurlyWood = 40, + ButtonFace = 168, + ButtonHighlight = 169, + ButtonShadow = 170, + CadetBlue = 41, + Chartreuse = 42, + Chocolate = 43, + Control = 5, + ControlDark = 6, + ControlDarkDark = 7, + ControlLight = 8, + ControlLightLight = 9, + ControlText = 10, + Coral = 44, + CornflowerBlue = 45, + Cornsilk = 46, + Crimson = 47, + Cyan = 48, + DarkBlue = 49, + DarkCyan = 50, + DarkGoldenrod = 51, + DarkGray = 52, + DarkGreen = 53, + DarkKhaki = 54, + DarkMagenta = 55, + DarkOliveGreen = 56, + DarkOrange = 57, + DarkOrchid = 58, + DarkRed = 59, + DarkSalmon = 60, + DarkSeaGreen = 61, + DarkSlateBlue = 62, + DarkSlateGray = 63, + DarkTurquoise = 64, + DarkViolet = 65, + DeepPink = 66, + DeepSkyBlue = 67, + Desktop = 11, + DimGray = 68, + DodgerBlue = 69, + Firebrick = 70, + FloralWhite = 71, + ForestGreen = 72, + Fuchsia = 73, + Gainsboro = 74, + GhostWhite = 75, + Gold = 76, + Goldenrod = 77, + GradientActiveCaption = 171, + GradientInactiveCaption = 172, + Gray = 78, + GrayText = 12, + Green = 79, + GreenYellow = 80, + Highlight = 13, + HighlightText = 14, + Honeydew = 81, + HotPink = 82, + HotTrack = 15, + InactiveBorder = 16, + InactiveCaption = 17, + InactiveCaptionText = 18, + IndianRed = 83, + Indigo = 84, + Info = 19, + InfoText = 20, + Ivory = 85, + Khaki = 86, + Lavender = 87, + LavenderBlush = 88, + LawnGreen = 89, + LemonChiffon = 90, + LightBlue = 91, + LightCoral = 92, + LightCyan = 93, + LightGoldenrodYellow = 94, + LightGray = 95, + LightGreen = 96, + LightPink = 97, + LightSalmon = 98, + LightSeaGreen = 99, + LightSkyBlue = 100, + LightSlateGray = 101, + LightSteelBlue = 102, + LightYellow = 103, + Lime = 104, + LimeGreen = 105, + Linen = 106, + Magenta = 107, + Maroon = 108, + MediumAquamarine = 109, + MediumBlue = 110, + MediumOrchid = 111, + MediumPurple = 112, + MediumSeaGreen = 113, + MediumSlateBlue = 114, + MediumSpringGreen = 115, + MediumTurquoise = 116, + MediumVioletRed = 117, + Menu = 21, + MenuBar = 173, + MenuHighlight = 174, + MenuText = 22, + MidnightBlue = 118, + MintCream = 119, + MistyRose = 120, + Moccasin = 121, + NavajoWhite = 122, + Navy = 123, + OldLace = 124, + Olive = 125, + OliveDrab = 126, + Orange = 127, + OrangeRed = 128, + Orchid = 129, + PaleGoldenrod = 130, + PaleGreen = 131, + PaleTurquoise = 132, + PaleVioletRed = 133, + PapayaWhip = 134, + PeachPuff = 135, + Peru = 136, + Pink = 137, + Plum = 138, + PowderBlue = 139, + Purple = 140, + Red = 141, + RosyBrown = 142, + RoyalBlue = 143, + SaddleBrown = 144, + Salmon = 145, + SandyBrown = 146, + ScrollBar = 23, + SeaGreen = 147, + SeaShell = 148, + Sienna = 149, + Silver = 150, + SkyBlue = 151, + SlateBlue = 152, + SlateGray = 153, + Snow = 154, + SpringGreen = 155, + SteelBlue = 156, + Tan = 157, + Teal = 158, + Thistle = 159, + Tomato = 160, + Transparent = 27, + Turquoise = 161, + Violet = 162, + Wheat = 163, + White = 164, + WhiteSmoke = 165, + Window = 24, + WindowFrame = 25, + WindowText = 26, + Yellow = 166, + YellowGreen = 167, + } } diff --git a/src/System.Drawing.Primitives/src/System/Drawing/Color.cs b/src/System.Drawing.Primitives/src/System/Drawing/Color.cs index 07ff82e444..71f0a8f957 100644 --- a/src/System.Drawing.Primitives/src/System/Drawing/Color.cs +++ b/src/System.Drawing.Primitives/src/System/Drawing/Color.cs @@ -363,12 +363,14 @@ namespace System.Drawing public byte A => (byte)((Value >> ARGBAlphaShift) & 0xFF); - private bool IsKnownColor => ((state & StateKnownColorValid) != 0); + public bool IsKnownColor => ((state & StateKnownColorValid) != 0); public bool IsEmpty => state == 0; public bool IsNamedColor => ((state & StateNameValid) != 0) || IsKnownColor; + public bool IsSystemColor => IsKnownColor && ((((KnownColor) knownColor) <= KnownColor.WindowText) || (((KnownColor) knownColor) > KnownColor.YellowGreen)); + // Not localized because it's only used for the DebuggerDisplayAttribute, and the values are // programmatic items. // Also, don't inline into the attribute for performance reasons. This way means the debugger @@ -449,7 +451,7 @@ namespace System.Drawing public static Color FromArgb(int red, int green, int blue) => FromArgb(255, red, green, blue); - private static Color FromKnownColor(KnownColor color) + public static Color FromKnownColor(KnownColor color) { var value = (int)color; if (value < (int)KnownColor.FirstColor || value > (int)KnownColor.LastColor) @@ -574,7 +576,7 @@ namespace System.Drawing public int ToArgb() => unchecked((int)Value); - private KnownColor ToKnownColor() => (KnownColor)knownColor; + public KnownColor ToKnownColor() => (KnownColor)knownColor; public override string ToString() { diff --git a/src/System.Drawing.Primitives/src/System/Drawing/KnownColor.cs b/src/System.Drawing.Primitives/src/System/Drawing/KnownColor.cs index 450f3bfbf7..dbd287dd06 100644 --- a/src/System.Drawing.Primitives/src/System/Drawing/KnownColor.cs +++ b/src/System.Drawing.Primitives/src/System/Drawing/KnownColor.cs @@ -7,7 +7,7 @@ using System.Diagnostics.CodeAnalysis; namespace System.Drawing { [SuppressMessage("Microsoft.Design", "CA1008:EnumsShouldHaveZeroValue")] - internal enum KnownColor + public enum KnownColor { // This enum is order dependant!!! // @@ -17,192 +17,883 @@ namespace System.Drawing // 0 - reserved for "not a known color" - + FirstColor = 0, // "System" colors - /* + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.ActiveBorder"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> ActiveBorder = 1, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.ActiveCaption"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> ActiveCaption, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.ActiveCaptionText"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> ActiveCaptionText, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.AppWorkspace"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> AppWorkspace, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Control"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Control, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.ControlDark"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> ControlDark, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.ControlDarkDark"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> ControlDarkDark, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.ControlLight"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> ControlLight, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.ControlLightLight"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> ControlLightLight, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.ControlText"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> ControlText, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Desktop"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Desktop, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.GrayText"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> GrayText, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Highlight"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Highlight, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.HighlightText"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> HighlightText, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.HotTrack"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> HotTrack, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.InactiveBorder"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> InactiveBorder, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.InactiveCaption"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> InactiveCaption, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.InactiveCaptionText"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> InactiveCaptionText, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Info"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Info, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.InfoText"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> InfoText, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Menu"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Menu, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.MenuText"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> MenuText, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.ScrollBar"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> ScrollBar, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Window"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Window, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.WindowFrame"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> WindowFrame, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.WindowText"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> WindowText, - */ // "Web" Colors - FirstColor = 0, - Transparent = FirstColor, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Transparent"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> + Transparent, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.AliceBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> AliceBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.AntiqueWhite"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> AntiqueWhite, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Aqua"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Aqua, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Aquamarine"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Aquamarine, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Azure"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Azure, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Beige"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Beige, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Bisque"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Bisque, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Black"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Black, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.BlanchedAlmond"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> BlanchedAlmond, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Blue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Blue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.BlueViolet"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> BlueViolet, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Brown"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Brown, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.BurlyWood"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> BurlyWood, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.CadetBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> CadetBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Chartreuse"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Chartreuse, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Chocolate"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Chocolate, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Coral"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Coral, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.CornflowerBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> CornflowerBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Cornsilk"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Cornsilk, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Crimson"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Crimson, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Cyan"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Cyan, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkCyan"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkCyan, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkGoldenrod"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkGoldenrod, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkGray"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkGray, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkGreen"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkGreen, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkKhaki"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkKhaki, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkMagenta"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkMagenta, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkOliveGreen"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkOliveGreen, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkOrange"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkOrange, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkOrchid"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkOrchid, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkRed"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkRed, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkSalmon"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkSalmon, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkSeaGreen"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkSeaGreen, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkSlateBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkSlateBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkSlateGray"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkSlateGray, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkTurquoise"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkTurquoise, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DarkViolet"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DarkViolet, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DeepPink"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DeepPink, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DeepSkyBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DeepSkyBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DimGray"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DimGray, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.DodgerBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> DodgerBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Firebrick"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Firebrick, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.FloralWhite"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> FloralWhite, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.ForestGreen"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> ForestGreen, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Fuchsia"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Fuchsia, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Gainsboro"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Gainsboro, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.GhostWhite"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> GhostWhite, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Gold"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Gold, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Goldenrod"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Goldenrod, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Gray"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Gray, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Green"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Green, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.GreenYellow"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> GreenYellow, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Honeydew"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Honeydew, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.HotPink"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> HotPink, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.IndianRed"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> IndianRed, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Indigo"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Indigo, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Ivory"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Ivory, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Khaki"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Khaki, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Lavender"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Lavender, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LavenderBlush"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LavenderBlush, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LawnGreen"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LawnGreen, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LemonChiffon"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LemonChiffon, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LightBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LightBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LightCoral"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LightCoral, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LightCyan"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LightCyan, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LightGoldenrodYellow"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LightGoldenrodYellow, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LightGray"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LightGray, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LightGreen"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LightGreen, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LightPink"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LightPink, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LightSalmon"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LightSalmon, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LightSeaGreen"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LightSeaGreen, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LightSkyBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LightSkyBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LightSlateGray"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LightSlateGray, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LightSteelBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LightSteelBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LightYellow"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LightYellow, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Lime"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Lime, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.LimeGreen"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> LimeGreen, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Linen"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Linen, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Magenta"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Magenta, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Maroon"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Maroon, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.MediumAquamarine"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> MediumAquamarine, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.MediumBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> MediumBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.MediumOrchid"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> MediumOrchid, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.MediumPurple"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> MediumPurple, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.MediumSeaGreen"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> MediumSeaGreen, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.MediumSlateBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> MediumSlateBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.MediumSpringGreen"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> MediumSpringGreen, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.MediumTurquoise"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> MediumTurquoise, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.MediumVioletRed"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> MediumVioletRed, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.MidnightBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> MidnightBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.MintCream"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> MintCream, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.MistyRose"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> MistyRose, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Moccasin"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Moccasin, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.NavajoWhite"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> NavajoWhite, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Navy"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Navy, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.OldLace"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> OldLace, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Olive"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Olive, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.OliveDrab"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> OliveDrab, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Orange"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Orange, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.OrangeRed"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> OrangeRed, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Orchid"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Orchid, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.PaleGoldenrod"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> PaleGoldenrod, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.PaleGreen"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> PaleGreen, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.PaleTurquoise"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> PaleTurquoise, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.PaleVioletRed"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> PaleVioletRed, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.PapayaWhip"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> PapayaWhip, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.PeachPuff"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> PeachPuff, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Peru"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Peru, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Pink"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Pink, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Plum"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Plum, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.PowderBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> PowderBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Purple"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Purple, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Red"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Red, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.RosyBrown"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> RosyBrown, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.RoyalBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> RoyalBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.SaddleBrown"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> SaddleBrown, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Salmon"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Salmon, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.SandyBrown"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> SandyBrown, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.SeaGreen"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> SeaGreen, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.SeaShell"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> SeaShell, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Sienna"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Sienna, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Silver"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Silver, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.SkyBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> SkyBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.SlateBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> SlateBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.SlateGray"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> SlateGray, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Snow"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Snow, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.SpringGreen"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> SpringGreen, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.SteelBlue"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> SteelBlue, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Tan"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Tan, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Teal"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Teal, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Thistle"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Thistle, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Tomato"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Tomato, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Turquoise"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Turquoise, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Violet"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Violet, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Wheat"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Wheat, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.White"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> White, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.WhiteSmoke"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> WhiteSmoke, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.Yellow"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> Yellow, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.YellowGreen"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> YellowGreen, - LastColor = YellowGreen // NEW ADDITIONS IN WHIDBEY - DO NOT MOVE THESE UP OR IT WILL BE A BREAKING CHANGE - /* + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.ButtonFace"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> ButtonFace, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.ButtonHighlight"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> ButtonHighlight, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.ButtonShadow"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> ButtonShadow, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.GradientActiveCaption"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> GradientActiveCaption, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.GradientInactiveCaption"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> GradientInactiveCaption, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.MenuBar"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> MenuBar, + /// <include file='doc\KnownColor.uex' path='docs/doc[@for="KnownColor.MenuHighlight"]/*' /> + /// <devdoc> + /// <para>[To be supplied.]</para> + /// </devdoc> MenuHighlight, - */ + LastColor = MenuHighlight, } }
\ No newline at end of file |