TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Robert Oates
NA
1
0
DictionaryBase / DictionaryEntry display in PropertyGrid control? Better way to display/edit a dictionary?
Dec 17 2006 5:51 PM
Greetings,
My custom class contains several dictionaries, and when I display the class in a property grid and expand the dictionary I have the key string appearing on the left and the value appearing on the right -the value is editable. (I would like to be able to edit the key from this display as well but I believe that is not part of the property grid control).
The problem comes when attempting to add new entries to the dictionary. The collection editor opens, but the add/remove buttons are disabled and it seems the type it is expecting me to add is either a string or a DictionaryEntry, when I need to be able to add or edit both the key
and
the value.
This is my first forray into reflection-based programming so the solution is beyond me. Specifying a custom property editor, maybe?
Any help in the matter would be very much appreciated! Thanks in advance,
Robert
Reply
Answers (
0
)
how to change combobox view..
listview imagelist problem