473,326 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

How to use the StringCollectionEditor

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.StringCollecti onEditor,
System.Design",
"System.Drawing.Design.UITypeEditor, System.Drawing")]
public MyStringCollection Items
{
get
{
return strCollection;
}
set
{
strCollection = value;
}
}

-joe
Jul 19 '05 #1
0 3700

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Rachel Suddeth | last post by:
When I put a ComboBox on a form, I can enter strings through the designer to fill Items collections. I have put a ComboBox in a UserControl, and exposed the the Items collections with the same...
5
by: Maarten | last post by:
hi all, I have a usercontrol with a checked listbox this usercontrol is placed on a form1 is there a way to get the checked items of the checkedlisbox in the usercontrol with a command from...
0
by: Steve Teeples | last post by:
I have a string collection within a class StringCollection scoll = new StringCollection(); public TestCaseProperties() { FunctionalitySupported(); scoll.Add("Apple"); scoll.Add("Banana"); }
1
by: Juan Francisco Figueroa Perez | last post by:
Hi all: I have a StringCollection property like this: public class FormExito : Form { ................ ................ private StringCollection FEditar;
3
by: Shimon Sim | last post by:
I have control. One of the properties is implemented as StringCollection. I didn't use any Editor attribute for it. During Design time system shows dialog similar to Items in DropDownList but Add...
0
by: Joe | last post by:
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...
0
by: john_teague | last post by:
I appologize for the cross-posting, but I received no responses from the building controls group. I have a custom control that inherits from a DataGrid control. I have a property that has an...
1
by: David Veeneman | last post by:
I'm backporting a component to .NET 1.x, and it required me to use a custom collection, StringList, instead of List<string>. StringList is derived from CollectionBase and is marked serializable. ...
1
by: 12jumper | last post by:
Hi All :) I've created an UserControl, which has a couple of properties that are collections (generic lists of some objects). It would be nice, if control refreshed each time I add a new item to...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.