By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,263 Members | 2,640 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,263 IT Pros & Developers. It's quick & easy.

PropertyGrid and Object Design

P: n/a
Hello All,

I am trying to develop an application to edit various 'entities' in a
database. Entities include User, Group, Department, Test, System,
approximately 20 - 30 class. Several classes will be composed of
others, for example User will contain department.

I am trying to design on the objects for use with other applications
as well, and not solely for using with a propertygrid. How can I
design objects that implement ICustomTypeDescriptor, TypeConverter and
UITypeEditor, and whatever other means needed to display the required
objects, as desired in the propertygrid editor, without bloating the
code. I don't want to create objects that are too cumbersome to use
when not involving a propertygrid.

I guess basically my question is: Any words of wisdom, tips, advice or
comments when designing objects for use with the propertygrid, but to
also be used in any other situation?
Do I create the basic type User, and then inherit to create
UserProperty?

I hope I have been clear,

John G
Nov 15 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.