elmowatson
Member
- Joined
- Jun 5, 2007
- Messages
- 17
- Programming Experience
- 1-3
I am learning about the PropertyGrid control and I've got the basics - loading the properties of a control into the PropertyGrid, but I came across something I need help with
I see that there are certain properties which need 'selecting', but nothing is built in for that. So this is opening lots of questions in my mind.
Let's say I have a path or image that needs to be assigned to the property - in the PropertyGrid control, there is only a blank area. In VS.Net, there would be a button with 3 dots, to click on, to open an openfiledialog and find the image or file to put there.
Or sometimes, there'll be a property, but with that particular control, there are only a certain number of predefined items which would be listed in a dropdown list, inside the PropertyGrid.
How can I do things like this? Can someone point me to a VB.Net tutorial or code sample which shows these kinds of things (I don't even know what to call them, in order to do a search)?
I see that there are certain properties which need 'selecting', but nothing is built in for that. So this is opening lots of questions in my mind.
Let's say I have a path or image that needs to be assigned to the property - in the PropertyGrid control, there is only a blank area. In VS.Net, there would be a button with 3 dots, to click on, to open an openfiledialog and find the image or file to put there.
Or sometimes, there'll be a property, but with that particular control, there are only a certain number of predefined items which would be listed in a dropdown list, inside the PropertyGrid.
How can I do things like this? Can someone point me to a VB.Net tutorial or code sample which shows these kinds of things (I don't even know what to call them, in order to do a search)?