J
Joe
I've created a property that uses StringCollectionEditor. However in
the Visual Studio after I've entered the strings they are not saved to
the code. I implemented my own string collection inheriting from
CollectionBase. Any help would be greatly appreciated.
[Editor("System.Windows.Forms.Design.StringCollectionEditor,
System.Design",
"System.Drawing.Design.UITypeEditor, System.Drawing")]
public MyStringCollection Items
{
get
{
return strCollection;
}
set
{
strCollection = value;
}
}
-joe
the Visual Studio after I've entered the strings they are not saved to
the code. I implemented my own string collection inheriting from
CollectionBase. Any help would be greatly appreciated.
[Editor("System.Windows.Forms.Design.StringCollectionEditor,
System.Design",
"System.Drawing.Design.UITypeEditor, System.Drawing")]
public MyStringCollection Items
{
get
{
return strCollection;
}
set
{
strCollection = value;
}
}
-joe