Windows Develop Bookmark and Share   
 index > Windows Forms Designer > PropertyGrid
 

PropertyGrid

I'm using a property grid to show runtime properties of an object in my program. I'm looking for a programatic method like a collection of tabs and collection of each property under tabs for iteration. For example i want

For each prpItem in prpGrid.PropertyItems

select case prpItem

case "Path"

'Show ellipse in that property so use can click to see filedialog and change path.

case "Font"

case "Point"

...

end select

Next

Is this possible? Please do not tell we can only write a class and fixed properties can be handled. For instance if the object can have runtime variable number of properties and variable types of properties how to code in a class?

Help or advice appreciated.

Thanks

RRV  Wednesday, March 15, 2006 5:01 PM
Tabas  Wednesday, March 15, 2006 5:21 PM
Tabas  Wednesday, March 15, 2006 5:21 PM

You can use google to search for other answers

Custom Search

More Threads

• 120dpi and vs.net form designer
• Form Controls toolbar
• Integrated Windows Authentication in IE hosted Windows Forms Control
• Something like stylesheet?
• Inheritance and default Text values
• adding to a form
• datagridviewcheckboxcolumn question?
• Problem when creating custom control
• Failure to load designer due to VS2005B2 fault
• Form reloading problem