Re: Color data type

Alex Ivanoff <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <LISTSERV%[email protected]>
>Color.Empty is actually the same as Color.Black with a 0 Alpha.

You are wrong:

Color c1 = Color.FromArgb(0, Color.Black);
Debug.Assert(c1 == Color.Empty);

Valid color and Color.Empty have different (internal) state.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.