This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Greetings, I am a new user to the property grid so I apologize in advance if this is a newbie or read the freaking manual question. I am on a time crunch and am trying to quickly get an answer to this one. Question: Does the property grid provide Collection editing features similar to editing you would see in Visual Studio for a ListBox? For example, you click on a ListBox control and click on the "..." for Items and you get a dialog. The dialog provides a list of items in the items collection. The list allows you to add items, delete items, and re-order items. When an item is selected it shows a property grid to the right for that selected item. Does the property grid provide this functionality? Is there a sample or location in the documentation that shows how to do this? Thanks, Roy Wyle Telemetry and Data Systems |
|
|
By default, the property grid shows collections as expandable "sub-properties." It allows you to edit, add or delete items, but not re-order them. For an example, fire up the GridStyles sample and take a look at how the Accessories collection is presented. If you're specifically after dialog-based editing or need re-ordering, those aren't included out of the box, but you should be able to create a custom editor to provide them. We'd be happy to provide guidance on this if required. |
|