Am wondering how to preserve the color property value. Am drawing a rectangle and I can't preserve what user has selected. When, they start the NT7 the values goes blank as attached image. But, all the other property values stays there except color object.
Below is my property code snippet.
private Color _FirstBoxColor = Color.LightSeaGreen;
public Color FirstBoxColor {
get { return _FirstBoxColor; }
set { _FirstBoxColor = value; }
}
privateint _FirstBoxOpacity = 2;
publicint FirstBoxOpacity {
get { return _FirstBoxOpacity; }
set { _FirstBoxOpacity = value; }
}
Regards
Yam
Comment