Re: Color data type
Peter Ritchie <[email protected]>
| Newsgroups | gmane.comp.windows.devel.dotnet.winforms |
|---|---|
| Message-ID | <LISTSERV%[email protected]> |
Color.Empty is intended for such things.
Color colour = Color.Empty;
// TODO: assign another colour
if(colour == Color.Empty)
{
Trace.WriteLine("No colour assigned");
}
Color.Empty is actually the same as Color.Black with a 0 Alpha.