Using the PropertyGrid Component

C

Curious

Hi,

I am trying to use the PropertyGrid component. I am showing properties
of an object. Such properties that I added include simple data types:
int string.

Now I would like one of the propeties in the PropertyGrid component to
be a DialogBox like the Font dialogBox. (In my case I will be creating
and using my own dialog box).

How can this be done.
Thanks in Advance
 
N

Nick Hounsome

Look at EditorAttribute and UITypeEditor.

I recommend "Windows Forms Programming in C#" by Chris Sells for his
excellent coverage of design time integration which includes bending the
PropertyGrid to your will.

The 2.0 property grid has a few more convenience fetures but I think the
editor stuff is still the same
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top