Property Grid

G

Gavriloaie Andrei

Hi,

Is there any method to add some new buttons ont the property grid
toolbar?

I've try to add a button using the following code but doesn't work. I
get an exception.

((ToolBar)this.propertyGrid1.Controls[0]).Buttons.Add(new
ToolBarButton("sample"));

The first element in the `Controls` collection is the toolbar.

The button is there, but when I press it, I get a error message
 

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