C# public partial struct methods for more System.Windows.Media.Color
- by dr d b karron
How can I put in additional methods for manipulating color ?
Best would be to overload the struct System.Windows.Media.Color.
It is NOT a class (in c#).
Now i'm tinkering with putting (in the same file for testing or must i put it in a
different file) an namespace (Silverlight Application36 or System.Windows.Media ?)
and a partial struct Color Normalize (double R, ...).
I should see MyColor.Normalize() start being recognized by intellisense ?
I'm not. I'm looking to put in a suite of overloaded color manipulations using
floating and double numbers instead of unsigned byte integers.
Any hints while I wack at it ?
Cheers!
dr.K