Thenk you for your response. But the problem didn't resolved. Actually, I
can see the property in the "Properties" window, but non of the changed
value are kept in the designer.
This is the way I defined the property:
---------------------------
[Category("Graph")]
[Browsable(true)]
public List<GraphInfoGraphs
{
get { return this.graphs; }
}
#endregion
-----------------------------------------
GraphInfo is the class I added to the project.
Any other idea?
Thanks,
Mehrdad
"Ignacio Machin ( .NET/ C# MVP )" <ig************@gmail.comwrote in
message
news:3b**********************************@z16g2000 prn.googlegroups.com...
On May 30, 10:33 am, "Mehrdad" <gal...@irandoc.ac.irwrote:
Hi all,
I am creating a user control. I added a new class as the property of the
control. but the value of the class elements are not saved in the form
designer. What is my wrong? Any experience?
Any help would be appreciated.
Thanks,
Mehrdad
post some code?
IIRC you have to decorate the property with [Browsable(true)]