When I change the values of a System.Web.UI.WebControls.Style member variable using the Design view, and afterwards compile the project, those values are lost. No code was run at all, just compiled. Does anybody know how that is possible and how to solve it?<BR><BR>The member variables are declared like this:<BR> private System.Web.UI.WebControls.Style headerStyle = new System.Web.UI.WebControls.Style();<BR><BR>And a selector is made like this:<BR> [Category("Appearance")]<BR> public System.Web.UI.WebControls.Style HeaderStyle<BR> {<BR> get<BR> {<BR> return headerStyle;<BR> }<BR> set<BR> {<BR> headerStyle = value;<BR> }<BR> }<BR><BR>I already tried taking away the "new" statement in the declaration and then returning "new Style()" when the headerStyle is null, this crashed VS.NET when changing values.<BR><BR>Anybody has an answer to this?<BR><BR>All input appreciated.