I search a way to save the color of a brush as a string. For example I have a Brush which has the color red. Now I want to write \"red\" in a textbox.
Thanks for any
What type of brush is this? If its drawing namespace, then brush is an abstract class.! For SolidBrush, do:
brush.Color.ToString()
Otherwise, get the color property and use ToString() method to convert color to its string representation.